Hi, >From recent experiences with 1.4.23.1, Asterisk doesn't need any incoming MWI-related SUBSCRIBE message to send NOTIFY messages changing phones MWI status. This is fine for me but I'm wondering what if I were using SIP hardphones refusing any such NOTIFY without prior SUBSCRIBE (does such phones exist ?) ?
1. In this case, which URI shall use a hardphone to build its SUBSCRIBE message ? Here is a hand written example. Which value should I substitute to foo (in this example) to receive NOTIFY (as if I had typed mailbox=7533 in sip.conf) ? Obviously, typing 7533 gets a "Received SIP subscribe for peer without mailbox: 7533" as if mailbox=7533 was not only used for MWI but also as a check for a mailbox's existence (though corresponding mailbox is defined in voicemail.conf). SUBSCRIBE sip:*[email protected]:5060;user=phone SIP/2.0 Via: SIP/2.0/UDP 192.168.100.193:5060 ;branch=z9hG4bK8031919793092643643-24593 From: <sip:[email protected]:5060>;tag=c0a80101-600e To: <sip:[email protected]:5060> Call-ID: [email protected] CSeq: 2 SUBSCRIBE Max-Forwards: 70 Event: message-summary Accept: application/simple-message-summary Expires: 3600 Contact: <sip:[email protected]:5060;user=phone> Allow-Events: refer,dialog,message-summary,check-sync,talk,hold Authorization: Digest username="7533", realm="asterisk", nonce="2a533466", uri="sip:[email protected]:5060;user=phone", response="10d6fafe54a12319983a810938f55cd6", algorithm=MD5 User-Agent: THOMSON ST2030 hw5 fw1.64 00-1F-9F-16-22-AB Content-Length: 0 2. What could be a benefit a using SUBSCRIBEs over not using them ? Regards
_______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
