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

Stephen Thwaites stephen.thwaites at callstera.com
Tue Feb 2 13:05:14 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 Notifies 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.

Some 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:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.24:25060;branch=z9hG4bK991003231;rport
From: <sip:201 at xxx.mydomain.com>;tag=946578510
To: <sip:203 at xxx.mydomain.com>;tag=nvqzSrr57RZg
Call-ID: 968288340-25060-7 at BJC.BGI.B.CE
CSeq: 20050 SUBSCRIBE
Contact: <sip:201 at 192.168.1.24: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>;tag=946578510
To: <sip:203 at xxx.mydomain.com>;tag=nvqzSrr57RZg
Call-ID: 968288340-25060-7 at BJC.BGI.B.CE
CSeq: 20050 SUBSCRIBE
Contact: <sip:203 at y.y.y.y: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/20160202/106d202d/attachment.html 


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