<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" target="_blank" value="+13184504920">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>
<div> </div><div>Skyler<br>
</div><div class="gmail_quote">On Tue, Nov 13, 2012 at 8:30 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">

I think that was because of the other sip trunk.  Here is a call from outside that shows the 11 digits.  I will also get the log<div><br></div><div><div>U 2012/11/13 10:26:52.752766 <a href="http://72.21.14.34:5060" target="_blank">72.21.14.34:5060</a> -> <a href="http://107.7.157.250:5060" target="_blank">107.7.157.250:5060</a></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>Record-Route: <sip:72.21.14.34:5060;lr;ftag=gK0e4d1028>'</div><div>Via: SIP/2.0/UDP 72.21.14.34:5060;branch=z9hG4bKda97.26bf9577.0'</div>


<div>Via: SIP/2.0/UDP 4.55.2.227:5060;branch=z9hG4bK0eB65610582c008d865'</div><div>From: <sip:<a href="tel:%2B13185374776" target="_blank" value="+13185374776">+13185374776</a>@4.55.2.227:5060;isup-oli=62>;tag=gK0e4d1028'</div>

<div>To: <<a href="http://sip:+13184504920@72.21.14.34:5060" target="_blank">sip:+13184504920@72.21.14.34:5060</a>>'</div>
<div>Call-ID: <a href="mailto:1494152095_4459626@4.55.2.227" target="_blank">1494152095_4459626@4.55.2.227</a>'</div><div>CSeq: 31124 INVITE'</div><div><div>Max-Forwards: 92'</div><div>Allow: INVITE,ACK,CANCEL,BYE,PRACK,UPDATE'</div>


<div>Accept: application/sdp, application/isup, application/dtmf, application/dtmf-relay,  multipart/mixed'</div></div><div>Contact: <<a href="http://sip:+13185374776@4.55.2.227:5060" target="_blank">sip:+13185374776@4.55.2.227:5060</a>>'</div>


<div>Remote-Party-ID: <<a href="http://sip:+13185374776@4.55.2.227:5060" target="_blank">sip:+13185374776@4.55.2.227:5060</a>>;privacy=off'</div><div>Supported: 100rel'</div><div>Content-Length:  301'</div>

<div><div>Content-Disposition: session; handling=required'</div>
<div>Content-Type: application/sdp'</div><div>'</div><div>v=0'</div></div><div>o=Sonus_UAC 21391 635 IN IP4 4.55.2.227'</div><div>s=SIP Media Capabilities'</div><div>c=IN IP4 4.55.2.198'</div><div>

t=0 0'</div>
<div>m=audio 10912 RTP/AVP 0 8 18 101'</div><div><div>a=rtpmap:0 PCMU/8000'</div><div>a=rtpmap:8 PCMA/8000'</div><div>a=rtpmap:18 G729/8000'</div><div>a=fmtp:18 annexb=no'</div><div>a=rtpmap:101 telephone-event/8000'</div>


<div>a=fmtp:101 0-15'</div><div>a=sendrecv'</div><div>a=maxptime:20'</div><div><br></div><div>#</div></div><div>U 2012/11/13 10:26:52.753655 <a href="http://127.0.0.1:5060" target="_blank">127.0.0.1:5060</a> -> <a href="http://127.0.0.1:5062" target="_blank">127.0.0.1:5062</a></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>Record-Route: <sip:127.0.0.1:5060;ngcplb=yes;ftag=gK0e4d1028;lr=on>'</div><div>

Record-Route: <sip:107.7.157.250:5060;ftag=gK0e4d1028;lr=on>'</div>
<div>Record-Route: <sip:72.21.14.34:5060;lr;ftag=gK0e4d1028>'</div><div>Via: SIP/2.0/UDP 107.7.157.250;branch=z9hG4bKda97.268836150cfcef249ce40b85d56fda0e.0'</div><div>Via: SIP/2.0/UDP 72.21.14.34:5060;rport=5060;branch=z9hG4bKda97.26bf9577.0'</div>


<div>Via: SIP/2.0/UDP 4.55.2.227:5060;branch=z9hG4bK0eB65610582c008d865'</div><div>From: <sip:<a href="tel:%2B13185374776" target="_blank" value="+13185374776">+13185374776</a>@4.55.2.227:5060;isup-oli=62>;tag=gK0e4d1028'</div>

