[OpenSIPS-Users] BLF w/ Polycom and FreeSWITCH

Vik Killa vipkilla at gmail.com
Tue Feb 14 14:39:21 CET 2012


I am unable to get BLF to work when I have OpenSIPS in front of FreeSWITCH.
The NOTIFY/SUBSCRIBE appears to be successful, here is SIP trace:

test1.voip.demo.i-evolve.net is the SIP domain pointing at OpenSIPS
(72.43.207.158)
FreeSWITCH IP is 72.43.207.155


----------------begin of packet -----------------------------
U 2012/02/14 08:30:15.660850 72.43.207.130:1666 -> 72.43.207.158:5060

REGISTER sip:test1.voip.demo.i-evolve.net SIP/2.0
Via: SIP/2.0/UDP 72.43.207.130:1666;branch=z9hG4bKf59d03a4266B7F41
From: "Jackie C." <sip:1000 at test1.voip.demo.i-evolve.net>;tag=37656326-ABE8AE0B
To: <sip:1000 at test1.voip.demo.i-evolve.net>
CSeq: 1 REGISTER
Call-ID: 2673bb72-3f195707-51caae10 at 192.168.99.21
Contact: <sip:1000 at 72.43.207.130:1666>;methods="INVITE, ACK, BYE,
CANCEL, OPTIONS, INFO, MESSAGE, SUBSCRIBE, NOTIFY, PRACK, UPDATE,
REFER"
User-Agent: PolycomSoundPointIP-SPIP_330-UA/3.2.2.0477
Accept-Language: en
Max-Forwards: 70
Expires: 3600
Content-Length: 0


------------------end of packet -----------------------------
----------------begin of packet -----------------------------
U 2012/02/14 08:30:15.661413 72.43.207.158:5060 -> 72.43.207.155:5060

REGISTER sip:72.43.207.155:5060 SIP/2.0
Via: SIP/2.0/UDP 72.43.207.158;branch=z9hG4bKf54f.188e1555.0
Via: SIP/2.0/UDP 72.43.207.130:1666;branch=z9hG4bKf59d03a4266B7F41
From: "Jackie C." <sip:1000 at test1.voip.demo.i-evolve.net>;tag=37656326-ABE8AE0B
To: <sip:1000 at test1.voip.demo.i-evolve.net>
CSeq: 1 REGISTER
Call-ID: 2673bb72-3f195707-51caae10 at 192.168.99.21
Contact: <sip:1000 at 72.43.207.130:1666>;methods="INVITE, ACK, BYE,
CANCEL, OPTIONS, INFO, MESSAGE, SUBSCRIBE, NOTIFY, PRACK, UPDATE,
REFER"
User-Agent: PolycomSoundPointIP-SPIP_330-UA/3.2.2.0477
Accept-Language: en
Max-Forwards: 30
Expires: 3600
Content-Length: 0
Path: <sip:72.43.207.158;lr;received=sip:72.43.207.130:1666>
X-AUTH-IP: 72.43.207.130


------------------end of packet -----------------------------
----------------begin of packet -----------------------------
U 2012/02/14 08:30:15.664242 72.43.207.155:5060 -> 72.43.207.158:5060

SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 72.43.207.158;branch=z9hG4bKf54f.188e1555.0
Via: SIP/2.0/UDP 72.43.207.130:1666;branch=z9hG4bKf59d03a4266B7F41
From: "Jackie C." <sip:1000 at test1.voip.demo.i-evolve.net>;tag=37656326-ABE8AE0B
To: <sip:1000 at test1.voip.demo.i-evolve.net>;tag=B3eFSHXS8Q0vN
Call-ID: 2673bb72-3f195707-51caae10 at 192.168.99.21
CSeq: 1 REGISTER
User-Agent: AMPSwitch
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO,
REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: timer, precondition, path, replaces
WWW-Authenticate: Digest realm="test1.voip.demo.i-evolve.net",
nonce="079dfd86-5710-11e1-af11-2f1196b916eb", algorithm=MD5,
qop="auth"
Content-Length: 0


------------------end of packet -----------------------------
----------------begin of packet -----------------------------
U 2012/02/14 08:30:15.664558 72.43.207.158:5060 -> 72.43.207.130:1666

SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 72.43.207.130:1666;branch=z9hG4bKf59d03a4266B7F41
From: "Jackie C." <sip:1000 at test1.voip.demo.i-evolve.net>;tag=37656326-ABE8AE0B
To: <sip:1000 at test1.voip.demo.i-evolve.net>;tag=B3eFSHXS8Q0vN
Call-ID: 2673bb72-3f195707-51caae10 at 192.168.99.21
CSeq: 1 REGISTER
User-Agent: AMPSwitch
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO,
REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: timer, precondition, path, replaces
WWW-Authenticate: Digest realm="test1.voip.demo.i-evolve.net",
nonce="079dfd86-5710-11e1-af11-2f1196b916eb", algorithm=MD5,
qop="auth"
Content-Length: 0


------------------end of packet -----------------------------
----------------begin of packet -----------------------------
U 2012/02/14 08:30:15.682827 72.43.207.130:1666 -> 72.43.207.158:5060

REGISTER sip:test1.voip.demo.i-evolve.net SIP/2.0
Via: SIP/2.0/UDP 72.43.207.130:1666;branch=z9hG4bK7a3b5bcD257C8B9
From: "Jackie C." <sip:1000 at test1.voip.demo.i-evolve.net>;tag=37656326-ABE8AE0B
To: <sip:1000 at test1.voip.demo.i-evolve.net>
CSeq: 2 REGISTER
Call-ID: 2673bb72-3f195707-51caae10 at 192.168.99.21
Contact: <sip:1000 at 72.43.207.130:1666>;methods="INVITE, ACK, BYE,
CANCEL, OPTIONS, INFO, MESSAGE, SUBSCRIBE, NOTIFY, PRACK, UPDATE,
REFER"
User-Agent: PolycomSoundPointIP-SPIP_330-UA/3.2.2.0477
Accept-Language: en
Authorization: Digest username="1000",
realm="test1.voip.demo.i-evolve.net",
nonce="079dfd86-5710-11e1-af11-2f1196b916eb", qop=auth,
cnonce="CNyXC4dNuYJCV0G", nc=00000001,
uri="sip:test1.voip.demo.i-evolve.net",
response="4ff00198d12440fbc2aa14dcf9fb213b", algorithm=MD5
Max-Forwards: 70
Expires: 3600
Content-Length: 0


------------------end of packet -----------------------------
----------------begin of packet -----------------------------
U 2012/02/14 08:30:15.683235 72.43.207.158:5060 -> 72.43.207.155:5060

REGISTER sip:72.43.207.155:5060 SIP/2.0
Via: SIP/2.0/UDP 72.43.207.158;branch=z9hG4bKc54f.4c7b9b9.0
Via: SIP/2.0/UDP 72.43.207.130:1666;branch=z9hG4bK7a3b5bcD257C8B9
From: "Jackie C." <sip:1000 at test1.voip.demo.i-evolve.net>;tag=37656326-ABE8AE0B
To: <sip:1000 at test1.voip.demo.i-evolve.net>
CSeq: 2 REGISTER
Call-ID: 2673bb72-3f195707-51caae10 at 192.168.99.21
Contact: <sip:1000 at 72.43.207.130:1666>;methods="INVITE, ACK, BYE,
CANCEL, OPTIONS, INFO, MESSAGE, SUBSCRIBE, NOTIFY, PRACK, UPDATE,
REFER"
User-Agent: PolycomSoundPointIP-SPIP_330-UA/3.2.2.0477
Accept-Language: en
Authorization: Digest username="1000",
realm="test1.voip.demo.i-evolve.net",
nonce="079dfd86-5710-11e1-af11-2f1196b916eb", qop=auth,
cnonce="CNyXC4dNuYJCV0G", nc=00000001,
uri="sip:test1.voip.demo.i-evolve.net",
response="4ff00198d12440fbc2aa14dcf9fb213b", algorithm=MD5
Max-Forwards: 30
Expires: 3600
Content-Length: 0
Path: <sip:72.43.207.158;lr;received=sip:72.43.207.130:1666>
X-AUTH-IP: 72.43.207.130


