<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Olle E. Johansson wrote:
<blockquote cite="mid42DDE1C8.2060207@edvina.net" type="cite">
  <pre wrap="">Chris A. Icide wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Note however, that in the unsolicited NOTIFY that Asterisk sends for
MWI, it includes a ;tag= as part of the NOTIFY.  This will break some
devices as they will not accept the NOTIFY because the tag doesn't match
any transaction that is open.  The correct way to send an unsolicited
NOTIFY would be without the tag altogether.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
That's interesting. Any suggestions on such a device? I haven't seen that.

I guess if they do that, it's ok, since sending unsolicited NOTIFY is
theoretically wrong anyway. If the phone software wants to support it,
they wouldn't bother with the tag, I guess.

/O
_______________________________________________
Asterisk-Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Asterisk-Users@lists.digium.com">Asterisk-Users@lists.digium.com</a>
<a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a>
To UNSUBSCRIBE or update options visit:
   <a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a>
  </pre>
</blockquote>
Olle,<br>
<br>
Yes, a Metaswitch softswitch (and I suspect some other softswitches
would as well).&nbsp; It returns a 403 error if you send a NOTIFY for MWI to
it with a tag attached.<br>
<br>
This is a little different implementation.&nbsp; The Metaswitch is providing
the end user (over PSTN) service, and when a phone goes unanswered, it
sends a the call to asterisk over sip.&nbsp; I extract the phone number that
was originally dialed from the SIP Header using the dialplan command
for reading sip header messages, and send the call to voicemail.&nbsp; Now I
have to send back indication that a message exists.<br>
<br>
Since the Metaswitch isn't sending a subscribe for every single line,
we have a push model.&nbsp; So we push out MWI, but Asterisk tags the push,
and the Metaswitch rejects it since it has no previous transaction with
a matching tag.<br>
<br>
I patched the code so it won't send a tag on an MWI Notify for my own
use, but it's specific to this implementation and would cause problems
where a subscribe has been sent.<br>
<br>
-Chris<br>
</body>
</html>