Hi,

we are using the Replaces header in a REFER like:
http://www.tech-invite.com/Ti-sip-service-5.html#fig15

In this picture you can see, that the Replaces is upper-case. For
creating this URL we are using the function like that:

sip_replaces_t *replaces =
nua_handle_make_replaces(consultation_tech_pvt->nh,
consultation_tech_pvt->profile->home, 0);

char *query = sip_headers_as_url_query(tech_pvt->profile->home,
SIPTAG_REPLACES(replaces), TAG_END());

The problem is now, that the function "sip_headers_as_url_query" will
change the Replaces to replaces (in the sofia-sip function
append_escaped: line 380 in sip_tag_class.c). Therefore one of our PBX
was not able to parse this header. Is there any reason to change the URL
into lower-case? Do you have a "trick" to fix that, without breaking
anything else?

Best regards,
Bernhard
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to