Thanks for all the help.  Checking the log that doesnt look like it added the 1.  I dont want to bother you with this more than what I already have.  Do you know a place that i could go to get information on writing rewrite rules?  Thanks again for everything<div class="gmail_extra">
<br><br><div class="gmail_quote">On Tue, Nov 13, 2012 at 11:24 AM, Skyler <span dir="ltr"><<a href="mailto:skchopperguy@gmail.com" target="_blank">skchopperguy@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>Depends on your desire, I strip leading '+' in all four in/out callee/caller. could do the same with 10-digits to 11-digits I think.</div><div class="HOEnZb"><div class="h5"><div><br><br> </div><div class="gmail_quote">
On Tue, Nov 13, 2012 at 9:19 AM, Jeremie Chism <span dir="ltr"><<a href="mailto:jchism2@gmail.com" target="_blank">jchism2@gmail.com</a>></span> wrote:<br>
<blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">ok.  thank you for this help.  this is inbound rewrite rules for callee right?<div>

<div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Nov 13, 2012 at 11:16 AM, Skyler <span dir="ltr"><<a href="mailto:skchopperguy@gmail.com" target="_blank">skchopperguy@gmail.com</a>></span> wrote:<br>


<blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote"><div>Also, watch out for this:</div><div> </div><div>/2   <-- wrong</div>

<div>\2   <-- correct</div><span><font color="#888888"><div>
 </div><div> </div><div>Skyler<br><br></div></font></span><div><div><div class="gmail_quote">On Tue, Nov 13, 2012 at 9:02 AM, Skyler <span dir="ltr"><<a href="mailto:skchopperguy@gmail.com" target="_blank">skchopperguy@gmail.com</a>></span> wrote:<br>



<blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote"><div>I don't have that in my box but off the top of my head (not tested) would look something like:</div>



<div> </div><div>^([2-9][0-9]{8})$   ${caller_cc}\1</div><div> </div><div>or</div><div> </div><div>^([2-9][0-9]{8})$   1\1</div><span><font color="#888888">
<div> </div><div> </div><div>Skyler<br><br></div></font></span><div><div><div class="gmail_quote">On Tue, Nov 13, 2012 at 8:53 AM, Jeremie Chism <span dir="ltr"><<a href="mailto:jchism2@gmail.com" target="_blank">jchism2@gmail.com</a>></span> wrote:<br>




<blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">Do you have a standard rewrite rule for this.  I am going to ask my upstream but not sure i will get much of a reply.  <div class="gmail_extra">




<div><div><br><br><div class="gmail_quote">On Tue, Nov 13, 2012 at 10:49 AM, Skyler <span dir="ltr"><<a href="mailto:skchopperguy@gmail.com" target="_blank">skchopperguy@gmail.com</a>></span> wrote:<br>
<blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote"><div>No problem. Just for future, this type of issue really only need to see the INVITE and not necessarily the whole call flow in a capture. ;)</div>





<div> </div><div>The R=sip:<a href="tel:3184504920" value="+13184504920" target="_blank">3184504920</a> is the problem because SPCE bases all routing decisions on the R-URI (Request URI) which is what the 'R' in the logs is.</div>





<span><font color="#888888">
<div> </div><div>S<br><br></div></font></span><div><div><div class="gmail_quote">On Tue, Nov 13, 2012 at 8:44 AM, Jeremie Chism <span dir="ltr"><<a href="mailto:jchism2@gmail.com" target="_blank">jchism2@gmail.com</a>></span> wrote:<br>





<blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">
My email was probably going out as you were sending yours.<div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Nov 13, 2012 at 10:42 AM, Skyler <span dir="ltr"><<a href="mailto:skchopperguy@gmail.com" target="_blank">skchopperguy@gmail.com</a>></span> wrote:<br>







<blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote"><div>Jeremy,</div><div> </div><div> Slow down, read your INVITE.</div>






<div>.....</div><div>INVITE <a href="mailto:sip%3A3184504920@107.7.157.250" target="_blank">sip:3184504920@107.7.157.250</a> SIP/2.0'</div>
<div> </div>
<div>Also in the log.....R=<a href="mailto:3184504920@107.7.157.250" target="_blank">sip:3184504920@107.7.157.250</a></div><div> </div><div>
What Jon is saying is that clearly, <a href="tel:3184504920" value="+13184504920" target="_blank">3184504920</a> is NOT a valid number on your SPCE box. Your peer is sending you a request for 10-digits but SPCE only uses 11-digits. You need to either ask upstream to send you e164 (11-digits) or you need a rewrite rule that matches 10-digits and ... adds a 1 in front.</div>







<span><font color="#888888">
<div> </div><div>Skyler</div></font><div></div></span><div></div><div><div> </div></div></blockquote></div></div>
</div></div></blockquote></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div></div></div><div>-- <br>Jeremie Chism<br>Triton Communications<br>
</div></div>
</blockquote></div><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Jeremie Chism<br>Triton Communications<br>
</div>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Jeremie Chism<br>Triton Communications<br>
</div>