[asterisk-dev] Remote MWI notification issue

Michael Keuter lists at mksolutions.info
Fri May 11 16:44:25 CDT 2012


Am 11.05.2012 um 16:29 schrieb Josh Patten:

> https://issues.asterisk.org/jira/browse/ASTERISK-19861 
> 
> On Fri, May 11, 2012 at 7:49 AM, Mark Michelson <mmichelson at digium.com> wrote:
> On 05/10/2012 09:40 PM, Josh Patten wrote:
> I recently posted on the Asterisk support forum about an issue I was experiencing with Asterisk MWI:
> http://forums.asterisk.org/viewtopic.php?f=1&t=82685 <http://forums.asterisk.org/viewtopic.php?f=1&t=82685>
> 
> And was directed to join the mailing list for help with assistance resolving this issue.
> 
> 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't hesitate to ask.
> 
> Thank you.
> 
> -- 
> Josh Patten
> The one thing that makes this a bit hard to diagnose is that you don't say here or in your forum post what version of Asterisk you are using.
> 
> The problem appears to be that Asterisk doesn'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're using 1.8, I'd say you've found a bug that needs fixing, so you should open an issue on the bug tracker. If you're using a version prior to 1.8 (i.e. an unsupported version), then you'll need to modify the code yourself in order to do what you want. If you search chan_sip.c for "do_proxy_auth" it should be clear how to do what you need.
> 
> I'm not 100% sure about this, but I think Asterisk still does not support receiving unsolicited MWI NOTIFYs at this point, so you'll still see the 481 problem if you attempt to use Asterisk 1.8.
> 
> Mark!
> 
> 
> 
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> 
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>  http://lists.digium.com/mailman/listinfo/asterisk-dev
> 
> 
> 
> -- 
> Josh Patten
> eZuce
> Solutions Architect
> O.978-296-1005 X2050 
> M.979-574-5699
> http://www.ezuce.com
> 
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> 
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-dev

I get an instant segfault when I try to enable external MWI with:

mwi => 1234:password at mysipprovider.com/1234

in Asterisk 1.8.13.0-rc1 as well as 10.2.0-rc2 (not yet updated).
There was an older issue (ASTERISK-16999) about that, and it was fixed, but there is still one open (ASTERISK-17341)

Michael

http://www.mksolutions.info




-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4361 bytes
Desc: not available
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20120511/f967a939/attachment.bin>


More information about the asterisk-dev mailing list