Here is one more from a different caller<div><br></div><div><div>U 2012/11/13 09:03:50.409508 <a href="http://72.21.14.34:5060">72.21.14.34:5060</a> -> <a href="http://107.7.157.250:5060">107.7.157.250:5060</a></div><div>
INVITE <a href="mailto:sip%3A3184504920@107.7.157.250">sip:3184504920@107.7.157.250</a> SIP/2.0'</div><div>Record-Route: <sip:72.21.14.34:5060;lr;ftag=gK083099b7>'</div><div>Via: SIP/2.0/UDP 72.21.14.34:5060;branch=z9hG4bK4d76.526ac8a5.0'</div>
<div>Via: SIP/2.0/UDP 4.55.15.35:5060;branch=z9hG4bK08Bf5f366c126b855fa'</div><div>From: <sip:+13185374776@4.55.15.35:5060;isup-oli=62>;tag=gK083099b7'</div><div>To: <<a href="http://sip:+13184504920@72.21.14.34:5060">sip:+13184504920@72.21.14.34:5060</a>>'</div>
<div>Call-ID: <a href="mailto:218630721_78128051@4.55.15.35">218630721_78128051@4.55.15.35</a>'</div><div>CSeq: 9041 INVITE'</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>Contact: <<a href="http://sip:+13185374776@4.55.15.35:5060">sip:+13185374776@4.55.15.35:5060</a>>'</div>
<div>Remote-Party-ID: <<a href="http://sip:+13185374776@4.55.15.35:5060">sip:+13185374776@4.55.15.35:5060</a>>;privacy=off'</div><div>Supported: 100rel'</div><div>Content-Length:  300'</div><div>Content-Disposition: session; handling=required'</div>
<div>Content-Type: application/sdp'</div><div>'</div><div>v=0'</div><div>o=Sonus_UAC 14075 8271 IN IP4 4.55.15.35'</div><div>s=SIP Media Capabilities'</div><div>c=IN IP4 4.55.15.2'</div><div>t=0 0'</div>
<div>m=audio 6048 RTP/AVP 0 8 18 101'</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>U 2012/11/13 09:03:50.410239 <a href="http://127.0.0.1:5060">127.0.0.1:5060</a> -> <a href="http://127.0.0.1:5062">127.0.0.1:5062</a></div>
<div>INVITE <a href="mailto:sip%3A3184504920@107.7.157.250">sip:3184504920@107.7.157.250</a> SIP/2.0'</div><div>Record-Route: <sip:127.0.0.1:5060;ngcplb=yes;ftag=gK083099b7;lr=on>'</div><div>Record-Route: <sip:107.7.157.250:5060;ftag=gK083099b7;lr=on>'</div>
<div>Record-Route: <sip:72.21.14.34:5060;lr;ftag=gK083099b7>'</div><div>Via: SIP/2.0/UDP 107.7.157.250;branch=z9hG4bK4d76.12d1e7a7f4939deb0904ee90c1f1794a.0'</div><div>Via: SIP/2.0/UDP 72.21.14.34:5060;rport=5060;branch=z9hG4bK4d76.526ac8a5.0'</div>
<div>Via: SIP/2.0/UDP 4.55.15.35:5060;branch=z9hG4bK08Bf5f366c126b855fa'</div><div>From: <sip:+13185374776@4.55.15.35:5060;isup-oli=62>;tag=gK083099b7'</div><div>To: <<a href="http://sip:+13184504920@72.21.14.34:5060">sip:+13184504920@72.21.14.34:5060</a>>'</div>
<div>Call-ID: <a href="mailto:218630721_78128051@4.55.15.35">218630721_78128051@4.55.15.35</a>'</div><div>CSeq: 9041 INVITE'</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>Contact: <<a href="http://sip:+13185374776@4.55.15.35:5060">sip:+13185374776@4.55.15.35:5060</a>>'</div>
<div>Remote-Party-ID: <<a href="http://sip:+13185374776@4.55.15.35:5060">sip:+13185374776@4.55.15.35:5060</a>>;privacy=off'</div><div>Supported: 100rel'</div><div>Content-Length:  300'</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>o=Sonus_UAC 14075 8271 IN IP4 4.55.15.35'</div><div>s=SIP Media Capabilities'</div><div>c=IN IP4 4.55.15.2'</div><div>t=0 0'</div><div>m=audio 6048 RTP/AVP 0 8 18 101'</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>U 2012/11/13 09:03:50.410371 <a href="http://127.0.0.1:5062">127.0.0.1:5062</a> -> <a href="http://127.0.0.1:5060">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=z9hG4bK4d76.12d1e7a7f4939deb0904ee90c1f1794a.0;rport=5060;received=127.0.0.1'</div>
<div>Via: SIP/2.0/UDP 72.21.14.34:5060;rport=5060;branch=z9hG4bK4d76.526ac8a5.0'</div><div>Via: SIP/2.0/UDP 4.55.15.35:5060;branch=z9hG4bK08Bf5f366c126b855fa'</div><div>From: <sip:+13185374776@4.55.15.35:5060;isup-oli=62>;tag=gK083099b7'</div>
<div>To: <<a href="http://sip:+13184504920@72.21.14.34:5060">sip:+13184504920@72.21.14.34:5060</a>>'</div><div>Call-ID: <a href="mailto:218630721_78128051@4.55.15.35">218630721_78128051@4.55.15.35</a>'</div>
<div>CSeq: 9041 INVITE'</div><div>Server: Sipwise NGCP Proxy 2.X'</div><div>Content-Length: 0'</div><div>'</div><div><br></div><div>#</div><div>U 2012/11/13 09:03:50.410723 <a href="http://107.7.157.250:5060">107.7.157.250:5060</a> -> <a href="http://72.21.14.34:5060">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=z9hG4bK4d76.526ac8a5.0'</div><div>Via: SIP/2.0/UDP 4.55.15.35:5060;branch=z9hG4bK08Bf5f366c126b855fa'</div><div>From: <sip:+13185374776@4.55.15.35:5060;isup-oli=62>;tag=gK083099b7'</div>
<div>To: <<a href="http://sip:+13184504920@72.21.14.34:5060">sip:+13184504920@72.21.14.34:5060</a>>'</div><div>Call-ID: <a href="mailto:218630721_78128051@4.55.15.35">218630721_78128051@4.55.15.35</a>'</div>
<div>CSeq: 9041 INVITE'</div><div>Server: Sipwise NGCP Proxy 2.X'</div><div>Content-Length: 0'</div><div>'</div><div><br></div><div>#</div><div>U 2012/11/13 09:03:50.420123 <a href="http://127.0.0.1:5062">127.0.0.1:5062</a> -> <a href="http://127.0.0.1:5060">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=z9hG4bK4d76.12d1e7a7f4939deb0904ee90c1f1794a.0;rport=5060;received=127.0.0.1'</div><div>Via: SIP/2.0/UDP 72.21.14.34:5060;rport=5060;branch=z9hG4bK4d76.526ac8a5.0'</div>
<div>Via: SIP/2.0/UDP 4.55.15.35:5060;branch=z9hG4bK08Bf5f366c126b855fa'</div><div>From: <sip:+13185374776@4.55.15.35:5060;isup-oli=62>;tag=gK083099b7'</div><div>To: <<a href="http://sip:+13184504920@72.21.14.34:5060">sip:+13184504920@72.21.14.34:5060</a>>;tag=f3067022b00c564156251ba2f28f331f-a7ff'</div>
<div>Call-ID: <a href="mailto:218630721_78128051@4.55.15.35">218630721_78128051@4.55.15.35</a>'</div><div>CSeq: 9041 INVITE'</div><div>Server: Sipwise NGCP Proxy 2.X'</div><div>Content-Length: 0'</div><div>
'</div><div><br></div><div>#</div><div>U 2012/11/13 09:03:50.420426 <a href="http://107.7.157.250:5060">107.7.157.250:5060</a> -> <a href="http://72.21.14.34:5060">72.21.14.34:5060</a></div><div>SIP/2.0 404 Not Found'</div>
<div>Via: SIP/2.0/UDP 72.21.14.34:5060;rport=5060;branch=z9hG4bK4d76.526ac8a5.0'</div><div>Via: SIP/2.0/UDP 4.55.15.35:5060;branch=z9hG4bK08Bf5f366c126b855fa'</div><div>From: <sip:+13185374776@4.55.15.35:5060;isup-oli=62>;tag=gK083099b7'</div>
<div>To: <<a href="http://sip:+13184504920@72.21.14.34:5060">sip:+13184504920@72.21.14.34:5060</a>>;tag=f3067022b00c564156251ba2f28f331f-a7ff'</div><div>Call-ID: <a href="mailto:218630721_78128051@4.55.15.35">218630721_78128051@4.55.15.35</a>'</div>
<div>CSeq: 9041 INVITE'</div><div>Server: Sipwise NGCP Proxy 2.X'</div><div>Content-Length: 0'</div><div>'</div><div><br></div><div>#</div><div>U 2012/11/13 09:03:50.463803 <a href="http://72.21.14.34:5060">72.21.14.34:5060</a> -> <a href="http://107.7.157.250:5060">107.7.157.250:5060</a></div>
<div>ACK <a href="mailto:sip%3A3184504920@107.7.157.250">sip:3184504920@107.7.157.250</a> SIP/2.0'</div><div>Via: SIP/2.0/UDP 72.21.14.34:5060;branch=z9hG4bK4d76.526ac8a5.0'</div><div>From: <sip:+13185374776@4.55.15.35:5060;isup-oli=62>;tag=gK083099b7'</div>
<div>Call-ID: <a href="mailto:218630721_78128051@4.55.15.35">218630721_78128051@4.55.15.35</a>'</div><div>To: <<a href="http://sip:+13184504920@72.21.14.34:5060">sip:+13184504920@72.21.14.34:5060</a>>;tag=f3067022b00c564156251ba2f28f331f-a7ff'</div>
<div>CSeq: 9041 ACK'</div><div>Max-Forwards: 70'</div><div>Content-Length: 0'</div><div>'</div><div><br></div><div>#</div><div>U 2012/11/13 09:03:50.464160 <a href="http://127.0.0.1:5060">127.0.0.1:5060</a> -> <a href="http://127.0.0.1:5062">127.0.0.1:5062</a></div>
<div>ACK <a href="mailto:sip%3A3184504920@107.7.157.250">sip:3184504920@107.7.157.250</a> SIP/2.0'</div><div>Record-Route: <sip:127.0.0.1:5060;ngcplb=yes;ftag=gK083099b7;lr=on>'</div><div>Record-Route: <sip:107.7.157.250:5060;ftag=gK083099b7;lr=on>'</div>
<div>Via: SIP/2.0/UDP 107.7.157.250;branch=z9hG4bK4d76.12d1e7a7f4939deb0904ee90c1f1794a.0'</div><div>Via: SIP/2.0/UDP 72.21.14.34:5060;rport=5060;branch=z9hG4bK4d76.526ac8a5.0'</div><div>From: <sip:+13185374776@4.55.15.35:5060;isup-oli=62>;tag=gK083099b7'</div>
<div>Call-ID: <a href="mailto:218630721_78128051@4.55.15.35">218630721_78128051@4.55.15.35</a>'</div><div>To: <<a href="http://sip:+13184504920@72.21.14.34:5060">sip:+13184504920@72.21.14.34:5060</a>>;tag=f3067022b00c564156251ba2f28f331f-a7ff'</div>
<div>CSeq: 9041 ACK'</div><div>Max-Forwards: 69'</div><div>Content-Length: 0'</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><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Nov 9, 2012 at 1:17 PM, Ali Ardestani <span dir="ltr"><<a href="mailto:ali.ardestani@pnmac.com" target="_blank">ali.ardestani@pnmac.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">you need to make sure both the incoming IP and port combination are allowed on your switch, you can use </span><b style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">ngrep-sip -ro</b><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"> on your sipwise box to look at the SIP messages and find out on what IP/PORT the calls are coming and if they are being rejected.</span><br>

