[Freeswitch-users] Polycom BLF w/ OpenSIPS and FreeSWITCH not working

Vik Killa vipkilla at gmail.com
Tue Feb 14 16:43:55 MSK 2012


I am unable to get BLF working when I have OpenSIPS in front of FreeSWITCH
Would anybody know what is going wrong?
72.43.207.158 is OpenSIPS (test1.voip.demo.i-evolve.net)
72.43.207.155 is FS
Here is a SIP trace take from FS on a REGISTER/NOTIFY/SUBSCRIBE:

recv 725 bytes from udp/[72.43.207.158]:5060 at 13:30:15.670418:
   ------------------------------------------------------------------------
   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

   ------------------------------------------------------------------------
send 707 bytes to udp/[72.43.207.158]:5060 at 13:30:15.672807:
   ------------------------------------------------------------------------
   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
freeswitch at internal>
freeswitch at internal>

   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

   ------------------------------------------------------------------------
recv 995 bytes from udp/[72.43.207.158]:5060 at 13:30:15.692185:
   ------------------------------------------------------------------------
   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

   ------------------------------------------------------------------------
send 711 bytes to udp/[72.43.207.158]:5060 at 13:30:15.713022:
   ------------------------------------------------------------------------
   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

   ------------------------------------------------------------------------
send 964 bytes to udp/[72.43.207.158]:5060 at 13:30:15.827086:
   ------------------------------------------------------------------------
   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
freeswitch at internal>
freeswitch at internal>

   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
freeswitch at internal>
freeswitch at internal>

   Content-Type: application/simple-message-summary
   Content-Length: 80

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

   ------------------------------------------------------------------------
recv 543 bytes from udp/[72.43.207.158]:5060 at 13:30:15.847271:
   ------------------------------------------------------------------------
   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

   ------------------------------------------------------------------------
freeswitch at internal>
recv 796 bytes from udp/[72.43.207.158]:5060 at 13:30:16.653565:
   ------------------------------------------------------------------------
   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

   ------------------------------------------------------------------------
send 864 bytes to udp/[72.43.207.158]:5060 at 13:30:16.656893:
   ------------------------------------------------------------------------
   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

   ------------------------------------------------------------------------
send 1300 bytes to udp/[72.43.207.130]:1666 at 13:30:16.731407:
   ------------------------------------------------------------------------
   NOTIFY sip:1000 at 72.43.207.130:1666 SIP/2.0
   Via: SIP/2.0/UDP 72.43.207.155;rport;branch=z9hG4bK723a5vjgKmm3e
   Max-Forwards: 70
   From: <sip:1004 at test1.voip.demo.i-evolve.net>;tag=P0syeQe6vUN3
   To: "Jackie C." <sip:1000 at test1.voip.demo.i-evolve.net>;tag=D90A32FE-DB2A2443
   Call-ID: 90f25b7b-2a54ccd4-69272b31 at 192.168.99.21
   CSeq: 165317323 NOTIFY
   Contact: <sip:1004 at 72.43.207.155:5060;transport=udp>
   User-Agent: AMPSwitch
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO,
REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
   Supported: timer, precondition, path, replaces
   Event: presence
   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-Type: application/xpidf+xml
   Content-Length: 460

   <?xml version="1.0"?>
   <!DOCTYPE presence PUBLIC "-//IETF//DTD RFCxxxx XPIDF 1.0//EN" "xpidf.dtd">
   <presence>
    <status>
     <note>Registered</note>
    </status>
    <presentity uri="sip:1004 at test1.voip.demo.i-evolve.net;method=SUBSCRIBE" />
    <atom id="sip:1004 at test1.voip.demo.i-evolve.net">
     <address uri="sip:mod_sofia at 72.43.207.155:5060;user=ip"
priority="0.800000">
      <status status="" />
      <msnsubstatus substatus="online" />
     </address>
    </atom>
   </presence>
   -----------------------------------------------------------------------



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list