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

Andreas Granig agranig at sipwise.com
Fri Sep 9 07:48:05 EDT 2011


Hi Dave,

The reg_agent.conf.tt2 is really just for registrations towards your
peer, which you don't need.

Did you try to set "peer_auth_realm" and "peer_auth_user" according to
your peer requirements, and "peer_auth_pass" to some dummy value (don't
leave it empty!)? The logic only hits in if all three params are filled
out (we should be more clear about this in the docs, but we didn't have
this use case so far :) ).

If that also fails, do another ngrep or tcpdump and compare it with an
ngrep or tcpdump of what your PAP2T sends. Maybe we can then work
something out together.

Andreas

On 09/09/2011 03:02 AM, Dave Massey wrote:
> Sorry didnt hit reply all.
> 
> I mentioned that it looks like some sort of authentication problem with my peer, as I talked to them today.  They are using static IP authentication, and they mentioned I have to send at least the username. 
> I tested this theory with a linksys PAP2T box and sure enough, if I just enter in the proxy, and the username, I can make calls out.  No need for any other settings. 
> I tried to enter in just a username into the peer auth section, as well as the reg_agent.conf.tt2 file and apply settings, but I couldnt make it work.  So I guess my question is, how can I replicate the way the PAP2T box was able to do it?
> 
> Thanks for any help!
> 
> 
> 
> On 2011-09-07, at 9:05 PM, Skyler wrote:
>> Hrmm, yeah that's odd. Still sounds like smoke-n-mirrors to me. My
>> INVITE's look the same as yours ... except all of my calls are going
>> in/out no problems with multiple peers up and down stream. I don't
>> understand why this provider is a problem.
>>
>> If I were you I would add a second (different provider) peer and try
>> them before messing around customizing your config, too much hassle and
>> what works for one will most likely not work for all others. so you'll
>> be in the same predicament later when you decide to move or grow.
>>
>> If you want to try a different box you could grab 3 vps.net nodes for a
>> day @ $3, load the Debian squeeze with a fresh install of spce and try
>> connecting to this provider just to check with another box. Probably a
>> waste of time though by the sounds of it.
>>
>>  if you do the vps.net test you'll need to fix the grub
>> loader/reboot/apt-get upgrade kernel on their image though -before-
>> installing spce. 
>>
>> Here's how:
>> http://www.sysadmintalk.net/forums/Thread-PyGrub-grub-probe-can-t-find-drive-for-dev-xvda1-error-Debian-Squeeze
>>
>>
>>
>> On Wed, 2011-09-07 at 20:02 -0400, Dave Massey wrote:
>>> 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
>>>>
>>>
>>
> 
> 
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> http://lists.sipwise.com/listinfo/spce-user

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20110909/75960416/attachment-0001.asc>


More information about the Spce-user mailing list