On 14/04/15 18:53, Daniel Tryba wrote: > On Tuesday 14 April 2015 13:37:42 Ben Langfeld wrote: >> Note that you could equally use add_path(). > add_path(); > msg_apply_changes(); > > Results in: > > SIP/2.0 400 Bad Request. > ... > P-Registrar-Error: Path parse error. > Server: kamailio (4.2.4 (x86_64/linux)). > > Without msg_apply_changes it has no effect on the registered values in usrloc > (path is null). > Are you saying the result after msg_apply_changes() is a broken message? You can see what is there by printing $rb or $mb -- don't recall by heart which one is the entire buffer or the body.
Cheers, Daniel -- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Kamailio World Conference, May 27-29, 2015 Berlin, Germany - http://www.kamailioworld.com _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users