[asterisk-users] How to check mailbox exists (Received SIP subscribe for peer without mailbox)
Hi, I'm receiving this : [Aug 28 02:25:16] NOTICE[5895] chan_sip.c: Received SIP subscribe for peer without mailbox: 9163 I've read this : http://lists.digium.com/pipermail/asterisk-users/2008-May/211701.html I typed this: asterisk -rx reload asterisk -rx voicemail show users ... and got : default9163 john doe 0 This default ... line is 100% similar to others. My questions are : 1. Is voicemail show users the way to check a mailbox's existence ? 2. How can I check MWI subscriptions ? Regards ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] How to check mailbox exists (Received SIP subscribe for peer without mailbox)
Olivier wrote: Hi, I'm receiving this : [Aug 28 02:25:16] NOTICE[5895] chan_sip.c: Received SIP subscribe for peer without mailbox: 9163 I've read this : http://lists.digium.com/pipermail/asterisk-users/2008-May/211701.html I typed this: asterisk -rx reload asterisk -rx voicemail show users ... and got : default9163 john doe 0 This default ... line is 100% similar to others. Chances are that the mailbox line in sip.conf for this extension doesn't include the correct mailbox context. Make sure that [EMAIL PROTECTED] is in the section of sip.conf for this extension and reload. ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] How to check mailbox exists (Received SIP subscribe for peer without mailbox)
2008/9/4 Rob Hillis [EMAIL PROTECTED] Olivier wrote: Hi, I'm receiving this : [Aug 28 02:25:16] NOTICE[5895] chan_sip.c: Received SIP subscribe for peer without mailbox: 9163 I've read this : http://lists.digium.com/pipermail/asterisk-users/2008-May/211701.html I typed this: asterisk -rx reload asterisk -rx voicemail show users ... and got : default9163 john doe 0 This default ... line is 100% similar to others. Chances are that the mailbox line in sip.conf for this extension doesn't include the correct mailbox context. Make sure that [EMAIL PROTECTED] is in the section of sip.conf for this extension and reload. Hi, You're right : few minutes after posting this question, I saw that mailbox=9163 line was missing and that adding this line solved this. Anyway, my 1st question remains as voicemail show users was somehow misleading for me : - on one hand, I've a notice telling Received SIP subscribe for peer without mailbox: 9163 - on the other hand, voicemail show users shows something I understood as mailbox exists. Now that root cause is found, would you say that warnings or CLI should have been different ? Obviously, MWI subscriptions must come from SIP hardphones (at least those supporting MWI feature). So in this case, Received SIP subscribe for peer without mailbox: 9163 rather means Asterisk is receiving from SIP/9163, subscriptions to MWI, but nothing in peer SIP/9163 settings is describing which mailbox should be the scope of such subscriptions. Do you agree ? ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] How to check mailbox exists (Received SIP subscribe for peer without mailbox)
Olivier wrote: Now that root cause is found, would you say that warnings or CLI should have been different ? Obviously, MWI subscriptions must come from SIP hardphones (at least those supporting MWI feature). So in this case, Received SIP subscribe for peer without mailbox: 9163 rather means Asterisk is receiving from SIP/9163, subscriptions to MWI, but nothing in peer SIP/9163 settings is describing which mailbox should be the scope of such subscriptions. Do you agree ? Actually if you read the log entry, it can easily be interpreted that way. Log entries really are a delicate balancing act - you need to provide enough information to determine what the problem is without becoming too wordy. The only real way I could see to improve that log entry would be to say Received SIP subscribe for peer without *configured* mailbox: 9163 The log correctly identifies it as a notice since it's not an error condition. Any log entry longer than this would bloat log files even further than they already are - and Asterisk log files on even a moderately busy system are already about as easy to follow as your average plate of spaghetti. ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users