[sr-dev] help with parse_sip_msg_uri function
Andrei Pelinescu-Onciul
andrei at iptel.org
Thu Apr 1 17:16:26 CEST 2010
On Apr 01, 2010 at 17:32, Juha Heinanen <jh at tutpro.com> wrote:
> i think i found the reason. when uri parameters include user=phone
> param, params are stored in msg->parsed_uri.sip_params instead of
> msg->parsed_uri.params.
Yes, if uri->type = TEL_URI_T then the sip uri params are in
msg->parsed_uri.sip_params.
uris with user=phone are autoconverted to tel uris (if you don't want
this, set phone2tel=0 in the .cfg) and in this case uri->params will
contain the embedded tel uri params (e.g. 123;foo=bar at test.com;user=phone
=> uri->params="foo=bar").
Andrei
More information about the sr-dev
mailing list