[Freeswitch-users] BLF Subscriptions sometimes don't send an initial Notify

Stephen Thwaites stephen.thwaites at callstera.com
Mon Feb 8 14:51:52 MSK 2016


Hello,
I have setup presence and in most cases it is working as expected.
i.e. Subscription is sent to FS, FS returns Accepted then immediately
FS sends the notify to the phone, thereafter all the Notify events for
ringing, pickup and hangup. Great.

However in some cases a subscribe to an extension does subscribe,FS
sends the accepted response but a Notify is not sent out at that
point. However if I call the extension the Notify works perfectly.

Any ideas of what could cause the initial Notify not to be sent after
the Acceptance 202?

Any help would be appreciated.

Regards,
Steve.

p.s I sent this to the list a few days ago but it didn't seem to come
through on the list.

Some detail info below:
FS is configured as Multi-Tennant

<param name="presence-proto-lookup" value="false"/>
<param name="send-presence-on-register" value="true"/>
<param name="manage-presence" value="true"/>
<param name="presence-probe-on-register" value="true"/>
<param name="manage-shared-appearance" value="true"/>
<param name="dbname" value="freeswitch"/>
<param name="presence-hosts" value="_DISABLE_"/>   # Multi-Tennant
<param name="presence-privacy" value="false"/>

SIP Trace for Subscription

FS Receives this from the phone:

SUBSCRIBE sip:203 at xxx.mydomain.com
<http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>:5060
SIP/2.0
Via: SIP/2.0/UDP 192.168.1.24:25060;branch=z9hG4bK991003231;rport
From: <sip:201 at xxx.mydomain.com
<http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>>;tag=946578510
To: <sip:203 at xxx.mydomain.com
<http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>>;tag=nvqzSrr57RZg
Call-ID: 968288340-25060-7 at BJC.BGI.B.CE
<http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
CSeq: 20050 SUBSCRIBE
Contact: <sip:201 at 192.168.1.24
<http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>:25060>
X-Grandstream-PBX: true
Max-Forwards: 70
User-Agent: Grandstream GXP2140 1.0.5.29
Expires: 480
Supported: replaces, path, timer, eventlist
Event: dialog
Accept: application/dialog-info+xml,multipart/related,application/rlmi+xml
Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER,
UPDATE, MESSAGE
Content-Length: 0

FS Sends this back to the phone:

SIP/2.0 202 Accepted
Via: SIP/2.0/UDP 192.168.1.24:25060
;branch=z9hG4bK991003231;rport=59364;received=x.x.x.x
From: <sip:201 at xxx.mydomain.com
<http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>>;tag=946578510
To: <sip:203 at xxx.mydomain.com
<http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>>;tag=nvqzSrr57RZg
Call-ID: 968288340-25060-7 at BJC.BGI.B.CE
<http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
CSeq: 20050 SUBSCRIBE
Contact: <sip:203 at y.y.y.y
<http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>:5060>
Expires: 480
User-Agent: Callstera VOIP PBX v1.20
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, as-feature-event, dialog,
line-seize, call-info, sla, include-session-description, presence.winfo,
message-summary, refer
Subscription-State: active;expires=480
Content-Length: 0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160208/97a413fc/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list