Aisling
2005-Sep-07  05:53 UTC
[Asterisk-Users] Eeven Stranger - Asterisk BT100 Password Issue
Following on from my below email, things have taken another bizarre
twist..
 
I have continued getting the error when 2092 tries to listen to messages
by dialing 9999.
 
--Executing VoiceMailMain ("SIP/2092-6918", "2092") in new
stack
--Playing 'vm-password' (language 'en')
WARNING: app_voicemail.c:4922 vm_authentication: Unable to read
password.
 
Then I decided to plug out my BT100 and left it plugged out for a few
hours. When I plugged it back in and dialed 9999  for voicemail,
bizarrely I could hear the voicemail main menu and was prompted for a
password. When I entered the password, I was able to listen to the
messages...This is what appeared on the Asterisk console
 
--Executing VoiceMailMain ("SIP/2092-6918", "2092") in new
stack
--Playing 'vm-password' (language 'en')
--Incorrect password '1234' for user '2092' <context =
<any>)     //here
I entered the incorrect password 1234
--Playing 'vm-incorrect' (language 'en')
--Playing 'vm-password' (language 'en')
--Incorrect password '1234' for user '2092' <context =
<any>)
//again here I entered the incorrect password 1234
--Playing 'vm-incorrect' (language 'en')
--Playing 'vm-password' (language 'en')
 Unable to create lock file
'/var/spool/asterisk/voicemail/from-sip/2092/Old/': No such file or
directory
Unable to create lock file
'/var/spool/asterisk/voicemail/from-sip/2092/Old/': No such file or
directory
Unable to create lock file
'/var/spool/asterisk/voicemail/from-sip/2092/INBOX/': No such file or
directory
Unable to create lock file
'/var/spool/asterisk/voicemail/from-sip/2092/INBOX/': No such file or
directory
-- Playing 'vm-youhave' (language 'en') ...//here I entered the
correct
password and heard that I had no messages
-- Playing 'vm-no' (language 'en')
-- Playing 'vm-messages' (language 'en')
--Playing 'vm-opts' (language 'en')
 
 
But then to add another twist, I hung up the phone and dialed 9999
again. This time it didn't work and I got the same old error as before.
I tried plugging out the phone again but it did not make a difference.
 
Does anyone know what those extra messages on the console mean or how I
can solve this? I am obviously missing something important - How do I
get it?
 
Many Thanks.
 
 
-----Original Message-----
From: Aisling [mailto:ashling.odriscoll@cit.ie] 
Sent: 06 September 2005 18:09
To: 'asterisk-users@lists.digium.com'
Subject: Asterisk BT100 Password Issue
 
Hi,
 
I am getting the following error when I attempt to listen to voice
messages by dialing 9999 (I can hear nothing):
 
--Executing VoiceMailMain ("SIP/2092-6918", "2092") in new
stack
--Playing 'vm-password' (language 'en')
WARNING: app_voicemail.c:4922 vm_authentication: Unable to read
password.
 
I read in previous posts that this may be to do with the dtmf settings
and have set both (asterisk and BT100) to info. This has not helped. My
phones register with SER (port 5060) and use Asterisk for voicemail
(port 5064).
My configs are below along with my BT100 settings:
 
;Grandstream BT100
 
SIP Server:                    x.x.x.x:5060
SIP User ID:                  2092
Authenticate ID:             2092
Name                            2092
 
SER then forwards to port 5064 of Asterisk.
 
;sip.conf
 
[general]
bindport=5064
bindaddr=0.0.0.0
disallow=all
allow=ulaw
allow=alaw
allow=gsm
srvlookup=yes
canreinvite=no
autocreeper=yes
nat=yes
 
[2092]
type=friend
username=2092
canreinvite=no
context=from-sip
mailbox=2092
host=dynamic
nat=no
dtmfmode=INFO
disallow=all
allow=alaw
allow=ulaw
 
;extensions.conf
[general]
static=yes
writeprotect=yes
 
[from-sip]
exten => 2092, 1, Dial (SIP/2092, 20)
exten => 2092, 2 , Voicemail (u2092)
exten => 2092, 102, Voicemail (b2092)
exten => 2092, 103, Hangup
 
exten => 9999, 1, VoicemailMain(${CALLERIDNUM})
 
;voicemail.conf
[general]
format=wav
 
[from-sip]
2092 => 2092, 2092, emailaddress
 
Has anyone any inkling as to what the cause could be?
 
