<div dir="ltr"><pre style="color:rgb(0,0,0)">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.</pre><pre style="color:rgb(0,0,0)">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:<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">203 at xxx.mydomain.com</a>:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.24:25060;branch=z9hG4bK991003231;rport
From: <sip:<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">201 at xxx.mydomain.com</a>>;tag=946578510
To: <sip:<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">203 at xxx.mydomain.com</a>>;tag=nvqzSrr57RZg
Call-ID: <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">968288340-25060-7 at BJC.BGI.B.CE</a>
CSeq: 20050 SUBSCRIBE
Contact: <sip:<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">201 at 192.168.1.24</a>: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 <a href="http://192.168.1.24:25060">192.168.1.24:25060</a>
;branch=z9hG4bK991003231;rport=59364;received=x.x.x.x
From: <sip:<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">201 at xxx.mydomain.com</a>>;tag=946578510
To: <sip:<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">203 at xxx.mydomain.com</a>>;tag=nvqzSrr57RZg
Call-ID: <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">968288340-25060-7 at BJC.BGI.B.CE</a>
CSeq: 20050 SUBSCRIBE
Contact: <sip:<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">203 at y.y.y.y</a>: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</pre><pre style="color:rgb(0,0,0)"><br></pre><pre style="color:rgb(0,0,0)"><br></pre></div>