<div>Yes, what is really odd is that they are requiring the "+" to be in the Request-URI, From:, To: and the P-Asserted-Identity.</div>
<div> </div>
<div>So far I have added the following to my INVITE handler route.</div>
<div> </div>
<div> prefix("+"); # add "+" to Request URI<br> subst('/To:(.*)sip:(.*)@(.*)/To:\1sip:+\2@\3/ig'); # add "+" to To: URI</div>
<div> </div>
<div>I have already found one UA that will require some reply fixing, while others don't seem have a problem.</div>
<div> </div>
<div>- Daryl</div>
<div><br><br> </div>
<div><span class="gmail_quote">On 3/22/07, <b class="gmail_sendername">Jerome Martin</b> <<a href="mailto:jmartin@longphone.fr">jmartin@longphone.fr</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div><span class="q">On Thu, 2007-03-22 at 11:39 +0100, Klaus Darilion wrote: </span>
<blockquote type="CITE"><span class="q"><pre><font color="#000000">Daryl Sanders wrote:</font>
<font color="#000000">> I'd love to use uac_replace_to(), but to my knowledge it does not</font>
<font color="#000000">> exist. I read through the UAC module docs and there is no mention of</font>
<font color="#000000">> it.</font>
<font color="#000000">> </font>
<font color="#000000">> Any other posibilities?</font>
<font color="#000000">> </font>
<font color="#000000">> If I were to use subst(), can it be applied it in such a way that it</font>
<font color="#000000">> does not cause problems with the dialog?</font>
<font color="#000000">You have to catch everys reply and remove the + sign.</font>
<font color="#000000">Further you have to check all in-dialog requests received from the PSTN </font>
<font color="#000000">provider and remove the + sign to, and catch every reply from the user's </font>
<font color="#000000">client to add the + sign again.</font>
</pre></span></blockquote><br>Mmmh. In order to prevent this (which is unavoidable if you change the To: header), you might try to use P-Asserted-Identity header instead. This works with most modern SIP gateways implementing RFC3325.
<br>
<table cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td><br><b><font size="2"><font color="#808080">Jérôme Martin </font></font></b><b><font size="2"><font color="#bebebe">| </font></font></b><b><font size="2"><font color="#99cc00">LongPhone</font></font></b><br><b><font size="2">
<font color="#808080">Responsable Architecture Réseau</font></font></b><br><font size="2"><font color="#bebebe">122, rue la Boetie | 75008 Paris </font></font><br><font size="2"><font color="#bebebe">Tel : +33 (0)1 56 26 28 44
</font></font><br><font size="2"><font color="#bebebe">Fax : +33 (0)1 56 26 28 45</font></font><br><font color="#c0c0c0">Mail :</font><font color="#99cc00"> </font><font color="#99cc00"><b><font size="2">jmartin</font></b>
</font><font size="2"><font color="#bebebe">@<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://longphone.fr/" target="_blank">longphone.fr</a></font></font><br><font color="#c0c0c0">Web :</font><font color="#99cc00">
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.longphone.com/" target="_blank">www.longphone.com</a></font><br><br><br></td></tr></tbody></table></div></blockquote></div><br>