<div>To: <<a href="http://sip:+13184504920@72.21.14.34:5060" target="_blank">sip:+13184504920@72.21.14.34:5060</a>>'</div>
<div>Call-ID: <a href="mailto:1494152095_4459626@4.55.2.227" target="_blank">1494152095_4459626@4.55.2.227</a>'</div><div>CSeq: 31124 INVITE'</div><div><div>Max-Forwards: 91'</div><div>Allow: INVITE,ACK,CANCEL,BYE,PRACK,UPDATE'</div>


<div>Accept: application/sdp, application/isup, application/dtmf, application/dtmf-relay,  multipart/mixed'</div></div><div>Contact: <<a href="http://sip:+13185374776@4.55.2.227:5060" target="_blank">sip:+13185374776@4.55.2.227:5060</a>>'</div>


<div>Remote-Party-ID: <<a href="http://sip:+13185374776@4.55.2.227:5060" target="_blank">sip:+13185374776@4.55.2.227:5060</a>>;privacy=off'</div><div>Supported: 100rel'</div><div>Content-Length:  301'</div>

<div><div>Content-Disposition: session; handling=required'</div>
<div>Content-Type: application/sdp'</div><div>P-NGCP-Src-Ip: 72.21.14.34'</div><div>P-NGCP-Src-Port: 5060'</div><div>P-NGCP-Src-Proto: udp'</div><div>P-NGCP-Src-Af: 4'</div><div>'</div><div>v=0'</div>


</div><div>o=Sonus_UAC 21391 635 IN IP4 4.55.2.227'</div><div>s=SIP Media Capabilities'</div><div>c=IN IP4 4.55.2.198'</div><div>t=0 0'</div><div>m=audio 10912 RTP/AVP 0 8 18 101'</div><div>
<div>a=rtpmap:0 PCMU/8000'</div>
<div>a=rtpmap:8 PCMA/8000'</div><div>a=rtpmap:18 G729/8000'</div><div>a=fmtp:18 annexb=no'</div><div>a=rtpmap:101 telephone-event/8000'</div><div>a=fmtp:101 0-15'</div><div>a=sendrecv'</div><div>a=maxptime:20'</div>


<div><br></div><div>#</div></div><div>U 2012/11/13 10:26:52.753784 <a href="http://127.0.0.1:5062" target="_blank">127.0.0.1:5062</a> -> <a href="http://127.0.0.1:5060" target="_blank">127.0.0.1:5060</a></div><div>SIP/2.0 100 Trying'</div>

<div>Via: SIP/2.0/UDP 107.7.157.250;branch=z9hG4bKda97.268836150cfcef249ce40b85d56fda0e.0;rport=5060;received=127.0.0.1'</div>
<div>Via: SIP/2.0/UDP 72.21.14.34:5060;rport=5060;branch=z9hG4bKda97.26bf9577.0'</div><div>Via: SIP/2.0/UDP 4.55.2.227:5060;branch=z9hG4bK0eB65610582c008d865'</div><div>From: <sip:<a href="tel:%2B13185374776" target="_blank" value="+13185374776">+13185374776</a>@4.55.2.227:5060;isup-oli=62>;tag=gK0e4d1028'</div>


<div>To: <<a href="http://sip:+13184504920@72.21.14.34:5060" target="_blank">sip:+13184504920@72.21.14.34:5060</a>>'</div><div>Call-ID: <a href="mailto:1494152095_4459626@4.55.2.227" target="_blank">1494152095_4459626@4.55.2.227</a>'</div>


<div>CSeq: 31124 INVITE'</div><div><div>Server: Sipwise NGCP Proxy 2.X'</div><div>Content-Length: 0'</div><div>'</div><div><br></div><div>#</div></div><div>U 2012/11/13 10:26:52.753916 <a href="http://107.7.157.250:5060" target="_blank">107.7.157.250:5060</a> -> <a href="http://72.21.14.34:5060" target="_blank">72.21.14.34:5060</a></div>


