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

Andreas Granig agranig at sipwise.com
Fri Sep 9 07:53:23 EDT 2011


Hi Dave,

Again, if it's really the To-Domain, then you could set
"To=$rU at your-provider-ip" instead of "To=$t" in
/etc/ngcp-config/templates/etc/sems/etc/ngcp.sbcprofile.conf.tt2. Not
pretty, but if you can live with it, why not...

For the From, check my answer to your other message, regarding setting
all three values (realm, user AND pass).

If they also rely on the Contact to have a specific format, then it's
really getting ugly and you should change your provider.

Andreas

On 09/09/2011 04:19 AM, Dave Massey wrote:
> Did some more wiretapping on what the linksys box does, compared to SPCE.
> 
> Here are the 2  invites,  from the linksys box that works fine, the To line contains the peers ip address, just like he said it should, and the SPCE invite with the To line having the IP address of the SPCE box itself.
> Should I still be looking for another provider?
> 
> U 2011/09/08 22:09:38.168484 10.40.36.172:5060 -> 74.51.40.188:5060
> INVITE sip:9059753988 at 74.51.40.188 SIP/2.0.
> Via: SIP/2.0/UDP 10.40.36.172:5060;branch=z9hG4bK-890ce664;rport.
> From: Anonymous <sip:1250129338 at 74.51.40.188>;tag=c25ab75482e05650o0.
> To: <sip:9059753988 at 74.51.40.188>.
> Call-ID: 6ee2bea4-56bf7740 at localhost.
> CSeq: 101 INVITE.
> Max-Forwards: 70.
> Contact: Anonymous <sip:1250129338 at 10.40.36.172:5060>.
> Expires: 240.
> User-Agent: Linksys/PAP2T-5.1.6(LS).
> Content-Length: 440.
> Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER.
> Supported: x-sipura, replaces.
> Content-Type: application/sdp.
> .
> v=0.
> o=- 37653 37653 IN IP4 10.40.36.172.
> s=-.
> c=IN IP4 10.40.36.172.
> t=0 0.
> m=audio 16454 RTP/AVP 0 2 4 8 18 96 97 98 100 101.
> a=rtpmap:0 PCMU/8000.
> a=rtpmap:2 G726-32/8000.
> a=rtpmap:4 G723/8000.
> a=rtpmap:8 PCMA/8000.
> a=rtpmap:18 G729a/8000.
> a=rtpmap:96 G726-40/8000.
> a=rtpmap:97 G726-24/8000.
> a=rtpmap:98 G726-16/8000.
> a=rtpmap:100 NSE/8000.
> a=fmtp:100 192-193.
> a=rtpmap:101 telephone-event/8000.
> a=fmtp:101 0-15.
> a=ptime:30.
> a=sendrecv.
> 
> ------------------------------------------------------------------------
> 
> 
> U 2011/09/08 22:16:08.096581 24.102.50.6:5060 -> 74.51.40.188:5060
> INVITE sip:9059753988 at 74.51.40.188:5060 SIP/2.0.
> Max-Forwards: 10.
> Record-Route: <sip:24.102.50.6;r2=on;lr=on;ftag=669C2CAE-4E6976E8000171AA-1D3B4700>.
> Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=669C2CAE-4E6976E8000171AA-1D3B4700>.
> Via: SIP/2.0/UDP 24.102.50.6;branch=z9hG4bKb2ed.e92a93a6.0.
> Via: SIP/2.0/UDP 127.0.0.1:5080;branch=z9hG4bK8CUi6aGV;rport=5080.
> From: "1250129338" <sip:1250129338 at 24.102.50.6>;tag=669C2CAE-4E6976E8000171AA-1D3B4700.
> To: <sip:9059753988 at 24.102.50.6>.
> CSeq: 10 INVITE.
> Call-ID: d799890937ee4d9c3758174f752660d7 at 0:0:0:0:0:0:0:0_b2b-1.
> P-Asserted-Identity: <sip:1250129338 at 24.102.50.6>.
> Supported: timer.
> Session-Expires: 300.
> Min-SE: 90.
> Content-Type: application/sdp.
> Content-Length: 981.
> Contact: <sip:ngcp-lb at 24.102.50.6:5060>.
> .
> v=0.
> o=test2 0 0 IN IP4 24.102.50.6.
> s=-.
> c=IN IP4 24.102.50.6.
> t=0 0.
> m=audio 30568 RTP/AVP 9 96 97 98 100 0 8 102 3 103 5 6 15 101.
> a=rtpmap:9 G722/8000.
> a=rtpmap:96 SILK/24000.
> a=rtpmap:97 SILK/16000.
> a=rtpmap:98 speex/32000.
> a=rtpmap:100 speex/16000.
> a=rtpmap:0 PCMU/8000.
> a=rtpmap:8 PCMA/8000.
> a=rtpmap:102 iLBC/8000.
> a=rtpmap:3 GSM/8000.
> a=rtpmap:103 speex/8000.
> a=rtpmap:5 DVI4/8000.
> a=rtpmap:6 DVI4/16000.
> a=rtpmap:15 G728/8000.
> a=rtpmap:101 telephone-event/8000.
> a=extmap:1 urn:ietf:params:rtp-hdrext:csrc-audio-level.
> a=zrtp-hash:1.10 371389a87f145ed92e6374ad229a2e1e0322b3331a686c703b0150621374e0d4.
> m=video 30572 RTP/AVP 104 99.
> a=recvonly.
> a=rtpmap:104 H264/90000.
> a=fmtp:104 packetization-mode=
> 
> 
> 
> 
> 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/19e07cee/attachment-0001.asc>


More information about the Spce-user mailing list