[Spce-user] New: cant figure out some things

Dave Massey dave at optionsdsl.ca
Wed Sep 7 20:02:27 EDT 2011


Ok I flushed any rules, there werent any that I saw, and the router isnt blocking anything to this test box either.

I have tried using the peers IP based authentication and user/password with the same result.
I should try to find a test server somewhere that I can use and see if it works and its not just my peer.


On 2011-09-07, at 7:20 PM, Skyler wrote:

> Hi,
> 
> This may sound crazy, but try flushing your iptables or if its a dev
> box shutdown iptables and try another call with ngrep.
> 
> Skyler 
> 
> On Wed, 2011-09-07 at 18:42 -0400, Dave Massey wrote:
>> Here is the ngrep of the full SIP conversation:
>> 
>> root at sip:~# ngrep -d any -qt -W byline port 5060
>> interface: any
>> filter: (ip or ip6) and ( port 5060 )
>> 
>> U 2011/09/07 18:38:04.309516 206.248.139.111:5060 -> 24.102.50.6:5060
>> INVITE sip:9057722572 at 24.102.50.6:5060 SIP/2.0.
>> Via: SIP/2.0/UDP 206.248.139.111:5060;rport;branch=z9hG4bKPj7nzHFueYfEaj18KyGfWVbawnIl2mdIYB.
>> Max-Forwards: 70.
>> From: "Dave" <sip:test2 at 24.102.50.6>;tag=iwppniLAfAHhaidLTVcNyvvbRjvQH2fS.
>> To: sip:9057722572 at 24.102.50.6.
>> Contact: "Dave" <sip:test2 at 206.248.139.111:5060>.
>> Call-ID: jvASyo-zk64uc0Dig5hgD6g0Gy617did.
>> CSeq: 3252 INVITE.
>> Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS.
>> Supported: replaces, 100rel, timer, norefersub.
>> Session-Expires: 1800.
>> Min-SE: 90.
>> User-Agent: 3CXPhone for iPhone 1.0.23.
>> Content-Type: application/sdp.
>> Content-Length:   304.
>> .
>> v=0.
>> o=- 3524423882 3524423882 IN IP4 206.248.139.111.
>> s=pjmedia.
>> c=IN IP4 206.248.139.111.
>> t=0 0.
>> a=X-nat:0.
>> m=audio 4002 RTP/AVP 0 8 3 101.
>> a=rtcp:4003 IN IP4 10.40.36.106.
>> a=rtpmap:0 PCMU/8000.
>> a=rtpmap:8 PCMA/8000.
>> a=rtpmap:3 GSM/8000.
>> a=sendrecv.
>> a=rtpmap:101 telephone-event/8000.
>> a=fmtp:101 0-15.
>> 
>> 
>> U 2011/09/07 18:38:04.309630 24.102.50.6:5060 -> 206.248.139.111:5060
>> SIP/2.0 100 Trying.
>> Via: SIP/2.0/UDP 206.248.139.111:5060;rport=5060;branch=z9hG4bKPj7nzHFueYfEaj18KyGfWVbawnIl2mdIYB.
>> From: "Dave" <sip:test2 at 24.102.50.6>;tag=iwppniLAfAHhaidLTVcNyvvbRjvQH2fS.
>> To: sip:9057722572 at 24.102.50.6.
>> Call-ID: jvASyo-zk64uc0Dig5hgD6g0Gy617did.
>> CSeq: 3252 INVITE.
>> Server: kamailio (3.1.3 (x86_64/linux)).
>> Content-Length: 0.
>> .
>> 
>> 
>> U 2011/09/07 18:38:04.309837 127.0.0.1:5060 -> 127.0.0.1:5062
>> INVITE sip:9057722572 at 24.102.50.6:5060 SIP/2.0.
>> Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=iwppniLAfAHhaidLTVcNyvvbRjvQH2fS>.
>> Record-Route: <sip:24.102.50.6;r2=on;lr=on;ftag=iwppniLAfAHhaidLTVcNyvvbRjvQH2fS>.
>> Via: SIP/2.0/UDP 127.0.0.1;branch=z9hG4bK5a0c.3e74dc67.0.
>> Via: SIP/2.0/UDP 206.248.139.111:5060;rport=5060;branch=z9hG4bKPj7nzHFueYfEaj18KyGfWVbawnIl2mdIYB.
>> Max-Forwards: 69.
>> From: "Dave" <sip:test2 at 24.102.50.6>;tag=iwppniLAfAHhaidLTVcNyvvbRjvQH2fS.
>> To: sip:9057722572 at 24.102.50.6.
>> Contact: "Dave" <sip:test2 at 206.248.139.111:5060>.
>> Call-ID: jvASyo-zk64uc0Dig5hgD6g0Gy617did.
>> CSeq: 3252 INVITE.
>> Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS.
>> Supported: replaces, 100rel, timer, norefersub.
>> Session-Expires: 1800.
>> Min-SE: 90.
>> User-Agent: 3CXPhone for iPhone 1.0.23.
>> Content-Type: application/sdp.
>> Content-Length:   304.
>> P-NGCP-Src-Ip: 206.248.139.111.
>> P-NGCP-Src-Port: 5060.
>> P-NGCP-Src-Proto: udp.
>> .
>> v=0.
>> o=- 3524423882 3524423882 IN IP4 206.248.139.111.
>> s=pjmedia.
>> c=IN IP4 206.248.139.111.
>> t=0 0.
>> a=X-nat:0.
>> m=audio 4002 RTP/AVP 0 8 3 101.
>> a=rtcp:4003 IN IP4 10.40.36.106.
>> a=rtpmap:0 PCMU/8000.
>> a=rtpmap:8 PCMA/8000.
>> a=rtpmap:3 GSM/8000.
>> a=sendrecv.
>> a=rtpmap:101 telephone-event/8000.
>> a=fmtp:101 0-15.
>> 
>> 
>> U 2011/09/07 18:38:04.309970 127.0.0.1:5062 -> 127.0.0.1:5060
>> SIP/2.0 100 Trying.
>> Via: SIP/2.0/UDP 127.0.0.1;branch=z9hG4bK5a0c.3e74dc67.0;rport=5060.
>> Via: SIP/2.0/UDP 206.248.139.111:5060;rport=5060;branch=z9hG4bKPj7nzHFueYfEaj18KyGfWVbawnIl2mdIYB.
>> From: "Dave" <sip:test2 at 24.102.50.6>;tag=iwppniLAfAHhaidLTVcNyvvbRjvQH2fS.
>> To: sip:9057722572 at 24.102.50.6.
>> Call-ID: jvASyo-zk64uc0Dig5hgD6g0Gy617did.
>> CSeq: 3252 INVITE.
>> Server: kamailio (3.1.3 (x86_64/linux)).
>> Content-Length: 0.
>> .
>> 
>> 
>> U 2011/09/07 18:38:04.311479 127.0.0.1:5062 -> 127.0.0.1:5060
>> SIP/2.0 407 Proxy Authentication Required.
>> Via: SIP/2.0/UDP 127.0.0.1;branch=z9hG4bK5a0c.3e74dc67.0;rport=5060.
>> Via: SIP/2.0/UDP 206.248.139.111:5060;rport=5060;branch=z9hG4bKPj7nzHFueYfEaj18KyGfWVbawnIl2mdIYB.
>> From: "Dave" <sip:test2 at 24.102.50.6>;tag=iwppniLAfAHhaidLTVcNyvvbRjvQH2fS.
>> To: sip:9057722572 at 24.102.50.6;tag=1d24a28a0bded6c40d31e6db8aab9ac6.04b7.
>> Call-ID: jvASyo-zk64uc0Dig5hgD6g0Gy617did.
>> CSeq: 3252 INVITE.
>> Proxy-Authenticate: Digest realm="24.102.50.6", nonce="Tmfzdk5n8kridxDbqZl/ZUyLurnCyvBS".
>> Server: kamailio (3.1.3 (x86_64/linux)).
>> Content-Length: 0.
>> .
>> 
>> 
>> U 2011/09/07 18:38:04.311586 127.0.0.1:5060 -> 127.0.0.1:5062
>> ACK sip:9057722572 at 24.102.50.6:5060 SIP/2.0.
>> Via: SIP/2.0/UDP 127.0.0.1;branch=z9hG4bK5a0c.3e74dc67.0.
>> Max-Forwards: 69.
>> From: "Dave" <sip:test2 at 24.102.50.6>;tag=iwppniLAfAHhaidLTVcNyvvbRjvQH2fS.
>> To: sip:9057722572 at 24.102.50.6;tag=1d24a28a0bded6c40d31e6db8aab9ac6.04b7.
>> Call-ID: jvASyo-zk64uc0Dig5hgD6g0Gy617did.
>> CSeq: 3252 ACK.
>> Content-Length: 0.
>> .
>> 
>> 
>> U 2011/09/07 18:38:04.311665 24.102.50.6:5060 -> 206.248.139.111:5060
>> SIP/2.0 407 Proxy Authentication Required.
>> Via: SIP/2.0/UDP 206.248.139.111:5060;rport=5060;branch=z9hG4bKPj7nzHFueYfEaj18KyGfWVbawnIl2mdIYB.
>> From: "Dave" <sip:test2 at 24.102.50.6>;tag=iwppniLAfAHhaidLTVcNyvvbRjvQH2fS.
>> To: sip:9057722572 at 24.102.50.6;tag=1d24a28a0bded6c40d31e6db8aab9ac6.04b7.
>> Call-ID: jvASyo-zk64uc0Dig5hgD6g0Gy617did.
>> CSeq: 3252 INVITE.
>> Proxy-Authenticate: Digest realm="24.102.50.6", nonce="Tmfzdk5n8kridxDbqZl/ZUyLurnCyvBS".
>> Server: kamailio (3.1.3 (x86_64/linux)).
>> Content-Length: 0.
>> .
>> 
>> 
>> U 2011/09/07 18:38:04.503740 206.248.139.111:5060 -> 24.102.50.6:5060
>> ACK sip:9057722572 at 24.102.50.6:5060 SIP/2.0.
>> Via: SIP/2.0/UDP 206.248.139.111:5060;rport;branch=z9hG4bKPj7nzHFueYfEaj18KyGfWVbawnIl2mdIYB.
>> Max-Forwards: 70.
>> From: "Dave" <sip:test2 at 24.102.50.6>;tag=iwppniLAfAHhaidLTVcNyvvbRjvQH2fS.
>> To: sip:9057722572 at 24.102.50.6;tag=1d24a28a0bded6c40d31e6db8aab9ac6.04b7.
>> Call-ID: jvASyo-zk64uc0Dig5hgD6g0Gy617did.
>> CSeq: 3252 ACK.
>> Content-Length:  0.
>> .
>> 
>> 
>> U 2011/09/07 18:38:04.518232 206.248.139.111:5060 -> 24.102.50.6:5060
>> INVITE sip:9057722572 at 24.102.50.6:5060 SIP/2.0.
>> Via: SIP/2.0/UDP 206.248.139.111:5060;rport;branch=z9hG4bKPjXDcMQi1NIscQv4kEJXf6qAQEJXhJrbp5.
>> Max-Forwards: 70.
>> From: "Dave" <sip:test2 at 24.102.50.6>;tag=iwppniLAfAHhaidLTVcNyvvbRjvQH2fS.
>> To: sip:9057722572 at 24.102.50.6.
>> Contact: "Dave" <sip:test2 at 206.248.139.111:5060>.
>> Call-ID: jvASyo-zk64uc0Dig5hgD6g0Gy617did.
>> CSeq: 3253 INVITE.
>> Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS.
>> Supported: replaces, 100rel, timer, norefersub.
>> Session-Expires: 1800.
>> Min-SE: 90.
>> User-Agent: 3CXPhone for iPhone 1.0.23.
>> Proxy-Authorization: Digest username="test2", realm="24.102.50.6", nonce="Tmfzdk5n8kridxDbqZl/ZUyLurnCyvBS", uri="sip:9057722572 at 24.102.50.6:5060", response="cf9a24e4dddb4d03c342012bca7f96fb".
>> Content-Type: application/sdp.
>> Content-Length:   304.
>> .
>> v=0.
>> o=- 3524423882 3524423882 IN IP4 206.248.139.111.
>> s=pjmedia.
>> c=IN IP4 206.248.139.111.
>> t=0 0.
>> a=X-nat:0.
>> m=audio 4002 RTP/AVP 0 8 3 101.
>> a=rtcp:4003 IN IP4 10.40.36.106.
>> a=rtpmap:0 PCMU/8000.
>> a=rtpmap:8 PCMA/8000.
>> a=rtpmap:3 GSM/8000.
>> a=sendrecv.
>> a=rtpmap:101 telephone-event/8000.
>> a=fmtp:101 0-15.
>> 
>> 
>> U 2011/09/07 18:38:04.518314 24.102.50.6:5060 -> 206.248.139.111:5060
>> SIP/2.0 100 Trying.
>> Via: SIP/2.0/UDP 206.248.139.111:5060;rport=5060;branch=z9hG4bKPjXDcMQi1NIscQv4kEJXf6qAQEJXhJrbp5.
>> From: "Dave" <sip:test2 at 24.102.50.6>;tag=iwppniLAfAHhaidLTVcNyvvbRjvQH2fS.
>> To: sip:9057722572 at 24.102.50.6.
>> Call-ID: jvASyo-zk64uc0Dig5hgD6g0Gy617did.
>> CSeq: 3253 INVITE.
>> Server: kamailio (3.1.3 (x86_64/linux)).
>> Content-Length: 0.
>> .
>> 
>> 
>> U 2011/09/07 18:38:04.518498 127.0.0.1:5060 -> 127.0.0.1:5062
>> INVITE sip:9057722572 at 24.102.50.6:5060 SIP/2.0.
>> Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=iwppniLAfAHhaidLTVcNyvvbRjvQH2fS>.
>> Record-Route: <sip:24.102.50.6;r2=on;lr=on;ftag=iwppniLAfAHhaidLTVcNyvvbRjvQH2fS>.
>> Via: SIP/2.0/UDP 127.0.0.1;branch=z9hG4bK6a0c.f9125e6.0.
>> Via: SIP/2.0/UDP 206.248.139.111:5060;rport=5060;branch=z9hG4bKPjXDcMQi1NIscQv4kEJXf6qAQEJXhJrbp5.
>> Max-Forwards: 69.
>> From: "Dave" <sip:test2 at 24.102.50.6>;tag=iwppniLAfAHhaidLTVcNyvvbRjvQH2fS.
>> To: sip:9057722572 at 24.102.50.6.
>> Contact: "Dave" <sip:test2 at 206.248.139.111:5060>.
>> Call-ID: jvASyo-zk64uc0Dig5hgD6g0Gy617did.
>> CSeq: 3253 INVITE.
>> Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS.
>> Supported: replaces, 100rel, timer, norefersub.
>> Session-Expires: 1800.
>> Min-SE: 90.
>> User-Agent: 3CXPhone for iPhone 1.0.23.
>> Proxy-Authorization: Digest username="test2", realm="24.102.50.6", nonce="Tmfzdk5n8kridxDbqZl/ZUyLurnCyvBS", uri="sip:9057722572 at 24.102.50.6:5060", response="cf9a24e4dddb4d03c342012bca7f96fb".
>> Content-Type: application/sdp.
>> Content-Length:   304.
>> P-NGCP-Src-Ip: 206.248.139.111.
>> P-NGCP-Src-Port: 5060.
>> P-NGCP-Src-Proto: udp.
>> .
>> v=0.
>> o=- 3524423882 3524423882 IN IP4 206.248.139.111.
>> s=pjmedia.
>> c=IN IP4 206.248.139.111.
>> t=0 0.
>> a=X-nat:0.
>> m=audio 4002 RTP/AVP 0 8 3 101.
>> a=rtcp:4003 IN IP4 10.40.36.106.
>> a=rtpmap:0 PCMU/8000.
>> a=rtpmap:8 PCMA/8000.
>> a=rtpmap:3 GSM/8000.
>> a=sendrecv.
>> a=rtpmap:101 telephone-event/8000.
>> a=fmtp:101 0-15.
>> 
>> 
>> U 2011/09/07 18:38:04.518570 127.0.0.1:5062 -> 127.0.0.1:5060
>> SIP/2.0 100 Trying.
>> Via: SIP/2.0/UDP 127.0.0.1;branch=z9hG4bK6a0c.f9125e6.0;rport=5060.
>> Via: SIP/2.0/UDP 206.248.139.111:5060;rport=5060;branch=z9hG4bKPjXDcMQi1NIscQv4kEJXf6qAQEJXhJrbp5.
>> From: "Dave" <sip:test2 at 24.102.50.6>;tag=iwppniLAfAHhaidLTVcNyvvbRjvQH2fS.
>> To: sip:9057722572 at 24.102.50.6.
>> Call-ID: jvASyo-zk64uc0Dig5hgD6g0Gy617did.
>> CSeq: 3253 INVITE.
>> Server: kamailio (3.1.3 (x86_64/linux)).
>> Content-Length: 0.
>> .
>> 
>> 
>> U 2011/09/07 18:38:04.527464 127.0.0.1:5080 -> 127.0.0.1:5060
>> INVITE sip:b2b-9057722572 at 74.51.40.188:5060 SIP/2.0.
>> Via: SIP/2.0/UDP 127.0.0.1:5080;branch=z9hG4bK.2lYsawl;rport.
>> From: "19056675563" <sip:19056675563 at 24.102.50.6>;tag=651C52FE-4E67F24C00080BA2-E47EE700.
>> To: sip:9057722572 at 24.102.50.6.
>> CSeq: 10 INVITE.
>> Call-ID: jvASyo-zk64uc0Dig5hgD6g0Gy617did_b2b-1.
>> Contact: <sip:127.0.0.1:5080>.
>> Route: <sip:127.0.0.1:5060;lr>.
>> P-Asserted-Identity: <sip:19056675563 at 24.102.50.6>.
>> P-R-Uri: sip:9057722572 at 74.51.40.188:5060.
>> P-D-Uri: sip:127.0.0.1:5060.
>> Supported: timer.
>> Session-Expires: 300.
>> Min-SE: 90.
>> Content-Type: application/sdp.
>> Content-Length: 296.
>> .
>> v=0.
>> o=- 3524423882 3524423882 IN IP4 24.102.50.6.
>> s=pjmedia.
>> c=IN IP4 24.102.50.6.
>> t=0 0.
>> a=X-nat:0.
>> m=audio 30148 RTP/AVP 0 8 3 101.
>> a=rtcp:30149.
>> a=rtpmap:0 PCMU/8000.
>> a=rtpmap:8 PCMA/8000.
>> a=rtpmap:3 GSM/8000.
>> a=sendrecv.
>> a=rtpmap:101 telephone-event/8000.
>> a=fmtp:101 0-15.
>> a=nortpproxy:yes.
>> 
>> 
>> U 2011/09/07 18:38:04.527614 127.0.0.1:5060 -> 127.0.0.1:5080
>> SIP/2.0 100 Trying.
>> Via: SIP/2.0/UDP 127.0.0.1:5080;branch=z9hG4bK.2lYsawl;rport=5080.
>> From: "19056675563" <sip:19056675563 at 24.102.50.6>;tag=651C52FE-4E67F24C00080BA2-E47EE700.
>> To: sip:9057722572 at 24.102.50.6.
>> CSeq: 10 INVITE.
>> Call-ID: jvASyo-zk64uc0Dig5hgD6g0Gy617did_b2b-1.
>> Server: kamailio (3.1.3 (x86_64/linux)).
>> Content-Length: 0.
>> .
>> 
>> 
>> U 2011/09/07 18:38:04.528005 24.102.50.6:5060 -> 74.51.40.188:5060
>> INVITE sip:9057722572 at 74.51.40.188:5060 SIP/2.0.
>> Max-Forwards: 10.
>> Record-Route: <sip:24.102.50.6;r2=on;lr=on;ftag=651C52FE-4E67F24C00080BA2-E47EE700>.
>> Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=651C52FE-4E67F24C00080BA2-E47EE700>.
>> Via: SIP/2.0/UDP 24.102.50.6;branch=z9hG4bK942.b191b99.0.
>> Via: SIP/2.0/UDP 127.0.0.1:5080;branch=z9hG4bK.2lYsawl;rport=5080.
>> From: "19056675563" <sip:19056675563 at 24.102.50.6>;tag=651C52FE-4E67F24C00080BA2-E47EE700.
>> To: sip:9057722572 at 24.102.50.6.
>> CSeq: 10 INVITE.
>> Call-ID: jvASyo-zk64uc0Dig5hgD6g0Gy617did_b2b-1.
>> P-Asserted-Identity: <sip:19056675563 at 24.102.50.6>.
>> Supported: timer.
>> Session-Expires: 300.
>> Min-SE: 90.
>> Content-Type: application/sdp.
>> Content-Length: 296.
>> Contact: <sip:ngcp-lb at 24.102.50.6:5060>.
>> .
>> v=0.
>> o=- 3524423882 3524423882 IN IP4 24.102.50.6.
>> s=pjmedia.
>> c=IN IP4 24.102.50.6.
>> t=0 0.
>> a=X-nat:0.
>> m=audio 30148 RTP/AVP 0 8 3 101.
>> a=rtcp:30149.
>> a=rtpmap:0 PCMU/8000.
>> a=rtpmap:8 PCMA/8000.
>> a=rtpmap:3 GSM/8000.
>> a=sendrecv.
>> a=rtpmap:101 telephone-event/8000.
>> a=fmtp:101 0-15.
>> a=nortpproxy:yes.
>> 
>> 
>> U 2011/09/07 18:38:04.534070 74.51.40.188:5060 -> 24.102.50.6:5060
>> SIP/2.0 403 Forbidden To.
>> Via: SIP/2.0/UDP 24.102.50.6;branch=z9hG4bK942.b191b99.0;rport=5060.
>> Via: SIP/2.0/UDP 127.0.0.1:5080;branch=z9hG4bK.2lYsawl;rport=5080.
>> From: "19056675563" <sip:19056675563 at 24.102.50.6>;tag=651C52FE-4E67F24C00080BA2-E47EE700.
>> To: sip:9057722572 at 24.102.50.6;tag=24bb7544232e22021bc64b51ba8c5fec.f151.
>> CSeq: 10 INVITE.
>> Call-ID: jvASyo-zk64uc0Dig5hgD6g0Gy617did_b2b-1.
>> Server: OpenSIPS (1.6.3-notls (x86_64/linux)).
>> Content-Length: 0.
>> .
>> 
>> 
>> U 2011/09/07 18:38:04.534201 24.102.50.6:5060 -> 74.51.40.188:5060
>> ACK sip:9057722572 at 74.51.40.188:5060 SIP/2.0.
>> Max-Forwards: 10.
>> Via: SIP/2.0/UDP 24.102.50.6;branch=z9hG4bK942.b191b99.0.
>> From: "19056675563" <sip:19056675563 at 24.102.50.6>;tag=651C52FE-4E67F24C00080BA2-E47EE700.
>> To: sip:9057722572 at 24.102.50.6;tag=24bb7544232e22021bc64b51ba8c5fec.f151.
>> CSeq: 10 ACK.
>> Call-ID: jvASyo-zk64uc0Dig5hgD6g0Gy617did_b2b-1.
>> Content-Length: 0.
>> .
>> 
>> 
>> U 2011/09/07 18:38:04.534303 127.0.0.1:5060 -> 127.0.0.1:5080
>> SIP/2.0 403 Forbidden To.
>> Via: SIP/2.0/UDP 127.0.0.1:5080;branch=z9hG4bK.2lYsawl;rport=5080.
>> From: "19056675563" <sip:19056675563 at 24.102.50.6>;tag=651C52FE-4E67F24C00080BA2-E47EE700.
>> To: sip:9057722572 at 24.102.50.6;tag=24bb7544232e22021bc64b51ba8c5fec.f151.
>> CSeq: 10 INVITE.
>> Call-ID: jvASyo-zk64uc0Dig5hgD6g0Gy617did_b2b-1.
>> Server: OpenSIPS (1.6.3-notls (x86_64/linux)).
>> Content-Length: 0.
>> P-NGCP-Src-Ip: 74.51.40.188.
>> P-NGCP-Src-Port: 5060.
>> P-NGCP-Src-Proto: udp.
>> .
>> 
>> 
>> U 2011/09/07 18:38:04.534374 127.0.0.1:5080 -> 127.0.0.1:5060
>> ACK sip:b2b-9057722572 at 74.51.40.188:5060 SIP/2.0.
>> Via: SIP/2.0/UDP 127.0.0.1:5080;branch=z9hG4bK.2lYsawl;rport.
>> Route: <sip:127.0.0.1:5060;lr>.
>> From: "19056675563" <sip:19056675563 at 24.102.50.6>;tag=651C52FE-4E67F24C00080BA2-E47EE700.
>> To: sip:9057722572 at 24.102.50.6;tag=24bb7544232e22021bc64b51ba8c5fec.f151.
>> Call-ID: jvASyo-zk64uc0Dig5hgD6g0Gy617did_b2b-1.
>> CSeq: 10 ACK.
>> .
>> 
>> 
>> U 2011/09/07 18:38:04.536204 127.0.0.1:5062 -> 127.0.0.1:5060
>> SIP/2.0 403 Forbidden To.
>> Record-Route: <sip:127.0.0.1:5062;lr=on;ftag=iwppniLAfAHhaidLTVcNyvvbRjvQH2fS;did=479.daaa5df2;vsf=OWRzcAguLQlPGFx1XldoHStubUs/Vl1FfVxY>.
>> Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=iwppniLAfAHhaidLTVcNyvvbRjvQH2fS>.
>> Record-Route: <sip:24.102.50.6;r2=on;lr=on;ftag=iwppniLAfAHhaidLTVcNyvvbRjvQH2fS>.
>> Via: SIP/2.0/UDP 127.0.0.1;rport=5060;branch=z9hG4bK6a0c.f9125e6.0.
>> Via: SIP/2.0/UDP 206.248.139.111:5060;rport=5060;branch=z9hG4bKPjXDcMQi1NIscQv4kEJXf6qAQEJXhJrbp5.
>> From: "Dave" <sip:test2 at 24.102.50.6>;tag=iwppniLAfAHhaidLTVcNyvvbRjvQH2fS.
>> To: sip:9057722572 at 24.102.50.6;tag=7399B335-4E67F24C00080802-E4BF2700.
>> Call-ID: jvASyo-zk64uc0Dig5hgD6g0Gy617did.
>> CSeq: 3253 INVITE.
>> Content-Length: 0.
>> .
>> 
>> 
>> U 2011/09/07 18:38:04.536416 127.0.0.1:5060 -> 127.0.0.1:5062
>> ACK sip:9057722572 at 24.102.50.6:5060 SIP/2.0.
>> Via: SIP/2.0/UDP 127.0.0.1;branch=z9hG4bK6a0c.f9125e6.0.
>> Max-Forwards: 69.
>> From: "Dave" <sip:test2 at 24.102.50.6>;tag=iwppniLAfAHhaidLTVcNyvvbRjvQH2fS.
>> To: sip:9057722572 at 24.102.50.6;tag=7399B335-4E67F24C00080802-E4BF2700.
>> Call-ID: jvASyo-zk64uc0Dig5hgD6g0Gy617did.
>> CSeq: 3253 ACK.
>> Content-Length: 0.
>> .
>> 
>> 
>> U 2011/09/07 18:38:04.536516 24.102.50.6:5060 -> 206.248.139.111:5060
>> SIP/2.0 403 Forbidden To.
>> Record-Route: <sip:127.0.0.1:5062;lr=on;ftag=iwppniLAfAHhaidLTVcNyvvbRjvQH2fS;did=479.daaa5df2;vsf=OWRzcAguLQlPGFx1XldoHStubUs/Vl1FfVxY>.
>> Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=iwppniLAfAHhaidLTVcNyvvbRjvQH2fS>.
>> Record-Route: <sip:24.102.50.6;r2=on;lr=on;ftag=iwppniLAfAHhaidLTVcNyvvbRjvQH2fS>.
>> Via: SIP/2.0/UDP 206.248.139.111:5060;rport=5060;branch=z9hG4bKPjXDcMQi1NIscQv4kEJXf6qAQEJXhJrbp5.
>> From: "Dave" <sip:test2 at 24.102.50.6>;tag=iwppniLAfAHhaidLTVcNyvvbRjvQH2fS.
>> To: sip:9057722572 at 24.102.50.6;tag=7399B335-4E67F24C00080802-E4BF2700.
>> Call-ID: jvASyo-zk64uc0Dig5hgD6g0Gy617did.
>> CSeq: 3253 INVITE.
>> Content-Length: 0.
>> .
>> 
>> 
>> U 2011/09/07 18:38:04.713008 206.248.139.111:5060 -> 24.102.50.6:5060
>> ACK sip:9057722572 at 24.102.50.6:5060 SIP/2.0.
>> Via: SIP/2.0/UDP 206.248.139.111:5060;rport;branch=z9hG4bKPjXDcMQi1NIscQv4kEJXf6qAQEJXhJrbp5.
>> Max-Forwards: 70.
>> From: "Dave" <sip:test2 at 24.102.50.6>;tag=iwppniLAfAHhaidLTVcNyvvbRjvQH2fS.
>> To: sip:9057722572 at 24.102.50.6;tag=7399B335-4E67F24C00080802-E4BF2700.
>> Call-ID: jvASyo-zk64uc0Dig5hgD6g0Gy617did.
>> CSeq: 3253 ACK.
>> Content-Length:  0.
>> .
>> 
>> 
>> 
>> On 2011-09-07, at 9:23 AM, Dave wrote:
>> 
>>> I will get that dump ASAP. Out in the field now and I think you guys are in a wildly different time zone :). 
>>> 
>>> On 2011-09-07, at 8:54 AM, Skyler <skchopperguy at gmail.com> wrote:
>>> 
>>>> 
>>>> On Wed, 2011-09-07 at 08:35 -0400, Dave wrote:
>>>>> Actually that was a bad example. If I try to dial an e164 number the results are the same.
>>>>> 
>>>> 
>>>> Interesting. So if you dial a valid telephone number ie: 19059631054
>>>> you're getting the same Forbidden To?
>>>> 
>>>>> What do you mean by peering rules?  I have one for the outbound provider it's just a default one as per the handbook. The inbound provider one has no rules at all
>>>>> 
>>>> In 'Sip Peerings' within admin you should have a peering contract
>>>> assigned and a Sip Peerings Group created. In the Sip peerings group,
>>>> you should have Peering Servers and Peering Rules. The Peering Rule
>>>> right now sounds to be blank (like in the docs).
>>>> 
>>>> With this setup, a call to any number (e.164 or other) would go
>>>> upstream to your peer if not found locally. Which will work fine, but
>>>> you are saying that a valid e.164 is also refused?
>>>> 
>>>> Really its not a problem to not have a peering rule in place to
>>>> block/not route an invalid e.164 from going upstream at this point. It
>>>> will be denied as it should but in future when your ears are wet ;) you
>>>> can play with the peering rules for better routing and call handling.
>>>> 
>>>> What does tcpdump look like on a call with to a valid e.164?
>>>> 
>>>> 
>>>>> Thanks
>>>>> 
>>>>> On 2011-09-07, at 8:26 AM, Skyler <skchopperguy at gmail.com> wrote:
>>>>> 
>>>>>> Hi,
>>>>>> 
>>>>>> On Wed, 2011-09-07 at 07:50 -0400, Dave Massey wrote:
>>>>>>> I attached a tcpdump of a phone call from a softphone registered to SPCE and attempted call from that phone to the SIP provider/PSTN
>>>>>>> 
>>>>>> 
>>>>>> 905888 is not a valid e.164 number, hence "Forbidden To". Looks like
>>>>>> you are dialing 905888 on your iPhone and SPCE cannot find a local user
>>>>>> '905888' so it tries the peering list. Which appears to be set as
>>>>>> 'blank' for peering rules so the call is sent upstream ... then denied
>>>>>> as '905888' is an invalid e.164 address.
>>>>>> 
>>>>>> The problem is that you don't have any peering rules set for your peer.
>>>>>> 
>>>>>> 
>>>>>> --Skyler
>>>>>> 
>>>>>> 
>>>> 
>>> 
>>> _______________________________________________
>>> Spce-user mailing list
>>> Spce-user at lists.sipwise.com
>>> http://lists.sipwise.com/listinfo/spce-user
>> 
>> 
>> _______________________________________________
>> Spce-user mailing list
>> Spce-user at lists.sipwise.com
>> http://lists.sipwise.com/listinfo/spce-user
> 





More information about the Spce-user mailing list