I am having an issue with Shared lines.    My setup is this Freeswitch (Version 1.3.17+git~20130312T033518Z~7d29a92f55)  -> Acme SBC -> Polycom 550 (PolycomSoundPointIP-SPIP_550-UA/4.0.3.7562) . 

If I point the Polycom phone directly to freeswitch everything works as it should.   The issue appears when I route though the Acme SBC..   When I make a call from the Polycom 550, I get a 15sec pause and then the call completes.  After much investigation, I have discovered that the issue appears to be that freeswitch sends a notify with a from_tag that is not part of an established dialog and my SBC responds with  481 Missing Dialog.

 

Looking at the sip trace below the phone subscribes -> Freeswitch Accepts(with correct from tag)  ->freeswitch then sends a Notify with wrong from_tag. ->SBC responds with 481.     The odd part is that that after the phone times out and re-subscribes this time Freeswitch sends a Notify with the same form_tag as the Accept and the call completes and SCA works fine.     Below is the siptrace between freeswitch and my SBC

 

Anyone have any ideas what this might be?

 

Thanks

Doug

 

 

------------------------------------------------------------------------

   SUBSCRIBE sip:1234567890@fs.domain.com:5060 SIP/2.0

   Via: SIP/2.0/UDP 10.10.10.9:5060;branch=z9hG4bKpsndha200gk1fu8df4d0.2

   From: "1234567890" <sip:1234567890@sip.domain.com>;tag=7F95269B-FA2A50CA

   To: <sip:1234567890@sip.domain.com>

   CSeq: 1 SUBSCRIBE

   Call-ID: 1aa7577-9c569066-3952c105@192.168.200.105

   Contact: <sip:1234567890@10.10.10.9:5060;ep=192.168.200.105;transport=udp>

   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, INFO, MESSAGE, SUBSCRIBE, NOTIFY, PRACK, UPDATE, REFER

   Event: line-seize

   Call-Info: <sip:sip.domain.com>;appearance-index=1

   User-Agent: PolycomSoundPointIP-SPIP_550-UA/4.0.3.7562

   Accept-Language: en

   Max-Forwards: 69

   Expires: 30

   Content-Length: 0

  

   ------------------------------------------------------------------------

send 813 bytes to udp/[10.10.10.9]:5060 at 17:38:11.774056:

   ------------------------------------------------------------------------

   SIP/2.0 202 Accepted

   Via: SIP/2.0/UDP 10.10.10.9:5060;branch=z9hG4bKpsndha200gk1fu8df4d0.2

   From: "1234567890" <sip:1234567890@sip.domain.com>;tag=7F95269B-FA2A50CA

   To: <sip:1234567890@sip.domain.com>;tag=DKrccCoqCvac

   Call-ID: 1aa7577-9c569066-3952c105@192.168.200.105

   CSeq: 1 SUBSCRIBE

   Contact: <sip:1234567890@10.10.10.10:5060>

   Expires: 30

   User-Agent: FreeSWITCH-mod_sofia/1.3.17+git~20130312T033518Z~7d29a92f55

   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

   Subscription-State: active;expires=30

   Content-Length: 0

  

   ------------------------------------------------------------------------

send 968 bytes to udp/[10.10.10.9]:5060 at 17:38:11.774279:

   ------------------------------------------------------------------------

   NOTIFY sip:1234567890@10.10.10.9:5060;ep=192.168.200.105;transport=udp SIP/2.0

   Via: SIP/2.0/UDP 10.10.10.10;rport;branch=z9hG4bKvg7p3cN60g7aQ

   Max-Forwards: 70

  From: <sip:1234567890@sip.domain.com>;tag=939D8tZtU5g7m

   To: "1234567890" <sip:1234567890@sip.domain.com>;tag=7F95269B-FA2A50CA

   Call-ID: 1aa7577-9c569066-3952c105@192.168.200.105

   CSeq: 41262081 NOTIFY

   Contact: <sip:1234567890@10.10.10.10:5060>

   Expires: 30

   Call-Info: <sip:sip.domain.com>;appearance-index=1

   User-Agent: FreeSWITCH-mod_sofia/1.3.17+git~20130312T033518Z~7d29a92f55

   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE

   Supported: timer, precondition, path, replaces

   Event: line-seize

   Allow-Events: talk, hold, conference, presence, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer

   Subscription-State: active;expires=30

   Content-Length: 0

  

   ------------------------------------------------------------------------

send 1077 bytes to udp/[10.10.10.9]:5060 at 17:38:11.775249:

   ------------------------------------------------------------------------

   NOTIFY sip:1234567890@10.10.10.9:5060;ep=192.168.200.105;transport=udp SIP/2.0

   Via: SIP/2.0/UDP 10.10.10.10;rport;branch=z9hG4bKXS0F5759XSXXj

   Max-Forwards: 70

   From: <sip:1234567890@sip.domain.com>;tag=2OCFR236kQ0l

   To: "1234567890" <sip:1234567890@sip.domain.com>;tag=882868A3-8F845D52

   Call-ID: dab1917f-2f9a96ee-a7f17a0d@192.168.200.105

   CSeq: 505025480 NOTIFY

   Contact: <sip:1234567890@10.10.10.10:5060;transport=udp>

   Call-Info: <sip:sip.domain.com>;appearance-index=1;appearance-state=seized

   Call-Info: <sip:sip.domain.com>;appearance-index=*;appearance-state=idle

   User-Agent: FreeSWITCH-mod_sofia/1.3.17+git~20130312T033518Z~7d29a92f55

   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE

   Supported: timer, precondition, path, replaces

   Event: call-info

   Allow-Events: talk, hold, conference, presence, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer

   Subscription-State: active;expires=587

   Content-Length: 0

  

   ------------------------------------------------------------------------

recv 344 bytes from udp/[10.10.10.9]:5060 at 17:38:11.777251:

   ------------------------------------------------------------------------

   SIP/2.0 481 Missing Dialog

   Via: SIP/2.0/UDP 10.10.10.10;received=10.10.10.10;branch=z9hG4bKvg7p3cN60g7aQ;rport=5060

   From: <sip:1234567890@sip.domain.com>;tag=939D8tZtU5g7m

   To: "1234567890" <sip:1234567890@sip.domain.com>;tag=7F95269B-FA2A50CA

   Call-ID: 1aa7577-9c569066-3952c105@192.168.200.105

   CSeq: 41262081 NOTIFY

  

   ------------------------------------------------------------------------

recv 505 bytes from udp/[10.10.10.9]:5060 at 17:38:11.802738:

   ------------------------------------------------------------------------

   SIP/2.0 200 OK

   Via: SIP/2.0/UDP 10.10.10.10;received=10.10.10.10;branch=z9hG4bKXS0F5759XSXXj;rport=5060

   From: <sip:1234567890@sip.domain.com>;tag=2OCFR236kQ0l

   To: "1234567890" <sip:1234567890@sip.domain.com>;tag=882868A3-8F845D52

   Call-ID: dab1917f-2f9a96ee-a7f17a0d@192.168.200.105

   CSeq: 505025480 NOTIFY

   Contact: <sip:1234567890@10.10.10.9:5060;transport=udp>

   Event: call-info

   User-Agent: PolycomSoundPointIP-SPIP_550-UA/4.0.3.7562

   Accept-Language: en

   Content-Length: 0

  

   ------------------------------------------------------------------------