<div>Hi,</div>
<div>&nbsp;</div>
<div>My issue is that I send calls to a provider who doesn't accept long distance calls being dialed with a 1 followed by 10 digits.</div>
<div>Users dial 1 followed by 10 digit phone number, and I need to strip the leading 1 in the number.</div>
<div>I modified the request-uri to strip the 1, but the provider still see the 1. I'm assuming he's using&nbsp; the To field which contain the full 11 digits numbers.</div>
<div>So now i'm trying to modifiy the To field to strip the leading 1.</div>
<div>It's not an :elegant&quot; any other alternatives?</div>
<div>&nbsp;</div>
<div>Thanks.</div>
<div>&nbsp;</div>
<div>Sammy.</div>
<div><br><br>&nbsp;</div>
<div><span class="gmail_quote">On 8/22/06, <b class="gmail_sendername">Greger V. Teigre</b> &lt;<a href="mailto:greger@teigre.com">greger@teigre.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div text="#000000" bgcolor="#ffffff">Yes, that's correct and more precisely, old RFC compliant UAs require the To and From to be unaltered, while RFC3261 compliant UAs require the tags in To and From to be unaltered. As RFC3261 specifies backwards compatibility as a requirement, any altering of To or From (except the anonymous exception) will cause non-RFC3261 compliance.
<br>&nbsp;</div>
<div><span class="sg">g-)</span></div>
<div><span class="q"><br><br>Alexandr Dubovikov wrote: 
<blockquote cite="http://mid20060821155026.GA30113@start4.info" type="cite"><pre>On Mon, Aug 21, 2006 at 11:39:40AM -0400, Sammy Touati wrote:
  </pre>
<blockquote type="cite"><pre>Hi,

Can the To and From fields in a SIP INVITE message be modified in SER?
I know that the Request URI can be modified but i also need to modify the To
field.
    </pre></blockquote><pre>replace or subst

but be careful, because To, From and Call-ID make a &quot;call leg&quot; of
transacation.


  </pre>
<blockquote type="cite"><pre>Thanks.

sato.
    </pre></blockquote><pre>  </pre>
<blockquote type="cite"><pre>_______________________________________________
Serusers mailing list
<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Serusers@lists.iptel.org" target="_blank">Serusers@lists.iptel.org</a>
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.iptel.org/mailman/listinfo/serusers" target="_blank">http://lists.iptel.org/mailman/listinfo/serusers</a>
    </pre></blockquote><pre>  </pre></blockquote></span></div>
<div></div></div></blockquote></div><br>