<br></div><div class="gmail_quote"><div class="im">On Fri, Nov 9, 2012 at 10:56 AM, Jeremie Chism <span dir="ltr"><<a href="mailto:jchism2@gmail.com" target="_blank">jchism2@gmail.com</a>></span> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">
I have internal calls working, outgoing calls working, but incoming calls from my sip trunk provider give me a 404 not found. I changed the setup to allow the actual phone number to be the username but that didn't fix it. Do I have to make a rewrite rule for incoming calls to work?<br>


<br>
Sent from my iPhone<br></div><div class="im">
_______________________________________________<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>
</div></blockquote></div><div class="HOEnZb"><div class="h5"><br><br clear="all"><div><br></div>-- <br><div>-- </div><div>Ali S Ardestani   </div><div>Telephony Systems Engineer</div><div>Private National Mortgage Acceptance Company (PennyMac)</div>
<div>6101 Condor Drive</div>
<div>Moorpark, CA 93021</div><div><br></div><div><a href="tel:%28805%29%20330-6004" value="+18053306004" target="_blank">(805) 330-6004</a> Office</div><div><a href="tel:%28818%29%20224-7442%20x2654" value="+18182247442" target="_blank">(818) 224-7442 x2654</a> Office</div>
<div><a href="tel:%28626%29%20817-3512" value="+16268173512" target="_blank">(626) 817-3512</a> Mobile</div><div><a href="tel:%28818%29%20224-7397" value="+18182247397" target="_blank">(818) 224-7397</a> Fax</div><div><br>
</div><div><a href="mailto:ali.ardestani@pnmac.com" target="_blank">ali.ardestani@pnmac.com</a></div>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Jeremie Chism<br>Triton Communications<br>
</div>