[Spce-user] Routing Outbound Calls to my provider
Kevin Masse
kmasse at questblue.com
Wed Dec 19 19:01:35 EST 2012
Hello, I am a new users to this installation of SipwiseCE. Any help
will be appreciated.
I have inbound calls routing correctly from my provider into the
SipwiseCE and sending them to my subscriber in E.164 format.
I am having a problem routing the calls outbound to my provider.
The IP 24.142.202.27 is a stand alone Asterisk box
The IP 24.142.202.30 is my SipwiseCE
Below is the ngrep-sip (I do understand that I may not have provided
enough information to receive help) In the ngrep-sip it never hits the
IP of my provider.
I am dialing US numbers. And I am thinking I have a bad configuration
in one of the following areas:
Peering Rules
Callee Prefix? I do not know what to place here
Callee Pattern? I do not know what to place here
Caller Pattern? I do not know what to place here
Inbound Rewrite Rules for Caller
Match Pattern ^(00\|+)([1-9][0-9]+)
Replacement Pattern \2
Inbound Rewrite Rules for Callee
Match Pattern ^(00\|+)([1-9][0-9]+)
Replacement Pattern \2
Outbound Rewrite Rules for Caller
Match Pattern ^(00\|+)([1-9][0-9]+)
Replacement Pattern \2
Outbound Rewrite Rules for Callee
Match Pattern ^(00\|+)([1-9][0-9]+)
Replacement Pattern \2
#
U 2012/12/19 18:45:53.275597 24.142.202.27:5060 -> 24.142.202.30:5060
INVITE sip:19194431617 at 24.142.202.30 SIP/2.0'
Via: SIP/2.0/UDP 24.142.202.27:5060;branch=z9hG4bK6169390b;rport'
From: "1481" <sip:voipact at 24.142.202.27>;tag=as4ec4ef00'
To: <sip:19194431617 at 24.142.202.30>'
Contact: <sip:voipact at 24.142.202.27>'
Call-ID: 06408eea4d695bb86b8c478807d52811 at 24.142.202.27'
CSeq: 102 INVITE'
User-Agent: Asterisk PBX'
Max-Forwards: 70'
Date: Wed, 19 Dec 2012 23:45:53 GMT'
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY'
Supported: replaces'
Content-Type: application/sdp'
Content-Length: 426'
'
v=0'
o=root 3235 3235 IN IP4 24.142.202.27'
s=session'
c=IN IP4 24.142.202.27'
t=0 0'
m=audio 11144 RTP/AVP 0 8 3 112 5 10 7 111 101'
a=rtpmap:0 PCMU/8000'
a=rtpmap:8 PCMA/8000'
a=rtpmap:3 GSM/8000'
a=rtpmap:112 AAL2-G726-32/8000'
a=rtpmap:5 DVI4/8000'
a=rtpmap:10 L16/8000'
a=rtpmap:7 LPC/8000'
a=rtpmap:111 G726-32/8000'
a=rtpmap:101 telephone-event/8000'
a=fmtp:101 0-16'
a=silenceSupp:off - - - -'
a=ptime:20'
a=sendrecv'
#
U 2012/12/19 18:45:53.275785 127.0.0.1:5060 -> 127.0.0.1:5062
INVITE sip:19194431617 at 24.142.202.30 SIP/2.0'
Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=as4ec4ef00;ngcplb=yes>'
Record-Route:
<sip:24.142.202.30;r2=on;lr=on;ftag=as4ec4ef00;ngcplb=yes>'
Via: SIP/2.0/UDP
127.0.0.1;branch=z9hG4bK10f1.be848065e03dcfc1817d88f125652b2b.0'
Via: SIP/2.0/UDP 24.142.202.27:5060;branch=z9hG4bK6169390b;rport=5060'
From: "1481" <sip: voipact @24.142.202.27>;tag=as4ec4ef00'
To: <sip:19194431617 at 24.142.202.30>'
Contact: <sip: voipact @24.142.202.27>'
Call-ID: 06408eea4d695bb86b8c478807d52811 at 24.142.202.27'
CSeq: 102 INVITE'
User-Agent: Asterisk PBX'
Max-Forwards: 69'
Date: Wed, 19 Dec 2012 23:45:53 GMT'
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY'
Supported: replaces'
Content-Type: application/sdp'
Content-Length: 426'
P-NGCP-Src-Ip: 24.142.202.27'
P-NGCP-Src-Port: 5060'
P-NGCP-Src-Proto: udp'
P-NGCP-Src-Af: 4'
'
v=0'
o=root 3235 3235 IN IP4 24.142.202.27'
s=session'
c=IN IP4 24.142.202.27'
t=0 0'
m=audio 11144 RTP/AVP 0 8 3 112 5 10 7 111 101'
a=rtpmap:0 PCMU/8000'
a=rtpmap:8 PCMA/8000'
a=rtpmap:3 GSM/8000'
a=rtpmap:112 AAL2-G726-32/8000'
a=rtpmap:5 DVI4/8000'
a=rtpmap:10 L16/8000'
a=rtpmap:7 LPC/8000'
a=rtpmap:111 G726-32/8000'
a=rtpmap:101 telephone-event/8000'
a=fmtp:101 0-16'
a=silenceSupp:off - - - -'
a=ptime:20'
a=sendrecv'
#
U 2012/12/19 18:45:53.275870 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=z9hG4bK10f1.be848065e03dcfc1817d88f125652b2b.0;rport=50
60'
Via: SIP/2.0/UDP 24.142.202.27:5060;branch=z9hG4bK6169390b;rport=5060'
From: "1481" <sip: voipact @24.142.202.27>;tag=as4ec4ef00'
To: <sip:19194431617 at 24.142.202.30>'
Call-ID: 06408eea4d695bb86b8c478807d52811 at 24.142.202.27'
CSeq: 102 INVITE'
Server: Sipwise NGCP Proxy 2.X'
Content-Length: 0'
'
#
U 2012/12/19 18:45:53.275967 24.142.202.30:5060 -> 24.142.202.27:5060
SIP/2.0 100 Trying'
Via: SIP/2.0/UDP 24.142.202.27:5060;branch=z9hG4bK6169390b;rport=5060'
From: "1481" <sip: voipact @24.142.202.27>;tag=as4ec4ef00'
To: <sip:19194431617 at 24.142.202.30>'
Call-ID: 06408eea4d695bb86b8c478807d52811 at 24.142.202.27'
CSeq: 102 INVITE'
Server: Sipwise NGCP Proxy 2.X'
Content-Length: 0'
'
#
U 2012/12/19 18:45:53.276327 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=z9hG4bK10f1.be848065e03dcfc1817d88f125652b2b.0;rport=50
60'
Via: SIP/2.0/UDP 24.142.202.27:5060;branch=z9hG4bK6169390b;rport=5060'
From: "1481" <sip: voipact @24.142.202.27>;tag=as4ec4ef00'
To:
<sip:19194431617 at 24.142.202.30>;tag=1d24a28a0bded6c40d31e6db8aab9ac6.25b
0'
Call-ID: 06408eea4d695bb86b8c478807d52811 at 24.142.202.27'
CSeq: 102 INVITE'
Proxy-Authenticate: Digest realm="24.142.202.27",
nonce="UNJS3FDSUbB/Pv4ZCzxWQYj4Rc+K7cjW"'
Server: Sipwise NGCP Proxy 2.X'
Content-Length: 0'
'
#
U 2012/12/19 18:45:53.276410 24.142.202.30:5060 -> 24.142.202.27:5060
SIP/2.0 407 Proxy Authentication Required'
Via: SIP/2.0/UDP 24.142.202.27:5060;branch=z9hG4bK6169390b;rport=5060'
From: "1481" <sip: voipact @24.142.202.27>;tag=as4ec4ef00'
To:
<sip:19194431617 at 24.142.202.30>;tag=1d24a28a0bded6c40d31e6db8aab9ac6.25b
0'
Call-ID: 06408eea4d695bb86b8c478807d52811 at 24.142.202.27'
CSeq: 102 INVITE'
Proxy-Authenticate: Digest realm="24.142.202.27",
nonce="UNJS3FDSUbB/Pv4ZCzxWQYj4Rc+K7cjW"'
Server: Sipwise NGCP Proxy 2.X'
Content-Length: 0'
'
#
U 2012/12/19 18:45:53.277392 24.142.202.27:5060 -> 24.142.202.30:5060
ACK sip:19194431617 at 24.142.202.30 SIP/2.0'
Via: SIP/2.0/UDP 24.142.202.27:5060;branch=z9hG4bK6169390b;rport'
From: "1481" <sip: voipact @24.142.202.27>;tag=as4ec4ef00'
To:
<sip:19194431617 at 24.142.202.30>;tag=1d24a28a0bded6c40d31e6db8aab9ac6.25b
0'
Contact: <sip: voipact @24.142.202.27>'
Call-ID: 06408eea4d695bb86b8c478807d52811 at 24.142.202.27'
CSeq: 102 ACK'
User-Agent: Asterisk PBX'
Max-Forwards: 70'
Content-Length: 0'
'
#
U 2012/12/19 18:45:53.277514 127.0.0.1:5060 -> 127.0.0.1:5062
ACK sip:19194431617 at 24.142.202.30 SIP/2.0'
Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=as4ec4ef00;ngcplb=yes>'
Record-Route:
<sip:24.142.202.30;r2=on;lr=on;ftag=as4ec4ef00;ngcplb=yes>'
Via: SIP/2.0/UDP
127.0.0.1;branch=z9hG4bK10f1.be848065e03dcfc1817d88f125652b2b.0'
Via: SIP/2.0/UDP 24.142.202.27:5060;branch=z9hG4bK6169390b;rport=5060'
From: "1481" <sip: voipact @24.142.202.27>;tag=as4ec4ef00'
To:
<sip:19194431617 at 24.142.202.30>;tag=1d24a28a0bded6c40d31e6db8aab9ac6.25b
0'
Contact: <sip: voipact @24.142.202.27>'
Call-ID: 06408eea4d695bb86b8c478807d52811 at 24.142.202.27'
CSeq: 102 ACK'
User-Agent: Asterisk PBX'
Max-Forwards: 69'
Content-Length: 0'
P-NGCP-Src-Ip: 24.142.202.27'
P-NGCP-Src-Port: 5060'
P-NGCP-Src-Proto: udp'
P-NGCP-Src-Af: 4'
'
#
U 2012/12/19 18:45:53.278877 24.142.202.27:5060 -> 24.142.202.30:5060
INVITE sip:19194431617 at 24.142.202.30 SIP/2.0'
Via: SIP/2.0/UDP 24.142.202.27:5060;branch=z9hG4bK40978c71;rport'
From: "1481" <sip: voipact @24.142.202.27>;tag=as4ec4ef00'
To: <sip:19194431617 at 24.142.202.30>'
Contact: <sip: voipact @24.142.202.27>'
Call-ID: 06408eea4d695bb86b8c478807d52811 at 24.142.202.27'
CSeq: 103 INVITE'
User-Agent: Asterisk PBX'
Max-Forwards: 70'
Proxy-Authorization: Digest username=" voipact ", realm="24.142.202.27",
algorithm=MD5, uri="sip:19194431617 at 24.142.202.30",
nonce="UNJS3FDSUbB/Pv4ZCzxWQYj4Rc+K7cjW",
response="c88e65d82827f7fa1d3296c22f6a98c6"'
Date: Wed, 19 Dec 2012 23:45:53 GMT'
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY'
Supported: replaces'
Content-Type: application/sdp'
Content-Length: 426'
'
v=0'
o=root 3235 3236 IN IP4 24.142.202.27'
s=session'
c=IN IP4 24.142.202.27'
t=0 0'
m=audio 11144 RTP/AVP 0 8 3 112 5 10 7 111 101'
a=rtpmap:0 PCMU/8000'
a=rtpmap:8 PCMA/8000'
a=rtpmap:3 GSM/8000'
a=rtpmap:112 AAL2-G726-32/8000'
a=rtpmap:5 DVI4/8000'
a=rtpmap:10 L16/8000'
a=rtpmap:7 LPC/8000'
a=rtpmap:111 G726-32/8000'
a=rtpmap:101 telephone-event/8000'
a=fmtp:101 0-16'
a=silenceSupp:off - - - -'
a=ptime:20'
a=sendrecv'
#
U 2012/12/19 18:45:53.278960 24.142.202.30:5060 -> 24.142.202.27:5060
SIP/2.0 403 Try again later'
Via: SIP/2.0/UDP 24.142.202.27:5060;branch=z9hG4bK40978c71;rport=5060'
From: "1481" <sip: voipact @24.142.202.27>;tag=as4ec4ef00'
To:
<sip:19194431617 at 24.142.202.30>;tag=7beecc322be85b5b78fdbb4831559d6f.c97
4'
Call-ID: 06408eea4d695bb86b8c478807d52811 at 24.142.202.27'
CSeq: 103 INVITE'
Server: Sipwise NGCP LB 2.X'
Content-Length: 0'
'
#
U 2012/12/19 18:45:53.280094 24.142.202.27:5060 -> 24.142.202.30:5060
ACK sip:19194431617 at 24.142.202.30 SIP/2.0'
Via: SIP/2.0/UDP 24.142.202.27:5060;branch=z9hG4bK40978c71;rport'
From: "1481" <sip: voipact @24.142.202.27>;tag=as4ec4ef00'
To:
<sip:19194431617 at 24.142.202.30>;tag=7beecc322be85b5b78fdbb4831559d6f.c97
4'
Contact: <sip: voipact @24.142.202.27>'
Call-ID: 06408eea4d695bb86b8c478807d52811 at 24.142.202.27'
CSeq: 103 ACK'
User-Agent: Asterisk PBX'
Max-Forwards: 70'
Content-Length: 0'
'
#
U 2012/12/19 18:45:54.827362 127.0.0.1:7913 -> 127.0.0.1:5060
OPTIONS sip:nagios at voip.sipwise.local SIP/2.0'
Via: SIP/2.0/UDP 127.0.1.1:7913;branch=z9hG4bK.2be5fee7;rport;alias'
From: sip:sipsak at 127.0.1.1:7913;tag=490b3b2d'
To: sip:nagios at voip.sipwise.local'
Call-ID: 1225472813 at 127.0.1.1'
CSeq: 1 OPTIONS'
Contact: sip:sipsak at 127.0.1.1:7913'
Content-Length: 0'
Max-Forwards: 70'
User-Agent: sipsak 0.9.6'
Accept: text/plain'
'
#
U 2012/12/19 18:45:54.827512 127.0.0.1:5060 -> 127.0.0.1:5062
OPTIONS sip:nagios at voip.sipwise.local SIP/2.0'
Record-Route: <sip:127.0.0.1;lr=on;ftag=490b3b2d;ngcplb=yes>'
Via: SIP/2.0/UDP
127.0.0.1;branch=z9hG4bKafb7.6a032af7b8f19498f5dbe57a1bc3afe5.0'
Via: SIP/2.0/UDP
127.0.1.1:7913;received=127.0.0.1;branch=z9hG4bK.2be5fee7;rport=7913;ali
as'
From: sip:sipsak at 127.0.1.1:7913;tag=490b3b2d'
To: sip:nagios at voip.sipwise.local'
Call-ID: 1225472813 at 127.0.1.1'
CSeq: 1 OPTIONS'
Contact: sip:sipsak at 127.0.1.1:7913'
Content-Length: 0'
Max-Forwards: 69'
User-Agent: sipsak 0.9.6'
Accept: text/plain'
P-NGCP-Src-Ip: 127.0.0.1'
P-NGCP-Src-Port: 7913'
P-NGCP-Src-Proto: udp'
P-NGCP-Src-Af: 4'
'
#
U 2012/12/19 18:45:54.827585 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=z9hG4bKafb7.6a032af7b8f19498f5dbe57a1bc3afe5.0;rport=50
60'
Via: SIP/2.0/UDP
127.0.1.1:7913;received=127.0.0.1;branch=z9hG4bK.2be5fee7;rport=7913;ali
as'
From: sip:sipsak at 127.0.1.1:7913;tag=490b3b2d'
To: sip:nagios at voip.sipwise.local'
Call-ID: 1225472813 at 127.0.1.1'
CSeq: 1 OPTIONS'
Server: Sipwise NGCP Proxy 2.X'
Content-Length: 0'
'
#
U 2012/12/19 18:45:54.827631 127.0.0.1:5062 -> 127.0.0.1:5060
SIP/2.0 200 Alive'
Record-Route: <sip:127.0.0.1;lr=on;ftag=490b3b2d;ngcplb=yes>'
Via: SIP/2.0/UDP
127.0.0.1;branch=z9hG4bKafb7.6a032af7b8f19498f5dbe57a1bc3afe5.0;rport=50
60'
Via: SIP/2.0/UDP
127.0.1.1:7913;received=127.0.0.1;branch=z9hG4bK.2be5fee7;rport=7913;ali
as'
From: sip:sipsak at 127.0.1.1:7913;tag=490b3b2d'
To:
sip:nagios at voip.sipwise.local;tag=1d24a28a0bded6c40d31e6db8aab9ac6.4b10'
Call-ID: 1225472813 at 127.0.1.1'
CSeq: 1 OPTIONS'
Server: Sipwise NGCP Proxy 2.X'
Content-Length: 0'
'
#
U 2012/12/19 18:45:54.827658 127.0.0.1:5060 -> 127.0.0.1:7913
SIP/2.0 100 Trying'
Via: SIP/2.0/UDP
127.0.1.1:7913;received=127.0.0.1;branch=z9hG4bK.2be5fee7;rport=7913;ali
as'
From: sip:sipsak at 127.0.1.1:7913;tag=490b3b2d'
To: sip:nagios at voip.sipwise.local'
Call-ID: 1225472813 at 127.0.1.1'
CSeq: 1 OPTIONS'
Server: Sipwise NGCP Proxy 2.X'
Content-Length: 0'
'
#
U 2012/12/19 18:45:54.827701 127.0.0.1:5060 -> 127.0.0.1:7913
SIP/2.0 200 Alive'
Record-Route: <sip:127.0.0.1;lr=on;ftag=490b3b2d;ngcplb=yes>'
Via: SIP/2.0/UDP
127.0.1.1:7913;received=127.0.0.1;branch=z9hG4bK.2be5fee7;rport=7913;ali
as'
From: sip:sipsak at 127.0.1.1:7913;tag=490b3b2d'
To:
sip:nagios at voip.sipwise.local;tag=1d24a28a0bded6c40d31e6db8aab9ac6.4b10'
Call-ID: 1225472813 at 127.0.1.1'
CSeq: 1 OPTIONS'
Server: Sipwise NGCP Proxy 2.X'
Content-Length: 0'
'
Thank you in advance,
Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20121219/d5076702/attachment.html>
More information about the Spce-user
mailing list