<div>SIP/2.0 100 Trying'</div><div>Via: SIP/2.0/UDP 72.21.14.34:5060;rport=5060;branch=z9hG4bKda97.26bf9577.0'</div><div>Via: SIP/2.0/UDP 4.55.2.227:5060;branch=z9hG4bK0eB65610582c008d865'</div><div>From: <sip:<a href="tel:%2B13185374776" target="_blank" value="+13185374776">+13185374776</a>@4.55.2.227:5060;isup-oli=62>;tag=gK0e4d1028'</div>


<div>To: <<a href="http://sip:+13184504920@72.21.14.34:5060" target="_blank">sip:+13184504920@72.21.14.34:5060</a>>'</div><div>Call-ID: <a href="mailto:1494152095_4459626@4.55.2.227" target="_blank">1494152095_4459626@4.55.2.227</a>'</div>


<div>CSeq: 31124 INVITE'</div><div><div>Server: Sipwise NGCP Proxy 2.X'</div><div>Content-Length: 0'</div><div>'</div><div><br></div><div>#</div></div><div>U 2012/11/13 10:26:52.764368 <a href="http://127.0.0.1:5062" target="_blank">127.0.0.1:5062</a> -> <a href="http://127.0.0.1:5060" target="_blank">127.0.0.1:5060</a></div>


<div>SIP/2.0 404 Not Found'</div><div>Via: SIP/2.0/UDP 107.7.157.250;branch=z9hG4bKda97.268836150cfcef249ce40b85d56fda0e.0;rport=5060;received=127.0.0.1'</div><div>Via: SIP/2.0/UDP 72.21.14.34:5060;rport=5060;branch=z9hG4bKda97.26bf9577.0'</div>


<div>Via: SIP/2.0/UDP 4.55.2.227:5060;branch=z9hG4bK0eB65610582c008d865'</div><div>From: <sip:<a href="tel:%2B13185374776" target="_blank" value="+13185374776">+13185374776</a>@4.55.2.227:5060;isup-oli=62>;tag=gK0e4#######################################################</div>

</div>
<div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On Tue, Nov 13, 2012 at 10:14 AM, Jon Bonilla <span dir="ltr"><<a href="mailto:jbonilla@sipwise.com" target="_blank">jbonilla@sipwise.com</a>></span> wrote:<br>


</div></div><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><div>El Tue, 13 Nov 2012 10:08:12 -0600<br>


Jeremie Chism <<a href="mailto:jchism2@gmail.com" target="_blank">jchism2@gmail.com</a>> escribió:<br>
<br>
<br>
> Subscriber <a href="mailto:13184504920@107.7.157.250" target="_blank">13184504920@107.7.157.250</a><br>
<div>> E.164 Number: <a href="tel:%2B1%20318%204504920" target="_blank" value="+13184504920">+1 318 4504920</a><br>
<br>
</div>That doesn't match '<a href="tel:3184504920" target="_blank" value="+13184504920">3184504920</a>'<br>
<br>
You need to fix your rewrite rules. As I said before, you have rewrite rules for<br>
caller (see your proxy logs) which are wrong and no matching rewrite rules for<br>
what you receive which is '<a href="tel:3184504920" target="_blank" value="+13184504920">3184504920</a>'<br>
<br>
That's why the system does not find the subscriber and sends 404 back.<br>
<br>
<br>
<br></div></div><div>_______________________________________________<br>
Spce-user mailing list<br>
<a href="mailto:Spce-user@lists.sipwise.com" target="_blank">Spce-user@lists.sipwise.com</a><br>
<a href="http://lists.sipwise.com/listinfo/spce-user" target="_blank">http://lists.sipwise.com/listinfo/spce-user</a><br>
<br></div></blockquote></div><div><br><br clear="all"><div><br></div>-- <br>Jeremie Chism<br>Triton Communications<br>
</div></div>
<br>_______________________________________________<br>
Spce-user mailing list<br>
<a href="mailto:Spce-user@lists.sipwise.com" target="_blank">Spce-user@lists.sipwise.com</a><br>
<a href="http://lists.sipwise.com/listinfo/spce-user" target="_blank">http://lists.sipwise.com/listinfo/spce-user</a><br>
<br></blockquote></div><br>