Confirmed with 10.4.0 that segfault happens with MWI subscriptions.<br><br><div class="gmail_quote">On Fri, May 11, 2012 at 4:44 PM, Michael Keuter <span dir="ltr">&lt;<a href="mailto:lists@mksolutions.info" target="_blank">lists@mksolutions.info</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Am 11.05.2012 um 16:29 schrieb Josh Patten:<br>
<div><div class="h5"><br>
&gt; <a href="https://issues.asterisk.org/jira/browse/ASTERISK-19861" target="_blank">https://issues.asterisk.org/jira/browse/ASTERISK-19861</a><br>
&gt;<br>
&gt; On Fri, May 11, 2012 at 7:49 AM, Mark Michelson &lt;<a href="mailto:mmichelson@digium.com">mmichelson@digium.com</a>&gt; wrote:<br>
&gt; On 05/10/2012 09:40 PM, Josh Patten wrote:<br>
&gt; I recently posted on the Asterisk support forum about an issue I was experiencing with Asterisk MWI:<br>
&gt; <a href="http://forums.asterisk.org/viewtopic.php?f=1&amp;t=82685" target="_blank">http://forums.asterisk.org/viewtopic.php?f=1&amp;t=82685</a> &lt;<a href="http://forums.asterisk.org/viewtopic.php?f=1&amp;t=82685" target="_blank">http://forums.asterisk.org/viewtopic.php?f=1&amp;t=82685</a>&gt;<br>

&gt;<br>
&gt; And was directed to join the mailing list for help with assistance resolving this issue.<br>
&gt;<br>
&gt; I am unable to subscribe to external MWI. If possible, please review the forum post and information contained therein and point out my errors. If you need more info don&#39;t hesitate to ask.<br>
&gt;<br>
&gt; Thank you.<br>
&gt;<br>
&gt; --<br>
&gt; Josh Patten<br>
&gt; The one thing that makes this a bit hard to diagnose is that you don&#39;t say here or in your forum post what version of Asterisk you are using.<br>
&gt;<br>
&gt; The problem appears to be that Asterisk doesn&#39;t even attempt to send authentication when the server challenges the SUBSCRIBE. I took a quick look at the 1.4 SVN tip and the 1.8 SVN tip. In 1.8, Asterisk should be sending authentication in response to 401 responses to SUBSCRIBEs. In 1.4, it should not be. So if you&#39;re using 1.8, I&#39;d say you&#39;ve found a bug that needs fixing, so you should open an issue on the bug tracker. If you&#39;re using a version prior to 1.8 (i.e. an unsupported version), then you&#39;ll need to modify the code yourself in order to do what you want. If you search chan_sip.c for &quot;do_proxy_auth&quot; it should be clear how to do what you need.<br>

&gt;<br>
&gt; I&#39;m not 100% sure about this, but I think Asterisk still does not support receiving unsolicited MWI NOTIFYs at this point, so you&#39;ll still see the 481 problem if you attempt to use Asterisk 1.8.<br>
&gt;<br>
&gt; Mark!<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; _____________________________________________________________________<br>
&gt; -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
&gt;<br>
&gt; asterisk-dev mailing list<br>
&gt; To UNSUBSCRIBE or update options visit:<br>
&gt;  <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Josh Patten<br>
&gt; eZuce<br>
&gt; Solutions Architect<br>
&gt; O.<a href="tel:978-296-1005%20X2050" value="+19782961005">978-296-1005 X2050</a><br>
&gt; M.<a href="tel:979-574-5699" value="+19795745699">979-574-5699</a><br>
&gt; <a href="http://www.ezuce.com" target="_blank">http://www.ezuce.com</a><br>
&gt;<br>
&gt; --<br>
&gt; _____________________________________________________________________<br>
&gt; -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
&gt;<br>
&gt; asterisk-dev mailing list<br>
&gt; To UNSUBSCRIBE or update options visit:<br>
&gt;   <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br>
<br>
</div></div>I get an instant segfault when I try to enable external MWI with:<br>
<br>
mwi =&gt; <a href="http://1234:password@mysipprovider.com/1234" target="_blank">1234:password@mysipprovider.com/1234</a><br>
<br>
in Asterisk 1.8.13.0-rc1 as well as 10.2.0-rc2 (not yet updated).<br>
There was an older issue (ASTERISK-16999) about that, and it was fixed, but there is still one open (ASTERISK-17341)<br>
<br>
Michael<br>
<br>
<a href="http://www.mksolutions.info" target="_blank">http://www.mksolutions.info</a><br>
<br>
<br>
<br>
<br>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-dev mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Josh Patten<br>
eZuce<br>Solutions Architect<br>O.978-296-1005 X2050 <br>M.979-574-5699<br><a href="http://www.ezuce.com" target="_blank">http://www.ezuce.com</a><br><br>