Hello,

My SIP vendor request me to replace the from in order to authenticate calls.

I use:

uac_replace_from("111111111", "sip:111111...@vendor-domain.com");

And when finishing calls I have this error:

ERROR: uac [replace.c:607]: restore_uri(): new URI [] shorter than old URI
[sip:34912345678@vendor-public-ip]

Information
------------------------------------------------------------------
34912345678 -> original CLI
111111111 -> my vendor contract
vendor-domain.com -> domain of the vendor
------------------------------------------------------------------

I use the function uac_replace_from in the request_route

My Kamailio version is: 4.2.8-1.1

Thank you

Nelson.-
_______________________________________________
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

Reply via email to