If the URI is not enclosed in between angle brackets, then the parameters after first ; are header parameters, not uri parameters. So in such case the uri ends at first ; .
Cheers, Daniel
On 02.03.20 14:34, Duarte Rocha wrote:
Hello,
It's not enclosed in angled brackets. I can test it with angle brackets if you want :)
A segunda, 2/03/2020, 13:32, Daniel-Constantin Mierla <miconda@gmail.com mailto:miconda@gmail.com> escreveu:
Hello, is the uri enclosed in angle brackets? Or is just plain value that you pasted below? Cheers, Daniel On 02.03.20 14:24, Duarte Rocha wrote:
Greetings, I have a cenario with the following header To = "sip:111234567890;npdi@111.222.333.444" If i print $tu I got "sip:111234567890". If i print $hdr(To) I get "sip:111234567890;npdi@111.222.333.444". If i don't include the "npdi" or any other user parameters, it works fine Is this the intended behaviour? Am i doing something wrong here? Best Regards, _______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org <mailto:sr-users@lists.kamailio.org> 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> Kamailio Advanced Training - March 9-11, 2020, Berlin - www.asipto.com <http://www.asipto.com> Kamailio World Conference - April 27-29, 2020, in Berlin -- www.kamailioworld.com <http://www.kamailioworld.com>