Many thanks,
Aisling.
-------------------Legal  Disclaimer---------------------------------------
The above electronic mail transmission is confidential and intended only for the
person to whom it is addressed. Its contents may be protected by legal and/or
professional privilege. Should it be received by you in error please contact the
sender at the above quoted email address. Any unauthorised form of reproduction
of this message is strictly prohibited. The Institute does not guarantee the
security of any information electronically transmitted and is not liable if the
information contained in this communication is not a proper and complete record
of the message as transmitted by the sender nor for any delay in its receipt.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20050907/38543595/attachment.htm
Flobi
2005-Sep-07  06:02 UTC
[Asterisk-Users] Eeven Stranger - Asterisk BT100 Password Issue
I always get an unable to read password error if I hang up without entering a password when prompted. Maybe is this what you are doing? Even if you hear nothing, it is probably still expecting a password to be entered. On 9/7/05, Aisling <ashling.odriscoll@cit.ie> wrote:> > > Following on from my below email, things have taken another bizarre twist?? > > > > I have continued getting the error when 2092 tries to listen to messages by > dialing 9999. > > > > --Executing VoiceMailMain ("SIP/2092-6918", "2092") in new stack > > --Playing 'vm-password' (language 'en') > > WARNING: app_voicemail.c:4922 vm_authentication: Unable to read password. > > > > Then I decided to plug out my BT100 and left it plugged out for a few hours. > When I plugged it back in and dialed 9999 for voicemail, bizarrely I could > hear the voicemail main menu and was prompted for a password. When I entered > the password, I was able to listen to the messages?..This is what appeared > on the Asterisk console > > > > --Executing VoiceMailMain ("SIP/2092-6918", "2092") in new stack > > --Playing 'vm-password' (language 'en') > > --Incorrect password '1234' for user '2092' <context = <any>) //here I > entered the incorrect password 1234 > > --Playing 'vm-incorrect' (language 'en') > > --Playing 'vm-password' (language 'en') > > --Incorrect password '1234' for user '2092' <context = <any>) //again > here I entered the incorrect password 1234 > > --Playing 'vm-incorrect' (language 'en') > > --Playing 'vm-password' (language 'en') > > Unable to create lock file > '/var/spool/asterisk/voicemail/from-sip/2092/Old/': No such > file or directory > > Unable to create lock file > '/var/spool/asterisk/voicemail/from-sip/2092/Old/': No such > file or directory > > Unable to create lock file > '/var/spool/asterisk/voicemail/from-sip/2092/INBOX/': No > such file or directory > > Unable to create lock file > '/var/spool/asterisk/voicemail/from-sip/2092/INBOX/': No > such file or directory > > -- Playing 'vm-youhave' (language 'en') ??.//here I entered the correct > password and heard that I had no messages > > -- Playing 'vm-no' (language 'en') > > -- Playing 'vm-messages' (language 'en') > > --Playing 'vm-opts' (language 'en') > > > > > > But then to add another twist, I hung up the phone and dialed 9999 again. > This time it didn't work and I got the same old error as before. I tried > plugging out the phone again but it did not make a difference. > > > > Does anyone know what those extra messages on the console mean or how I can > solve this? I am obviously missing something important ? How do I get it? > > > > Many Thanks. > > > > > > -----Original Message----- > From: Aisling [mailto:ashling.odriscoll@cit.ie] > Sent: 06 September 2005 18:09 > To: 'asterisk-users@lists.digium.com' > Subject: Asterisk BT100 Password Issue > > > > Hi, > > > > I am getting the following error when I attempt to listen to voice messages > by dialing 9999 (I can hear nothing): > > > > --Executing VoiceMailMain ("SIP/2092-6918", "2092") in new stack > > --Playing 'vm-password' (language 'en') > > WARNING: app_voicemail.c:4922 vm_authentication: Unable to read password. > > > > I read in previous posts that this may be to do with the dtmf settings and > have set both (asterisk and BT100) to info. This has not helped. My phones > register with SER (port 5060) and use Asterisk for voicemail (port 5064). > > My configs are below along with my BT100 settings: > > > > ;Grandstream BT100 > > > > SIP Server: x.x.x.x:5060 > > SIP User ID: 2092 > > Authenticate ID: 2092 > > Name 2092 > > > > SER then forwards to port 5064 of Asterisk. > > > > ;sip.conf > > > > [general] > > bindport=5064 > > bindaddr=0.0.0.0 > > disallow=all > > allow=ulaw > > allow=alaw > > allow=gsm > > srvlookup=yes > > canreinvite=no > > autocreeper=yes > > nat=yes > > > > [2092] > > type=friend > > username=2092 > > canreinvite=no > > context=from-sip > > mailbox=2092 > > host=dynamic > > nat=no > > dtmfmode=INFO > > disallow=all > > allow=alaw > > allow=ulaw > > > > ;extensions.conf > > [general] > > static=yes > > writeprotect=yes > > > > [from-sip] > > exten => 2092, 1, Dial (SIP/2092, 20) > > exten => 2092, 2 , Voicemail (u2092) > > exten => 2092, 102, Voicemail (b2092) > > exten => 2092, 103, Hangup > > > > exten => 9999, 1, VoicemailMain(${CALLERIDNUM}) > > > > ;voicemail.conf > > [general] > > format=wav > > > > [from-sip] > > 2092 => 2092, 2092, emailaddress > > > > Has anyone any inkling as to what the cause could be? > > > > Many thanks, > > Aisling.-------------------Legal > Disclaimer--------------------------------------- The above > electronic mail transmission is confidential and intended only for the > person to whom it is addressed. Its contents may be protected by legal > and/or professional privilege. Should it be received by you in error please > contact the sender at the above quoted email address. Any unauthorised form > of reproduction of this message is strictly prohibited. The Institute does > not guarantee the security of any information electronically transmitted and > is not liable if the information contained in this communication is not a > proper and complete record of the message as transmitted by the sender nor > for any delay in its receipt. > _______________________________________________ > --Bandwidth and Colocation sponsored by Easynews.com -- > > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > > http://lists.digium.com/mailman/listinfo/asterisk-users > >-- Automated Signature: This message is from Flobi of Flobi.com. Visit my website if you like: http://www.flobi.com/ Please remember to tip your waitress and bartender. They are doing their best to serve you and your indignant, malcontent attitude. --