[SR-Users] Record Route

Daniel-Constantin Mierla miconda at gmail.com
Thu Oct 1 09:28:15 CEST 2020


What system is sending the 400 response? You should look at the network
sip traffic with ngrep/sngrep and see if the headers are ok, or paste
here the ngrep output for such case.

Cheers,
Daniel

On 30.09.20 15:41, Andy Kama wrote:
> Thanks i got it working
>
> just getting 400 bad request now :( 
>
> On Wed, Sep 30, 2020 at 12:53 PM Daniel-Constantin Mierla
> <miconda at gmail.com <mailto:miconda at gmail.com>> wrote:
>
>     Hello,
>
>     double check if the function is actually executed, in case it
>     depends on if conditions. You can set debug=3 in kamailio.cfg or
>     load debugger module and enable cfgtrace feature via modparam.
>
>     Cheers,
>     Daniel
>
>     On 30.09.20 11:35, Andy Kama wrote:
>>     Hi Guys
>>
>>     I am trying to add a custom record route so i have added
>>
>>     record_route_preset("mydomain:5061;transport=tls", "myip:5060");
>>
>>     yet kamailio is still not adding it in the sip message
>>
>>     what am i doing wrong?
>>
>>
>>     _______________________________________________
>>     Kamailio (SER) - Users Mailing List
>>     sr-users at lists.kamailio.org <mailto:sr-users at lists.kamailio.org>
>>     https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users <https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users>
>
>     -- 
>     Daniel-Constantin Mierla -- www.asipto.com <http://www.asipto.com>
>     www.twitter.com/miconda <http://www.twitter.com/miconda> -- www.linkedin.com/in/miconda <http://www.linkedin.com/in/miconda>
>     Funding: https://www.paypal.me/dcmierla <https://www.paypal.me/dcmierla>
>
-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Funding: https://www.paypal.me/dcmierla

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20201001/9e41aab8/attachment.htm>


More information about the sr-users mailing list