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 > <[email protected] <mailto:[email protected]>> 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 >> [email protected] <mailto:[email protected]> >> 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
_______________________________________________ Kamailio (SER) - Users Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
