[SR-Users] topos and PRACK problem

Daniel-Constantin Mierla miconda at gmail.com
Thu Apr 27 11:37:37 CEST 2017


Hello,

thanks for troubleshooting further. I haven't got the time to look at
the source code, but I expect that the b-leg attributes (contact, record
routes) to be set on 200ok for dialog (topos_d). I think for PRACK, the
routing information should be stored and taken from transaction (topos_t).

Cheers,
Daniel

On 27.04.17 11:29, Sergey Basov wrote:
> Hi, Daniel.
>
> I just done one more test topos with re-invite which comes from caller
> to callee, same direction as PRACK.
>
> And I found that, in case of prack, b_contact field is empty...
>
> Please find attached debug=3 part of re-invite message.
>
> Hope it helps.
> --
> Best regards,
> Sergey Basov                     e-mail: sergey.v.basov at gmail.com
>
>
> 2017-04-27 10:30 GMT+03:00 Sergey Basov <sergey.v.basov at gmail.com>:
>> Hi, Daniel
>>
>> Please look at attached part of debug=3 while receiving and parsing PRACK.
>> At line 208 seems rr module does not find correct part of record_route
>> which in DB consists from 2 parts.
>>
>> So at line 219 and later uac module cannot restore uris.
>>
>> Thank you.
>> --
>> Best regards,
>> Sergey Basov                     e-mail: sergey.v.basov at gmail.com
>>
>>
>> 2017-04-26 17:08 GMT+03:00 Sergey Basov <sergey.v.basov at gmail.com>:
>>> Thanks for workaround.
>>>
>>> But I will wait for you solution )
>>>
>>> I ready for testing )
>>>
>>> Thank you Daniel for your work!
>>>
>>> --
>>> Best regards,
>>> Sergey Basov                     e-mail: sergey.v.basov at gmail.com
>>>
>>>
>>> 2017-04-26 16:57 GMT+03:00 Daniel-Constantin Mierla <miconda at gmail.com>:
>>>> Hello,
>>>>
>>>>
>>>> On 26.04.17 14:53, Sergey Basov wrote:
>>>>> Hi All.
>>>>>
>>>>> I have just try to test topos with GW which requires PRACK.
>>>>>
>>>>> As you can see UA at packet 21 send PRACK to topos contact, but after
>>>>> topos, on other kamailio side in PRACK request line present not
>>>>> kontact but record-route header.
>>>>>
>>>>> Can you fix it?
>>>>>
>>>>>
>>>> probably needs to look into the code. If you need a quick workaround,
>>>> try to remove Supported header from INVITE so the callee should no
>>>> longer Require 100rel.
>>>>
>>>> Cheers,
>>>> Daniel
>>>>
>>>> --
>>>> Daniel-Constantin Mierla
>>>> www.twitter.com/miconda -- www.linkedin.com/in/miconda
>>>> Kamailio Advanced Training - May 22-24 (USA) - www.asipto.com
>>>> Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com
>>>>
>>>>
>>>> _______________________________________________
>>>> Kamailio (SER) - Users Mailing List
>>>> sr-users at lists.kamailio.org
>>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - May 22-24 (USA) - www.asipto.com
Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com




More information about the sr-users mailing list