<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello,<br>
<br>
For the To and From headers, use the
uac_replace_from/uac_replace_to.<br>
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.<br>
<br>
Regards,<br>
<pre class="moz-signature" cols="72">Vlad Paiu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a> </pre>
<br>
On 04/14/2012 03:27 PM, Remco . wrote:
<blockquote
cite="mid:CAJy1ugy=4aGCRL31wbhZFhbF+XLP6y1rt47U2+Z=TNxNT6=iQQ@mail.gmail.com"
type="cite">Hi,<br>
<br>
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.<br>
<br>
I tried the following:<br>
<br>
add_uri_param("user=phone");<br>
<br>
However it's not being added.<br>
For the to and from headers, I think uac_replace_from /
uac_replace_to will do the trick.<br>
<br>
Any idea how to achieve this? Thanks!<br>
<br>
<br>
<br>
<br>
<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
</body>
</html>