------------------end of packet -----------------------------
----------------begin of packet -----------------------------
U 2012/02/14 08:30:15.704392 72.43.207.155:5060 -> 72.43.207.158:5060

SIP/2.0 200 OK
Via: SIP/2.0/UDP 72.43.207.158;branch=z9hG4bKc54f.4c7b9b9.0
Via: SIP/2.0/UDP 72.43.207.130:1666;branch=z9hG4bK7a3b5bcD257C8B9
From: "Jackie C." <sip:1000 at test1.voip.demo.i-evolve.net>;tag=37656326-ABE8AE0B
To: <sip:1000 at test1.voip.demo.i-evolve.net>;tag=cc87tceX50pFH
Call-ID: 2673bb72-3f195707-51caae10 at 192.168.99.21
CSeq: 2 REGISTER
Contact: <sip:1000 at 72.43.207.130:1666>;expires=3600
Date: Tue, 14 Feb 2012 13:30:15 GMT
User-Agent: AMPSwitch
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO,
REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: timer, precondition, path, replaces
Path: <sip:72.43.207.158;lr;received=sip:72.43.207.130:1666>
Content-Length: 0


------------------end of packet -----------------------------
----------------begin of packet -----------------------------
U 2012/02/14 08:30:15.704701 72.43.207.158:5060 -> 72.43.207.130:1666

SIP/2.0 200 OK
Via: SIP/2.0/UDP 72.43.207.130:1666;branch=z9hG4bK7a3b5bcD257C8B9
From: "Jackie C." <sip:1000 at test1.voip.demo.i-evolve.net>;tag=37656326-ABE8AE0B
To: <sip:1000 at test1.voip.demo.i-evolve.net>;tag=cc87tceX50pFH
Call-ID: 2673bb72-3f195707-51caae10 at 192.168.99.21
CSeq: 2 REGISTER
Contact: <sip:1000 at 72.43.207.130:1666>;expires=3600
Date: Tue, 14 Feb 2012 13:30:15 GMT
User-Agent: AMPSwitch
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO,
REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: timer, precondition, path, replaces
Path: <sip:72.43.207.158;lr;received=sip:72.43.207.130:1666>
Content-Length: 0


------------------end of packet -----------------------------
----------------begin of packet -----------------------------
U 2012/02/14 08:30:15.818441 72.43.207.155:5060 -> 72.43.207.158:5060

NOTIFY sip:1000 at 72.43.207.130:1666 SIP/2.0
Via: SIP/2.0/UDP 72.43.207.155;rport;branch=z9hG4bK6Saj311cpBygK
Route: <sip:72.43.207.158;lr;received=sip:72.43.207.130:1666>
Max-Forwards: 70
From: <sip:1000 at test1.voip.demo.i-evolve.net>;tag=DN10v7y029c2c
To: <sip:1000 at test1.voip.demo.i-evolve.net>
Call-ID: df13f894-d1b2-122f-6aa8-928cc183345f
CSeq: 24277043 NOTIFY
Contact: <sip:mod_sofia at 72.43.207.155:5060>
User-Agent: AMPSwitch
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO,
REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: timer, precondition, path, replaces
Event: message-summary
Allow-Events: talk, hold, presence, dialog, line-seize, call-info,
sla, include-session-description, presence.winfo, message-summary,
refer
Subscription-State: terminated;reason=noresource
Content-Type: application/simple-message-summary
Content-Length: 80

Messages-Waiting: no
Message-Account: sip:1000 at test1.voip.demo.i-evolve.net


------------------end of packet -----------------------------
----------------begin of packet -----------------------------
U 2012/02/14 08:30:15.818905 72.43.207.158:5060 -> 72.43.207.130:1666

