[OpenSIPS-Users] user=phone combined with Drouting

Remco . remconl87 at gmail.com
Sat Apr 14 14:27:46 CEST 2012


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!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120414/fab4c36a/attachment.htm>


More information about the Users mailing list