Re: [SR-Users] Problem with MSRP AUTH

2014-06-11 Thread Muhammad Shahzad
After upgrade to latest revision of 4.1 branch, now i get this error log, -- ERROR: auth [auth_mod.c:690]: pv_www_authenticate2(): failed to get method value from msg 0xa5813680 var 0xb67c13a0 -- Complete debug level 3 logs are sent to your email. Thank you. On Wed, Jun 11, 2014 at 7:12 PM,

Re: [SR-Users] SOLVED (PATCH): Re: Kamailio accepts and stores XCAP XML document from jitsi but rejects it on retrieval

2014-06-11 Thread Alex Villací­s Lasso
El 11/06/14 08:47, Daniel-Constantin Mierla escribió: Hello, can you put the patch on the tracker to review it -- in this way should not be forgotten. - http://sip-router.org/tracker/ I looked a bit, but has some new functions and touches quite a lot the existing parts, so I need more time t

[SR-Users] Problems to start kamailio

2014-06-11 Thread Carlos Rangel
Hello I am having problems to start kamailio 4.1.3 on a fresh centos 6.5 install with Asterisk 11.9 following the tutorial. Everything has gone well except that I cannot start kamailio. Basically I have two problems. The message that I got from the console when I try to start is [root@

Re: [SR-Users] Transport protocol related question - how to bind a dialog to a negotiated transport protocol

2014-06-11 Thread Daniel-Constantin Mierla
Hello, the request within dialogs are sent to the address in the Contact header of the request/response creating the dialog. In you trace, the SUBSCRIBE has a Contact with no transport, the default one being UDP. Of course, a higher priority than Contact in sending would be Record-Route, but

Re: [SR-Users] Crash Kamailio 4.1.3

2014-06-11 Thread Daniel-Constantin Mierla
Few more things... Are you recording 1xx events? Can you check to see if there is another record in acc table for the same call? You can search by call-id 3781-4b1-572014182635-OGNAJ-1-A.B.C.D Eventually, send also the parameters you set for acc module. Cheers, Daniel On 11/06/14 19:25, Dan

Re: [SR-Users] Kamailio and Asterisk

2014-06-11 Thread Carlos Rangel
Found the problem per a previous post. I had uncommented in kamctlrc by mistake. #STANDARD_MODULES="standard acc lcr domain group permissions registrar usrloc msilo # alias_db uri_db speeddial avpops auth_db pdt dialog dispatcher # dialplan" Thanks CR

[SR-Users] Transport protocol related question - how to bind a dialog to a negotiated transport protocol

2014-06-11 Thread Klaus Feichtinger
Hello, I wonder if it is allowed using transport protocol UDP for SIP NOTIFY requests (which are generated by Kamailio/presence module), when the SUBSCRIBE dialog was established using TCP as transport protocol. In other words: this is a principal question if it is allowed changing the transpo

[SR-Users] Kamailio and Asterisk

2014-06-11 Thread Carlos Rangel
Hello Trying to do my first Kamailio and Asterisk integration following the tutorial http://kb.asipto.com/asterisk:realtime:kamailio-4.0.x-asterisk-11.3.0-astdb I am using Centos though. Everything goes well except when trying to create the kamailio DB. The core tables cannot be created

Re: [SR-Users] kamailio and app_python

2014-06-11 Thread Örn Arnarson
I'm guessing that accessing pseudo-variables is still not possible in python? I haven't seen anything indicating so in any event. Could you confirm? Will probably switch to lua as well. On Wed, Oct 3, 2012 at 4:38 PM, Konstantin M. wrote: > Hello, > I can contribute a python part, but currently I

Re: [SR-Users] Crash Kamailio 4.1.3

2014-06-11 Thread Daniel-Constantin Mierla
Hello, so you don't print $ai in xlog() statements nor use it in any assignments or other functions besides acc parameter? Cheers, Daniel On 11/06/14 19:19, Igor Potjevlesch wrote: Hello, We do not access to the P-asserted-identity in our configuration but we added the field PAI in the db

Re: [SR-Users] Crash Kamailio 4.1.3

2014-06-11 Thread Igor Potjevlesch
Hello, We do not access to the P-asserted-identity in our configuration but we added the field PAI in the db base ACC ( for INVITE, ACK and BYE) . I dont know if it's in request_route, failure_route or branch_route . This is the print : (gdb) p mem_block $3 = (struct qm_block *) 0x7f6a6bef1010 (

Re: [SR-Users] Problem with MSRP AUTH

2014-06-11 Thread Muhammad Shahzad
OK, let me upgrade my deployment. Thank you. On Wed, Jun 11, 2014 at 7:12 PM, Daniel-Constantin Mierla wrote: > I added an enhancement to print the pointers involved in retrieving the > method. Can you test with latest master or 4.1 branches from git? > > Cheers, > Daniel > > > On 11/06/14 18

Re: [SR-Users] Problem with MSRP AUTH

2014-06-11 Thread Daniel-Constantin Mierla
I added an enhancement to print the pointers involved in retrieving the method. Can you test with latest master or 4.1 branches from git? Cheers, Daniel On 11/06/14 18:35, Muhammad Shahzad wrote: Sent logs to private email of yours. Now there don't seem to be any parsing error however, method

Re: [SR-Users] Problem with MSRP AUTH

2014-06-11 Thread Muhammad Shahzad
Sent logs to private email of yours. Now there don't seem to be any parsing error however, method pv_www_authenticate2 still fails with same error, ERROR: auth [auth_mod.c:690]: pv_www_authenticate2(): failed to get method value Thank you. On Wed, Jun 11, 2014 at 5:55 PM, Daniel-Constantin Mi

Re: [SR-Users] Problem with MSRP AUTH

2014-06-11 Thread Muhammad Shahzad
OK, let me get you debug level 3 messages. Thank you. On Wed, Jun 11, 2014 at 5:55 PM, Daniel-Constantin Mierla wrote: > Are those all the log messages? Previously there were parsing errors in > the logs you sent to me. > > Get them with debug=3 in kamailio.cfg. > > Cheers, Daniel > > > On 11

Re: [SR-Users] Crash Kamailio 4.1.3

2014-06-11 Thread Daniel-Constantin Mierla
Hello, cloning to shm for tm seems ok. Can you tell where you access P-Asserted-Identity header, via variables? Does it happen in request_route, failure_route or branch_route? Can you print from gdb, any frame: p mem_block p shm_block I want to see if parsed filed point to shm or pkg memory

Re: [SR-Users] many-to-one network topology hide with TOPOH

2014-06-11 Thread Klaus Darilion
Seems like you should an B2BUA/SBC (take a look at sems) Am 05.06.2014 20:53, schrieb Maciej Marczyn'ski: Hi Everyone, recently I'm playing around with the topoh module but I couldn't find the functionality I'm looking for. I'd like to hide my network topology before the end-user but not only

Re: [SR-Users] check for the number of open branches in Reply

2014-06-11 Thread Klaus Darilion
It may work catching 200 OK in reply_route, but catching >=300 in failure route. The failure route is executed only once for all branches (it chooses the most important response code) regards Klaus Am 04.06.2014 11:49, schrieb Sebastian Damm: Hi, I have a scenario where I want to send a cust

Re: [SR-Users] Problem with MSRP AUTH

2014-06-11 Thread Daniel-Constantin Mierla
Are those all the log messages? Previously there were parsing errors in the logs you sent to me. Get them with debug=3 in kamailio.cfg. Cheers, Daniel On 11/06/14 17:51, Muhammad Shahzad wrote: Many thanks for your time and help. I just tried with msrp:// scheme, still get same result, --

Re: [SR-Users] Problem with MSRP AUTH

2014-06-11 Thread Muhammad Shahzad
Many thanks for your time and help. I just tried with msrp:// scheme, still get same result, -- MSRP nv755d8c AUTH To-Path: msrp://ms11.xyz.com From-Path: msrp://xe4a9fqm.invalid:2855/bcuf2gk7co;ws ---nv755d8c$ MSRP nv755d8c 401 Unauthorized To-Path: msrp://xe4a9fqm.invalid:2855/bcuf2gk

Re: [SR-Users] Crash Kamailio 4.1.3

2014-06-11 Thread Daniel-Constantin Mierla
Hello, at least I narrowed it down a bit. It is empty also in the clone stored in transaction, so it happens either during cloning or before. I will have to check these parts. Cheers, Daniel On 11/06/14 17:00, Igor Potjevlesch wrote: Hello, This is the result, always for frame 5 : (gdb) p

Re: [SR-Users] Problem with MSRP AUTH

2014-06-11 Thread Daniel-Constantin Mierla
The MSRP request is brocken, the value of To-Path header is missing msrp:// scheme, it is like: To-Path: ms11.xyz.com Should be like: To-Path: msrp://ms11.xyz.com See also the From-Path for comparison. Cheers, Daniel On 11/06/14 17:16, Daniel-Constantin Mierla wrote: Caught by other stuff,

Re: [SR-Users] Problem with MSRP AUTH

2014-06-11 Thread Daniel-Constantin Mierla
Caught by other stuff, I didn't have time to analyze it. On my way right now... Cheers, Daniel On 10/06/14 16:22, Muhammad Shahzad wrote: Any update? Do you need any additional info? Thank you. On Fri, Jun 6, 2014 at 11:29 PM, Muhammad Shahzad mailto:shaherya...@gmail.com>> wrote:

Re: [SR-Users] Crash Kamailio 4.1.3

2014-06-11 Thread Igor Potjevlesch
Hello, This is the result, always for frame 5 : (gdb) p *t->uas.request->pai $1 = {type = HDR_PAI_T, name = { s = 0x7f6a60cd34b8 "P-Asserted-Identity: \"0987654321\"\r\nContact: \r\nAllow: INVITE, BYE, REGISTER, ACK, OPTIONS, CANCEL, SUBSCRIBE, NOTIFY, INFO, REFER, UPD"..., len = 19}, body =

Re: [SR-Users] MSILO add on deliver event route still no joy

2014-06-11 Thread Roberto Fichera
On 06/10/2014 12:40 PM, Roberto Fichera wrote: Hi, > On 06/10/2014 12:22 PM, Daniel-Constantin Mierla wrote: > > Hi, > >> >> On 10/06/14 10:37, Roberto Fichera wrote: >>> [..] the parse from error don't seem to be from parse_msg(). Can you print the uac buffer and send it over here

Re: [SR-Users] Crash Kamailio 4.1.3

2014-06-11 Thread Daniel-Constantin Mierla
Hello, in the same frame 5, can yo get: p *t->uas.request->pai p *((p_id_body_t*)(t->uas.request->pai->parsed)) Cheers, Daniel On 10/06/14 18:35, Igor Potjevlesch wrote: Hello, Here is the results : _ _ (gdb) frame 5 #5 0x7f6a687e9b43 in acc_onreply (t=0x7f6a60d16ff8, req=0x7f6a60cd2c1

Re: [SR-Users] SOLVED (PATCH): Re: Kamailio accepts and stores XCAP XML document from jitsi but rejects it on retrieval

2014-06-11 Thread Daniel-Constantin Mierla
Hello, can you put the patch on the tracker to review it -- in this way should not be forgotten. - http://sip-router.org/tracker/ I looked a bit, but has some new functions and touches quite a lot the existing parts, so I need more time to check it. Thanks, Daniel On 10/06/14 17:28, Alex

Re: [SR-Users] Routing logic and record-routing

2014-06-11 Thread Daniel-Constantin Mierla
Hello, try to do record_route() for all SUBSCRIBE, PUBLISH and NOTIFY requests, it might work for your UA. Cheers, Daniel On 11/06/14 12:48, DURECU, OLIVIER (OLIVIER) wrote: Hello all, There is something I can’t understand using Kamailio as proxy to route SUBSCRIBE/NOTIFY dialogs between a

[SR-Users] Routing logic and record-routing

2014-06-11 Thread DURECU, OLIVIER (OLIVIER)
Hello all, There is something I can't understand using Kamailio as proxy to route SUBSCRIBE/NOTIFY dialogs between a client and a server I do record_route() on the first SUBSCRIBE received by Kamailio The next SUBSCRIBE is well handled by Kamailio in the [WITHIN_DIALOG] bloc but the 200/OK no m

Re: [SR-Users] kamailio + rtpengine: damaged media (Red Hat Linux)

2014-06-11 Thread Alexey Rybalko
2014-06-10 20:09 GMT+04:00 Richard Fuchs : > On 06/10/14 05:41, Alexey Rybalko wrote: > > > As the problem occurs on encrypted RTP (DTLS-SRTP) only, I > > suppose that 'glitched' media is wrong encrypted or unencrypted payload > > for some unknown reason. > > Turns out it was a silly typo that

Re: [SR-Users] Location issue

2014-06-11 Thread Daniel-Constantin Mierla
Hello, thanks for giving feedback, we are considering removing the other options (with a first stage of making "db_ops_ruid" used by default), as it proves the way that works properly no matter of changes in call-id. Cheers, Daniel On 11/06/14 05:45, Igor Potjevlesch wrote: Hello Daniel,

[SR-Users] Unable to make calls within the extensions

2014-06-11 Thread Chandramouli P
Hi, I am new to Kamailio. I started RTPProxy using "rtpproxy -A 54.85.12.15 -F -l 10.0.0.122 -s udp:localhost:7722" command and see that my sip phones are registered with Kamailio. I am able to see using "kamctl ul show" command. But, I am unable to establish call between my registered extension t