NOTIFY sip:1000 at 72.43.207.130:1666 SIP/2.0
Record-Route: <sip:72.43.207.158;lr;ftag=DN10v7y029c2c>
Via: SIP/2.0/UDP 72.43.207.158;branch=z9hG4bKa351.ad98d366.0
Via: SIP/2.0/UDP
72.43.207.155;received=72.43.207.155;rport=5060;branch=z9hG4bK6Saj311cpBygK
Max-Forwards: 30
From: <sip:1000 at test1.voip.demo.i-evolve.net>;tag=DN10v7y029c2c
To: <sip:1000 at test1.voip.demo.i-evolve.net>
Call-ID: df13f894-d1b2-122f-6aa8-928cc183345f
CSeq: 24277043 NOTIFY
Contact: <sip:mod_sofia at 72.43.207.155:5060>
User-Agent: AMPSwitch
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO,
REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: timer, precondition, path, replaces
Event: message-summary
Allow-Events: talk, hold, presence, dialog, line-seize, call-info,
sla, include-session-description, presence.winfo, message-summary,
refer
Subscription-State: terminated;reason=noresource
Content-Type: application/simple-message-summary
Content-Length: 80

Messages-Waiting: no
Message-Account: sip:1000 at test1.voip.demo.i-evolve.net


------------------end of packet -----------------------------
----------------begin of packet -----------------------------
U 2012/02/14 08:30:15.837694 72.43.207.130:1666 -> 72.43.207.158:5060

SIP/2.0 200 OK
Via: SIP/2.0/UDP 72.43.207.158;branch=z9hG4bKa351.ad98d366.0
Via: SIP/2.0/UDP
72.43.207.155;received=72.43.207.155;rport=5060;branch=z9hG4bK6Saj311cpBygK
From: <sip:1000 at test1.voip.demo.i-evolve.net>;tag=DN10v7y029c2c
To: "Jackie C." <sip:1000 at test1.voip.demo.i-evolve.net>;tag=BEC991BF-465E06A8
CSeq: 24277043 NOTIFY
Call-ID: df13f894-d1b2-122f-6aa8-928cc183345f
Contact: <sip:1000 at 72.43.207.130:1666>
Record-Route: <sip:72.43.207.158;lr;ftag=DN10v7y029c2c>
Event: message-summary
User-Agent: PolycomSoundPointIP-SPIP_330-UA/3.2.2.0477
Accept-Language: en
Content-Length: 0


------------------end of packet -----------------------------
----------------begin of packet -----------------------------
U 2012/02/14 08:30:15.838293 72.43.207.158:5060 -> 72.43.207.155:5060

SIP/2.0 200 OK
Via: SIP/2.0/UDP
72.43.207.155;received=72.43.207.155;rport=5060;branch=z9hG4bK6Saj311cpBygK
From: <sip:1000 at test1.voip.demo.i-evolve.net>;tag=DN10v7y029c2c
To: "Jackie C." <sip:1000 at test1.voip.demo.i-evolve.net>;tag=BEC991BF-465E06A8
CSeq: 24277043 NOTIFY
Call-ID: df13f894-d1b2-122f-6aa8-928cc183345f
Contact: <sip:1000 at 72.43.207.130:1666>
Record-Route: <sip:72.43.207.158;lr;ftag=DN10v7y029c2c>
Event: message-summary
User-Agent: PolycomSoundPointIP-SPIP_330-UA/3.2.2.0477
Accept-Language: en
Content-Length: 0


------------------end of packet -----------------------------
----------------begin of packet -----------------------------
U 2012/02/14 08:30:16.644021 72.43.207.130:1666 -> 72.43.207.158:5060

SUBSCRIBE sip:1004 at test1.voip.demo.i-evolve.net SIP/2.0
Via: SIP/2.0/UDP 72.43.207.130:1666;branch=z9hG4bKe4c1b0d5A735EFD6
From: "Jackie C." <sip:1000 at test1.voip.demo.i-evolve.net>;tag=D90A32FE-DB2A2443
To: <sip:1004 at test1.voip.demo.i-evolve.net>
CSeq: 1 SUBSCRIBE
Call-ID: 90f25b7b-2a54ccd4-69272b31 at 192.168.99.21
Contact: <sip:1000 at 72.43.207.130:1666>
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, INFO, MESSAGE, SUBSCRIBE,
NOTIFY, PRACK, UPDATE, REFER
Event: presence
User-Agent: PolycomSoundPointIP-SPIP_330-UA/3.2.2.0477
Accept-Language: en
Accept: application/xpidf+xml,text/xml+msrtc.pidf
Max-Forwards: 70
Expires: 3600
Content-Length: 0


