[Freeswitch-users] SUBSCRIBE for MWI
Spencer Thomason
spencer at 5ninesolutions.com
Wed Aug 15 02:25:58 MSD 2012
Hello,
I'm trying to use SUBSCRIBEs to monitor a shared VM box. I'm only receiving NOTIFYs after the number of voicemail messages changes, not when the subscription is created. I'm on latest git revision built this morning. Is there any option that must be enabled to send a NOTIFY when the subscription is created?
Thanks, Spencer
------------------------------------------------------------------------
recv 450 bytes from udp/[x.x.x.x]:5061 at 22:10:13.122762:
------------------------------------------------------------------------
SUBSCRIBE sip:1000 at pbx03.domain.com SIP/2.0
Via: SIP/2.0/UDP 10.59.1.249:5061;branch=z9hG4bK-e18f92db;rport
From: "Test" <sip:1007 at pbx03.domain.com>;tag=2d525326a41799c3
To: <sip:1000 at pbx03.domain.com>
Call-ID: 722b1d22-bc56f7f7 at 10.59.1.249
CSeq: 35007 SUBSCRIBE
Max-Forwards: 70
Contact: "Test" <sip:1007 at 10.59.1.249:5061>
Expires: 3600
Event: message-summary
User-Agent: Cisco/SPA509G-7.5.2b
Content-Length: 0
------------------------------------------------------------------------
send 773 bytes to udp/[x.x.x.x]:5061 at 22:10:13.124509:
------------------------------------------------------------------------
SIP/2.0 202 Accepted
Via: SIP/2.0/UDP 10.59.1.249:5061;branch=z9hG4bK-e18f92db;rport=5061;received=x.x.x.x
From: "Test" <sip:1007 at pbx03.domain.com>;tag=2d525326a41799c3
To: <sip:1000 at pbx03.domain.com>;tag=3ZTmO9g9lhPo
Call-ID: 722b1d22-bc56f7f7 at 10.59.1.249
CSeq: 35007 SUBSCRIBE
Contact: <sip:1000 at x.x.x.x:5070>
Expires: 3600
User-Agent: FreeSWITCH-mod_sofia/1.2.0-rc2
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: 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=3600
Content-Length: 0
No NOTIFY is sent until after changing the number of voicemail messages:
send 1018 bytes to udp/[x.x.x.x]:5061 at 22:14:50.879672:
------------------------------------------------------------------------
NOTIFY sip:1007 at 10.59.1.249:5061 SIP/2.0
Via: SIP/2.0/UDP x.x.x.x:5070;rport;branch=z9hG4bKa4Qc71DKS83pm
Route: <sip:x.x.x.x:5061>;transport=udp
Max-Forwards: 70
From: <sip:1000 at pbx03.domain.com>;tag=3ZTmO9g9lhPo
To: "Test" <sip:1007 at pbx03.domain.com>;tag=2d525326a41799c3
Call-ID: 722b1d22-bc56f7f7 at 10.59.1.249
CSeq: 322887251 NOTIFY
Contact: <sip:1000 at x.x.x.x:5070;transport=udp>
User-Agent: FreeSWITCH-mod_sofia/1.2.0-rc2
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: precondition, path, replaces
Event: message-summary
Allow-Events: talk, hold, conference, presence, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
Subscription-State: active;expires=3323
Content-Type: application/simple-message-summary
Content-Length: 105
Messages-Waiting: yes
Message-Account: sip:1000 at pbx03.domain.com
Voice-Message: 148/0 (0/0)
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list