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:*foo*@192.168.100.254:5060;user=phone SIP/2.0
Via: SIP/2.0/UDP 192.168.100.193:5060
;branch=z9hG4bK8031919793092643643-24593
From: <sip:7533 at 192.168.100.254:5060>;tag=c0a80101-600e
To: <sip:7533 at 192.168.100.254:5060>
Call-ID: c001-c0a80101-d-2 at 192.168.100.193
CSeq: 2 SUBSCRIBE
Max-Forwards: 70
Event: message-summary
Accept: application/simple-message-summary
Expires: 3600
Contact: <sip:7533 at 192.168.100.193:5060;user=phone>
Allow-Events: refer,dialog,message-summary,check-sync,talk,hold
Authorization: Digest username="7533", realm="asterisk",
nonce="2a533466",
uri="sip:pipo at 192.168.100.254: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
--0015174c3e9efbc9680464369f65
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Hi,<br><br>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.<br>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 ?) ?<br>
<br>1. In this case, which URI shall use a hardphone to build its
SUBSCRIBE message ?<br>Here is a hand written example.<br>Which
value should I substitute to foo (in this example) to receive NOTIFY (as if I
had typed mailbox=3D7533 in sip.conf) ?<br>
Obviously, typing 7533 gets a "Received SIP subscribe for peer without
mailbox: 7533" as if mailbox=3D7533 was not only used for MWI but also
as a check for a mailbox's existence (though corresponding mailbox is
defined in voicemail.conf).<br>
<br>
<meta http-equiv=3D"CONTENT-TYPE" content=3D"text/html;
charset=3Dutf-8"><title></title><meta
name=3D"GENERATOR" content=3D"OpenOffice.org 2.3
(Linux)">
=09
=09
<style type=3D"text/css">
<!--
@page { size: 21cm 29.7cm; margin: 2cm }
P { margin-bottom: 0.21cm }
-->
</style>
<p style=3D"margin-left: 1.25cm;">SUBSCRIBE
sip:<font
color=3D"#ff0000"><b>foo</b></font>@192.168.100.254:5060;user=3Dphone
SIP/2.0</p>
<p style=3D"margin-left: 1.25cm;">Via: SIP/2.0/UDP
192.168.100.193:5060;branch=3Dz9hG4bK8031919793092643643-24593</p>
<p style=3D"margin-left: 1.25cm;">From:
<<a href=3D"http://sip:7533 at
192.168.100.254:5060">sip:7533 at
192.168.100.254:5060</a>>;tag=3Dc0a80101-600e</p>
<p style=3D"margin-left: 1.25cm;">To: <<a
href=3D"http://sip:7533 at 192.168.100.254:5060">sip:7533 at
192.168.100.254:5060</a>></p>
<p style=3D"margin-left: 1.25cm;">Call-ID:
<a href=3D"mailto:c001-c0a80101-d-2 at
192.168.100.193">c001-c0a80101-d-2 at
192.168.100.193</a></p>
<p style=3D"margin-left: 1.25cm;">CSeq: 2 SUBSCRIBE</p>
<p style=3D"margin-left: 1.25cm;">Max-Forwards: 70</p>
<p style=3D"margin-left: 1.25cm;">Event:
message-summary</p>
<p style=3D"margin-left: 1.25cm;">Accept:
application/simple-message-summary</p>
<p style=3D"margin-left: 1.25cm;">Expires: 3600</p>
<p style=3D"margin-left: 1.25cm;">Contact:
<sip:7533 at 192.168.100.193:5060;user=3Dphone></p>
<p style=3D"margin-left: 1.25cm;">Allow-Events:
refer,dialog,message-summary,check-sync,talk,hold</p>
<p style=3D"margin-left: 1.25cm;">Authorization: Digest
username=3D"7533",
realm=3D"asterisk", nonce=3D"2a533466",
uri=3D"sip:pipo at 192.168.100.254:5060;user=3Dphone",
response=3D"10d6fafe54a12319983a810938f55cd6",
algorithm=3DMD5</p>
<p style=3D"margin-left: 1.25cm;">User-Agent: THOMSON ST2030 hw5
fw1.64
00-1F-9F-16-22-AB</p>
<p style=3D"margin-left: 1.25cm;">Content-Length:
0</p><br>2. What could be a benefit a using SUBSCRIBEs over not
using them ?<br><br>Regards<br><br><br>
--0015174c3e9efbc9680464369f65--