------------------end of packet -----------------------------
----------------begin of packet -----------------------------
U 2012/02/14 08:30:16.644554 72.43.207.158:5060 -> 72.43.207.155:5060

SUBSCRIBE sip:1004 at 72.43.207.155:5060 SIP/2.0
Record-Route: <sip:72.43.207.158;lr;ftag=D90A32FE-DB2A2443>
Via: SIP/2.0/UDP 72.43.207.158;branch=z9hG4bK9c9.5db2f931.0
Via: SIP/2.0/UDP 72.43.207.130:1666;branch=z9hG4bKe4c1b0d5A735EFD6
From: "Jackie C." <sip:1000 at test1.voip.demo.i-evolve.net>;tag=D90A32FE-DB2A2443
To: <sip:1004 at test1.voip.demo.i-evolve.net>
CSeq: 1 SUBSCRIBE
Call-ID: 90f25b7b-2a54ccd4-69272b31 at 192.168.99.21
Contact: <sip:1000 at 72.43.207.130:1666>
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, INFO, MESSAGE, SUBSCRIBE,
NOTIFY, PRACK, UPDATE, REFER
Event: presence
User-Agent: PolycomSoundPointIP-SPIP_330-UA/3.2.2.0477
Accept-Language: en
Accept: application/xpidf+xml,text/xml+msrtc.pidf
Max-Forwards: 30
Expires: 3600
Content-Length: 0
X-AUTH-IP: 72.43.207.130


------------------end of packet -----------------------------
----------------begin of packet -----------------------------
U 2012/02/14 08:30:16.648253 72.43.207.155:5060 -> 72.43.207.158:5060

SIP/2.0 202 Accepted
Via: SIP/2.0/UDP 72.43.207.158;branch=z9hG4bK9c9.5db2f931.0
Via: SIP/2.0/UDP 72.43.207.130:1666;branch=z9hG4bKe4c1b0d5A735EFD6
Record-Route: <sip:72.43.207.158;lr;ftag=D90A32FE-DB2A2443>
From: "Jackie C." <sip:1000 at test1.voip.demo.i-evolve.net>;tag=D90A32FE-DB2A2443
To: <sip:1004 at test1.voip.demo.i-evolve.net>;tag=P0syeQe6vUN3
Call-ID: 90f25b7b-2a54ccd4-69272b31 at 192.168.99.21
CSeq: 1 SUBSCRIBE
Contact: <sip:1004 at 72.43.207.155:5060>
Expires: 3600
User-Agent: AMPSwitch
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO,
REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: timer, precondition, path, replaces
Allow-Events: talk, hold, presence, dialog, line-seize, call-info,
sla, include-session-description, presence.winfo, message-summary,
refer
Subscription-State: active;expires=3600
Content-Length: 0


------------------end of packet -----------------------------
----------------begin of packet -----------------------------
U 2012/02/14 08:30:16.648893 72.43.207.158:5060 -> 72.43.207.130:1666

SIP/2.0 202 Accepted
Via: SIP/2.0/UDP 72.43.207.130:1666;branch=z9hG4bKe4c1b0d5A735EFD6
Record-Route: <sip:72.43.207.158;lr;ftag=D90A32FE-DB2A2443>
From: "Jackie C." <sip:1000 at test1.voip.demo.i-evolve.net>;tag=D90A32FE-DB2A2443
To: <sip:1004 at test1.voip.demo.i-evolve.net>;tag=P0syeQe6vUN3
Call-ID: 90f25b7b-2a54ccd4-69272b31 at 192.168.99.21
CSeq: 1 SUBSCRIBE
Contact: <sip:1004 at 72.43.207.155:5060>
Expires: 3600
User-Agent: AMPSwitch
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO,
REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: timer, precondition, path, replaces
Allow-Events: talk, hold, presence, dialog, line-seize, call-info,
sla, include-session-description, presence.winfo, message-summary,
refer
Subscription-State: active;expires=3600
Content-Length: 0


------------------end of packet -----------------------------



More information about the Users mailing list