[OpenSIPS-Users] Problem Forward DDI/DID To asterisk
mahan77
mail at sathees.co.uk
Wed Mar 4 16:02:00 CET 2015
Hi,
I’m trying to setup OpenSIPS as a proxy to asterisk. I just want to pass the
sip related activates to asterisk box.
OpenSIPS running on → 192.168.1.150
Asterisk running on → 192.168.1.85
OpenSIPS UA using asterisk sippers.
I will able to register UA via soft phone to → 192.168.1.150 then OpenSIPS
passing the sip packet to asterisk → 192.168.1.85. With out any problem.
I want to receive all DDI/DID calls into OpenSIPS and then have them
forwarded to Asterisk.
If UA registered with asterisk via OpenSIPS DDI/DID Calls stopping at
OpenSIPS.
If UA not registered DDI/DID calls will be forwarded to asterisk without any
problem.
I have attach ngrep on both servers.
I can’t figure out what’s wrong, any help will be nice.
This is my basic OpenSIPS script.
route{
if(is_method("REGISTER")){
rewritehostport("192.168.1.85:5060");
route(1);
}
if (is_method("INVITE")) {
if ( uri=~"^sip:[1-9][0-9]{10,15}@user.ddns.com") {
rewritehostport("192.168.1.85:5060");
route(1);
exit;
};
}
}
==============================================================
192.168.1.150 → UA OFF LINE
==============================================================
interface: eth0 (192.168.1.0/255.255.255.0)
filter: (ip or ip6) and ( port 5060 )
U 87.117.XX.XX:5060 -> 192.168.1.150:5060
INVITE sip:442030009999 at user.ddns.com SIP/2.0.
Via: SIP/2.0/UDP 87.117.XX.XX:5060;rport;branch=z9hG4bK9Qy772eQ8ac0N.
Max-Forwards: 68.
From: "07720000999" <sip:07720000999 at 87.117.XX.XX>;tag=v0jKH9Se1Bmrr.
To: <sip:442030009999 at user.ddns.com>.
Call-ID: 89807087-3d1b-1233-4c90-aba651435a79.
CSeq: 72403154 INVITE.87.117.XX.XX
Contact: <sip:mod_sofia at 87.117.XX.XX:5060>.
User-Agent: TelNG GW.
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER,
REFER, NOTIFY, PUBLISH, SUBSCRIBE.
Supported: timer, precondition, path, replaces.
Allow-Events: talk, hold, conference, presence, dialog, line-seize,
call-info, sla, include-session-description, presence.winfo,
message-summary, refer.
Session-Expires: 1800;refresher=uac.
Min-SE: 120.
Privacy: none.
Content-Type: application/sdp.
Content-Disposition: session.
Content-Length: 225.
X-3C-ACCOUNT: 8166.
X-3C-DIRECTION: in.
X-FS-Support: update_display,send_info.
P-Asserted-Identity: "07720000999" <sip:07720000999 at 87.117.XX.XX>.
.
v=0.
o=FreeSWITCH 1425447790 1425447791 IN IP4 87.117.XX.XX.
s=FreeSWITCH.
c=IN IP4 87.117.XX.XX.
t=0 0.
m=audio 30646 RTP/AVP 8 0 18 101 13.
a=fmtp:18 annexb=no.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
a=ptime:20.
U 192.168.1.150:5060 -> 87.117.XX.XX:5060
SIP/2.0 100 Giving a try.
Via: SIP/2.0/UDP
87.117.XX.XX:5060;received=87.117.XX.XX;rport=5060;branch=z9hG4bK9Qy772eQ8ac0N.
From: "07720000999" <sip:07720000999 at 87.117.XX.XX>;tag=v0jKH9Se1Bmrr.
To: <sip:442030009999 at user.ddns.com>.
Call-ID: 89807087-3d1b-1233-4c90-aba651435a79.
CSeq: 72403154 INVITE.
Server: OpenSIPS (1.11.3-tls (x86_64/linux)).
Content-Length: 0.
.
U 192.168.1.150:5060 -> 192.168.1.85:5060
INVITE sip:442030009999 at 192.168.1.85:5060 SIP/2.0.
Via: SIP/2.0/UDP 192.168.1.150:5060;branch=z9hG4bK7209.7f9cedf1.0.
Via: SIP/2.0/UDP
87.117.XX.XX:5060;received=87.117.XX.XX;rport=5060;branch=z9hG4bK9Qy772eQ8ac0N.
Max-Forwards: 68.
From: "07720000999" <sip:07720000999 at 87.117.XX.XX>;tag=v0jKH9Se1Bmrr.
To: <sip:442030009999 at user.ddns.com>.
Call-ID: 89807087-3d1b-1233-4c90-aba651435a79.
CSeq: 72403154 INVITE.
Contact: <sip:mod_sofia at 87.117.XX.XX:5060>.
User-Agent: TelNG GW.
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER,
REFER, NOTIFY, PUBLISH, SUBSCRIBE.
Supported: timer, precondition, path, replaces.
Allow-Events: talk, hold, conference, presence, dialog, line-seize,
call-info, sla, include-session-description, presence.winfo,
message-summary, refer.
Session-Expires: 1800;refresher=uac.
Min-SE: 120.
Privacy: none.
Content-Type: application/sdp.
Content-Disposition: session.
Content-Length: 225.
X-3C-ACCOUNT: 8166.
X-3C-DIRECTION: in.
X-FS-Support: update_display,send_info.
P-Asserted-Identity: "07720000999" <sip:07720000999 at 87.117.XX.XX>.
.
v=0.
o=FreeSWITCH 1425447790 1425447791 IN IP4 87.117.XX.XX.
s=FreeSWITCH.
c=IN IP4 87.117.XX.XX.
t=0 0.
m=audio 30646 RTP/AVP 8 0 18 101 13.
a=fmtp:18 annexb=no.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
a=ptime:20.
U 192.168.1.85:5060 -> 192.168.1.150:5060
SIP/2.0 100 Trying.
Via: SIP/2.0/UDP
192.168.1.150:5060;branch=z9hG4bK7209.7f9cedf1.0;received=192.168.1.150.
Via: SIP/2.0/UDP
87.117.XX.XX:5060;received=87.117.XX.XX;rport=5060;branch=z9hG4bK9Qy772eQ8ac0N.
From: "07720000999" <sip:07720000999 at 87.117.XX.XX>;tag=v0jKH9Se1Bmrr.
To: <sip:442030009999 at user.ddns.com>.
Call-ID: 89807087-3d1b-1233-4c90-aba651435a79.
CSeq: 72403154 INVITE.
Server: Asterisk PBX SVN-branch-13-r432059.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO,
PUBLISH, MESSAGE.
Supported: replaces, timer.
Session-Expires: 1800;refresher=uac.
Contact: <sip:442030009999 at 192.168.1.85:5060>.
Content-Length: 0.
.
U 192.168.1.85:5060 -> 192.168.1.150:5060
SIP/2.0 200 OK.
Via: SIP/2.0/UDP
192.168.1.150:5060;branch=z9hG4bK7209.7f9cedf1.0;received=192.168.1.150.
Via: SIP/2.0/UDP
87.117.XX.XX:5060;received=87.117.XX.XX;rport=5060;branch=z9hG4bK9Qy772eQ8ac0N.
From: "07720000999" <sip:07720000999 at 87.117.XX.XX>;tag=v0jKH9Se1Bmrr.
To: <sip:442030009999 at user.ddns.com>;tag=as7e1c9b7e.
Call-ID: 89807087-3d1b-1233-4c90-aba651435a79.
CSeq: 72403154 INVITE.
Server: Asterisk PBX SVN-branch-13-r432059.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO,
PUBLISH, MESSAGE.
Supported: replaces, timer.
Session-Expires: 1800;refresher=uac.
Contact: <sip:442030009999 at 192.168.1.85:5060>.
Content-Type: application/sdp.
Require: timer.
Content-Length: 299.
.
v=0.
o=root 394092194 394092194 IN IP4 192.168.1.85.
s=Asterisk PBX SVN-branch-13-r432059.
c=IN IP4 192.168.1.85.
t=0 0.
m=audio 17244 RTP/AVP 0 8 3 101.
a=rtpmap:0 PCMU/8000.
a=rtpmap:8 PCMA/8000.
a=rtpmap:3 GSM/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
a=maxptime:150.
a=sendrecv.
U 192.168.1.150:5060 -> 87.117.XX.XX:5060
SIP/2.0 200 OK.
Via: SIP/2.0/UDP
87.117.XX.XX:5060;received=87.117.XX.XX;rport=5060;branch=z9hG4bK9Qy772eQ8ac0N.
From: "07720000999" <sip:07720000999 at 87.117.XX.XX>;tag=v0jKH9Se1Bmrr.
To: <sip:442030009999 at user.ddns.com>;tag=as7e1c9b7e.
Call-ID: 89807087-3d1b-1233-4c90-aba651435a79.
CSeq: 72403154 INVITE.
Server: Asterisk PBX SVN-branch-13-r432059.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO,
PUBLISH, MESSAGE.
Supported: replaces, timer.
Session-Expires: 1800;refresher=uac.
Contact: <sip:442030009999 at 192.168.1.85:5060>.
Content-Type: application/sdp.
Require: timer.
Content-Length: 299.
.
v=0.
o=root 394092194 394092194 IN IP4 192.168.1.85.
s=Asterisk PBX SVN-branch-13-r432059.
c=IN IP4 192.168.1.85.
t=0 0.
m=audio 17244 RTP/AVP 0 8 3 101.
a=rtpmap:0 PCMU/8000.
a=rtpmap:8 PCMA/8000.
a=rtpmap:3 GSM/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
a=maxptime:150.
a=sendrecv.
==================================================================
192.168.1.150 → UA ON LINE
==================================================================
interface: eth0 (192.168.1.0/255.255.255.0)
filter: (ip or ip6) and ( port 5060 )
U 192.168.1.64:5060 -> 192.168.1.150:5060
.
A.... .A.....
3.
U 87.117.XX.XX:5060 -> 192.168.1.150:5060
INVITE sip:442030009999 at user.ddns.com SIP/2.0.
Via: SIP/2.0/UDP 87.117.XX.XX:5060;rport;branch=z9hG4bK1XU79Det4BUjF.
Max-Forwards: 68.
From: "07720000999" <sip:07720000999 at 87.117.XX.XX>;tag=tjQeQjgc9Z5Km.
To: <sip:442030009999 at user.ddns.com>.
Call-ID: bde6f09c-3d1c-1233-f6a1-49f9ef1a62b7.
CSeq: 72403413 INVITE.
Contact: <sip:mod_sofia at 87.117.XX.XX:5060>.
User-Agent: TelNG GW.
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER,
REFER, NOTIFY, PUBLISH, SUBSCRIBE.
Supported: timer, precondition, path, replaces.
Allow-Events: talk, hold, conference, presence, dialog, line-seize,
call-info, sla, include-session-description, presence.winfo,
message-summary, refer.
Session-Expires: 1800;refresher=uac.
Min-SE: 120.
Privacy: none.
Content-Type: application/sdp.
Content-Disposition: session.
Content-Length: 225.
X-3C-ACCOUNT: 8166.
X-3C-DIRECTION: in.
X-FS-Support: update_display,send_info.
P-Asserted-Identity: "07720000999" <sip:07720000999 at 87.117.XX.XX>.
.
v=0.
o=FreeSWITCH 1425449900 1425449901 IN IP4 87.117.XX.XX.
s=FreeSWITCH.
c=IN IP4 87.117.XX.XX.
t=0 0.
m=audio 29054 RTP/AVP 8 0 18 101 13.
a=fmtp:18 annexb=no.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
a=ptime:20.
U 192.168.1.150:5060 -> 87.117.XX.XX:5060
SIP/2.0 100 Giving a try.
Via: SIP/2.0/UDP
87.117.XX.XX:5060;received=87.117.XX.XX;rport=5060;branch=z9hG4bK1XU79Det4BUjF.
From: "07720000999" <sip:07720000999 at 87.117.XX.XX>;tag=tjQeQjgc9Z5Km.
To: <sip:442030009999 at user.ddns.com>.
Call-ID: bde6f09c-3d1c-1233-f6a1-49f9ef1a62b7.
CSeq: 72403413 INVITE.
Server: OpenSIPS (1.11.3-tls (x86_64/linux)).
Content-Length: 0.
.
U 192.168.1.150:5060 -> 192.168.1.85:5060
INVITE sip:442030009999 at 192.168.1.85:5060 SIP/2.0.
Via: SIP/2.0/UDP 192.168.1.150:5060;branch=z9hG4bK0b39.642fa4b4.0.
Via: SIP/2.0/UDP
87.117.XX.XX:5060;received=87.117.XX.XX;rport=5060;branch=z9hG4bK1XU79Det4BUjF.
Max-Forwards: 68.
From: "07720000999" <sip:07720000999 at 87.117.XX.XX>;tag=tjQeQjgc9Z5Km.
To: <sip:442030009999 at user.ddns.com>.
Call-ID: bde6f09c-3d1c-1233-f6a1-49f9ef1a62b7.
CSeq: 72403413 INVITE.
Contact: <sip:mod_sofia at 87.117.XX.XX:5060>.
User-Agent: TelNG GW.
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER,
REFER, NOTIFY, PUBLISH, SUBSCRIBE.
Supported: timer, precondition, path, replaces.
Allow-Events: talk, hold, conference, presence, dialog, line-seize,
call-info, sla, include-session-description, presence.winfo,
message-summary, refer.
Session-Expires: 1800;refresher=uac.
Min-SE: 120.
Privacy: none.
Content-Type: application/sdp.
Content-Disposition: session.
Content-Length: 225.
X-3C-ACCOUNT: 8166.
X-3C-DIRECTION: in.
X-FS-Support: update_display,send_info.
P-Asserted-Identity: "07720000999" <sip:07720000999 at 87.117.XX.XX>.
.
v=0.
o=FreeSWITCH 1425449900 1425449901 IN IP4 87.117.XX.XX.
s=FreeSWITCH.
c=IN IP4 87.117.XX.XX.
t=0 0.
m=audio 29054 RTP/AVP 8 0 18 101 13.
a=fmtp:18 annexb=no.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
a=ptime:20.
U 192.168.1.85:5060 -> 192.168.1.150:5060
SIP/2.0 401 Unauthorized.
Via: SIP/2.0/UDP
192.168.1.150:5060;branch=z9hG4bK0b39.642fa4b4.0;received=192.168.1.150;rport=5060.
Via: SIP/2.0/UDP
87.117.XX.XX:5060;received=87.117.XX.XX;rport=5060;branch=z9hG4bK1XU79Det4BUjF.
From: "07720000999" <sip:07720000999 at 87.117.XX.XX>;tag=tjQeQjgc9Z5Km.
To: <sip:442030009999 at user.ddns.com>;tag=as24e1cd09.
Call-ID: bde6f09c-3d1c-1233-f6a1-49f9ef1a62b7.
CSeq: 72403413 INVITE.
Server: Asterisk PBX SVN-branch-13-r432059.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO,
PUBLISH, MESSAGE.
Supported: replaces, timer.
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="311b4438".
Content-Length: 0.
.
U 192.168.1.150:5060 -> 192.168.1.85:5060
ACK sip:442030009999 at 192.168.1.85:5060 SIP/2.0.
Via: SIP/2.0/UDP 192.168.1.150:5060;branch=z9hG4bK0b39.642fa4b4.0.
From: "07720000999" <sip:07720000999 at 87.117.XX.XX>
==================================================================
192.168.1.85 → UA OFF LINE
==================================================================
interface: eth0 (192.168.1.0/255.255.255.0)
filter: (ip or ip6) and ( port 5060 )
U 192.168.1.150:5060 -> 192.168.1.85:5060
INVITE sip:442030009999 at 192.168.1.85:5060 SIP/2.0.
Via: SIP/2.0/UDP 192.168.1.150:5060;branch=z9hG4bKb2b5.d24a1697.0.
Via: SIP/2.0/UDP
87.117.XX.XX:5060;received=87.117.XX.XX;rport=5060;branch=z9hG4bKjQ9BZ0KmrjjKB.
Max-Forwards: 68.
From: "07720000999" <sip:07720000999 at 87.117.XX.XX>;tag=mUK4yajK9HvNg.
To: <sip:442030009999 at sathees.icom2.com>.
Call-ID: aa32065b-3d1b-1233-f6a1-49f9ef1a62b7.
CSeq: 72403181 INVITE.
Contact: <sip:mod_sofia at 87.117.XX.XX:5060>.
User-Agent: TelNG GW.
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER,
REFER, NOTIFY, PUBLISH, SUBSCRIBE.
Supported: timer, precondition, path, replaces.
Allow-Events: talk, hold, conference, presence, dialog, line-seize,
call-info, sla, include-session-description, presence.winfo,
message-summary, refer.
Session-Expires: 1800;refresher=uac.
Min-SE: 120.
Privacy: none.
Content-Type: application/sdp.
Content-Disposition: session.
Content-Length: 225.
X-3C-ACCOUNT: 8166.
X-3C-DIRECTION: in.
X-FS-Support: update_display,send_info.
P-Asserted-Identity: "07720000999" <sip:07720000999 at 87.117.XX.XX>.
.
v=0.
o=FreeSWITCH 1425458969 1425458970 IN IP4 87.117.XX.XX.
s=FreeSWITCH.
c=IN IP4 87.117.XX.XX.
t=0 0.
m=audio 19522 RTP/AVP 8 0 18 101 13.
a=fmtp:18 annexb=no.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
a=ptime:20.
U 192.168.1.85:5060 -> 192.168.1.150:5060
SIP/2.0 100 Trying.
Via: SIP/2.0/UDP
192.168.1.150:5060;branch=z9hG4bKb2b5.d24a1697.0;received=192.168.1.150.
Via: SIP/2.0/UDP
87.117.XX.XX:5060;received=87.117.XX.XX;rport=5060;branch=z9hG4bKjQ9BZ0KmrjjKB.
From: "07720000999" <sip:07720000999 at 87.117.XX.XX>;tag=mUK4yajK9HvNg.
To: <sip:442030009999 at sathees.icom2.com>.
Call-ID: aa32065b-3d1b-1233-f6a1-49f9ef1a62b7.
CSeq: 72403181 INVITE.
Server: Asterisk PBX SVN-branch-13-r432059.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO,
PUBLISH, MESSAGE.
Supported: replaces, timer.
Session-Expires: 1800;refresher=uac.
Contact: <sip:442030009999 at 192.168.1.85:5060>.
Content-Length: 0.
.
U 192.168.1.85:5060 -> 192.168.1.150:5060
SIP/2.0 200 OK.
Via: SIP/2.0/UDP
192.168.1.150:5060;branch=z9hG4bKb2b5.d24a1697.0;received=192.168.1.150.
Via: SIP/2.0/UDP
87.117.XX.XX:5060;received=87.117.XX.XX;rport=5060;branch=z9hG4bKjQ9BZ0KmrjjKB.
From: "07720000999" <sip:07720000999 at 87.117.XX.XX>;tag=mUK4yajK9HvNg.
To: <sip:442030009999 at sathees.icom2.com>;tag=as4c83514c.
Call-ID: aa32065b-3d1b-1233-f6a1-49f9ef1a62b7.
CSeq: 72403181 INVITE.
Server: Asterisk PBX SVN-branch-13-r432059.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO,
PUBLISH, MESSAGE.
Supported: replaces, timer.
Session-Expires: 1800;refresher=uac.
Contact: <sip:442030009999 at 192.168.1.85:5060>.
Content-Type: application/sdp.
Require: timer.
Content-Length: 299.
.
v=0.
o=root 324691673 324691673 IN IP4 192.168.1.85.
s=Asterisk PBX SVN-branch-13-r432059.
c=IN IP4 192.168.1.85.
t=0 0.
m=audio 17328 RTP/AVP 0 8 3 101.
a=rtpmap:0 PCMU/8000.
a=rtpmap:8 PCMA/8000.
a=rtpmap:3 GSM/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
a=maxptime:150.
a=sendrecv.
U 87.117.XX.XX:5060 -> 192.168.1.85:5060
ACK sip:442030009999 at 192.168.1.85:5060 SIP/2.0.
Via: SIP/2.0/UDP 87.117.XX.XX:5060;rport;branch=z9hG4bKNjNp4H6yFDNBe.
Max-Forwards: 70.
From: "07720000999" <sip:07720000999 at 87.117.XX.XX>;tag=mUK4yajK9HvNg.
To: <sip:442030009999 at sathees.icom2.com>;tag=as4c83514c.
Call-ID: aa32065b-3d1b-1233-f6a1-49f9ef1a62b7.
CSeq: 72403181 ACK.
Contact: <sip:mod_sofia at 87.117.XX.XX:5060>.
Content-Length: 0.
.
U 192.168.1.85:5060 -> 87.117.XX.XX:5060
BYE sip:mod_sofia at 87.117.XX.XX:5060 SIP/2.0.
Via: SIP/2.0/UDP 192.168.1.85:5060;branch=z9hG4bK6cf09995.
Max-Forwards: 70.
From: <sip:442030009999 at sathees.icom2.com>;tag=as4c83514c.
To: "07720000999" <sip:07720000999 at 87.117.XX.XX>;tag=mUK4yajK9HvNg.
Call-ID: aa32065b-3d1b-1233-f6a1-49f9ef1a62b7.
CSeq: 102 BYE.
User-Agent: Asterisk PBX SVN-branch-13-r432059.
X-Asterisk-HangupCause: Normal Clearing.
X-Asterisk-HangupCauseCode: 16.
Content-Length: 0.
.
U 87.117.XX.XX:5060 -> 192.168.1.85:5060
SIP/2.0 200 OK.
Via: SIP/2.0/UDP 192.168.1.85:5060;branch=z9hG4bK6cf09995.
From: <sip:442030009999 at sathees.icom2.com>;tag=as4c83514c.
To: "07720000999" <sip:07720000999 at 87.117.XX.XX>;tag=mUK4yajK9HvNg.
Call-ID: aa32065b-3d1b-1233-f6a1-49f9ef1a62b7.
CSeq: 102 BYE.
User-Agent: TelNG GW.
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER,
REFER, NOTIFY, PUBLISH, SUBSCRIBE.
Supported: timer, precondition, path, replaces.
Content-Length: 0.
.
===================================================================
192.168.1.85 → UA ON LINE
===================================================================
interface: eth0 (192.168.1.0/255.255.255.0)
filter: (ip or ip6) and ( port 5060 )
U 192.168.1.150:5060 -> 192.168.1.85:5060
INVITE sip:442030009999 at 192.168.1.85:5060 SIP/2.0.
Via: SIP/2.0/UDP 192.168.1.150:5060;branch=z9hG4bK5ce6.17ba0501.0.
Via: SIP/2.0/UDP
87.117.XX.XX:5060;received=87.117.XX.XX;rport=5060;branch=z9hG4bKZ1gary8yDDc3g.
Max-Forwards: 68.
From: "07720000999" <sip:07720000999 at 87.117.XX.XX>;tag=pQ24c45r8DvBF.
To: <sip:442030009999 at sathees.icom2.com>.
Call-ID: bc26acf3-3d1b-1233-f6a1-49f9ef1a62b7.
CSeq: 72403196 INVITE.
Contact: <sip:mod_sofia at 87.117.XX.XX:5060>.
User-Agent: TelNG GW.
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER,
REFER, NOTIFY, PUBLISH, SUBSCRIBE.
Supported: timer, precondition, path, replaces.
Allow-Events: talk, hold, conference, presence, dialog, line-seize,
call-info, sla, include-session-description, presence.winfo,
message-summary, refer.
Session-Expires: 1800;refresher=uac.
Min-SE: 120.
Privacy: none.
Content-Type: application/sdp.
Content-Disposition: session.
Content-Length: 225.
X-3C-ACCOUNT: 8166.
X-3C-DIRECTION: in.
X-FS-Support: update_display,send_info.
P-Asserted-Identity: "07720000999" <sip:07720000999 at 87.117.XX.XX>.
.
v=0.
o=FreeSWITCH 1425451221 1425451222 IN IP4 87.117.XX.XX.
s=FreeSWITCH.
c=IN IP4 87.117.XX.XX.
t=0 0.
m=audio 27300 RTP/AVP 8 0 18 101 13.
a=fmtp:18 annexb=no.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
a=ptime:20.
U 192.168.1.85:5060 -> 192.168.1.150:5060
SIP/2.0 401 Unauthorized.
Via: SIP/2.0/UDP
192.168.1.150:5060;branch=z9hG4bK5ce6.17ba0501.0;received=192.168.1.150;rport=5060.
Via: SIP/2.0/UDP
87.117.XX.XX:5060;received=87.117.XX.XX;rport=5060;branch=z9hG4bKZ1gary8yDDc3g.
From: "07720000999" <sip:07720000999 at 87.117.XX.XX>;tag=pQ24c45r8DvBF.
To: <sip:442030009999 at sathees.icom2.com>;tag=as163a4dd4.
Call-ID: bc26acf3-3d1b-1233-f6a1-49f9ef1a62b7.
CSeq: 72403196 INVITE.
Server: Asterisk PBX SVN-branch-13-r432059.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO,
PUBLISH, MESSAGE.
Supported: replaces, timer.
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="145be05c".
Content-Length: 0.
.
U 192.168.1.150:5060 -> 192.168.1.85:5060
ACK sip:442030009999 at 192.168.1.85:5060 SIP/2.0.
Via: SIP/2.0/UDP 192.168.1.150:5060;branch=z9hG4bK5ce6.17ba0501.0.
From: "07720000999" <sip:07720000999 at 87.117.XX.XX>;tag=pQ24c45r8DvBF.
Call-ID: bc26acf3-3d1b-1233-f6a1-49f9ef1a62b7.
To: <sip:442030009999 at sathees.icom2.com>;tag=as163a4dd4.
CSeq: 72403196 ACK.
Max-Forwards: 70.
User-Agent: OpenSIPS (1.11.3-tls (x86_64/linux)).
Content-Length: 0.
.
--
View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Problem-Forward-DDI-DID-To-asterisk-tp7595597.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
More information about the Users
mailing list