Hello,

For the To and From headers, use the uac_replace_from/uac_replace_to.
For the R-URI, add_uri_param() should work. Put some xlogs in your script before add_uri_param() to make sure the function is actually being called.

Regards,

Vlad Paiu
OpenSIPS Developer
http://www.opensips-solutions.com


On 04/14/2012 03:27 PM, Remco . wrote:
Hi,

An upstream carrier wants user=phone in the request uri, from header and to header (and, if used in P-asserted-ID as well). To route traffic to the carriers, drouting is being used. I'm using a routeid in dr_rules to loop trough the custom route before the invite is sent out to the carrier.

I tried the following:

       add_uri_param("user=phone");

However it's not being added.
For the to and from headers, I think uac_replace_from / uac_replace_to will do the trick.

Any idea how to achieve this? Thanks!






_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to