VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
asif44pk at gmail.com Guest
|
Posted: Wed Mar 19, 2008 10:13 am Post subject: [asterisk-users] How to configure Voice mail for multi users |
|
|
Hi All,
i want to configure voice mail on Asterisk 1.4 for multiple users. let
me explain you the scenario.
i have 10 users with the name of
1000,2000,3000,4000,5000,6000,.......and these user can call to each
other. Now i want to configure separate voice mail box for separate
user.
my extensions.conf ..... settings below..
[voicemail]
exten => _X.,1,Dial(SIP/${EXTEN})
exten => _X.,n,NoOp(Dial Status: ${DIALSTATUS})
exten => _X.,n,Goto(s-${DIALSTATUS},1)
exten => s-NOANSWER,1,Background(vm-nobodyavail)
exten => s-NOANSWER,n,VoiceMail(${EXTEN}@usersmail)
exten => s-NOANSWER,n,Hangup()
exten => s-CONGESTION,1,Background(vm-nobodyavail)
exten => s-CONGESTION,n,VoiceMail(${EXTEN}@usersmail)
exten => s-CONGESTION,n,Hangup()
exten => s-CANCEL,1,Background(vm-nobodyavail)
exten => s-CANCEL,n,VoiceMail(${EXTEN}@usersmail)
exten => s-CANCEL,n,Hangup()
exten => s-BUSY,1,Background(salesrep)
exten => s-BUSY,n,VoiceMail(${EXTEN}@usersmail)
exten => s-BUSY,n,Hangup()
exten => s-CHANUNAVAIL,1,Background(vm-nobodyavail)
exten => s-CHANUNAVAIL,n,VoiceMail(${EXTEN}@usersmail)
exten => s-CHANUNAVAIL,n,Hangup()
my voicemail.conf
[usersmail]
1000 => 1212, userm, 1000 at abc.com
2000 => 1212, userm, 2000 at abc.com
please help me how can i set calling number before send voice mail in
users voicemail box.
when i dial like VoiceMail(${EXTEN}@usersmail) voice mail not work and
when i heard code user, like this VoiceMail(1000 at usersmail) voicemail
work fine. but i want to set if user dial 2000 or 3000 or 4000 it
should be set automatically.
thanks for your cooperations.
regards,
Asif |
|
Back to top |
|
|
eric at fnords.org Guest
|
Posted: Wed Mar 19, 2008 10:39 am Post subject: [asterisk-users] How to configure Voice mail for multi users |
|
|
Mian M Asif wrote:
Quote: | Hi All,
i want to configure voice mail on Asterisk 1.4 for multiple users. let
me explain you the scenario.
i have 10 users with the name of
1000,2000,3000,4000,5000,6000,.......and these user can call to each
other. Now i want to configure separate voice mail box for separate
user.
my extensions.conf ..... settings below..
[voicemail]
exten => _X.,1,Dial(SIP/${EXTEN})
exten => _X.,n,NoOp(Dial Status: ${DIALSTATUS})
exten => _X.,n,Goto(s-${DIALSTATUS},1)
exten => s-NOANSWER,1,Background(vm-nobodyavail)
exten => s-NOANSWER,n,VoiceMail(${EXTEN}@usersmail)
exten => s-NOANSWER,n,Hangup()
|
As I'm sure you know, ${EXTEN} is the value of the currently executing
extension, in the example above your line would be parsed as:
exten => s-NOANSWER,n,VoiceMail(s-NOANSWER at usersmail) You would have
seen this if you were watching the Asterisk console when a call failed
to go to Voicemail.
Find some other way. You could save the value of EXTEN in a different
variable before the Goto(s-${DIALSTATUS},1), but there are many, many,
many other ways. |
|
Back to top |
|
|
asif44pk at gmail.com Guest
|
Posted: Thu Mar 20, 2008 5:06 am Post subject: [asterisk-users] How to configure Voice mail for multi users |
|
|
Hi eric,
can you please tell me how can i save the value of EXTEN in a different
variable before the Goto(s-${DIALSTATUS},1),
thanks for you help,
regards,
Asif
Message: 14
Date: Wed, 19 Mar 2008 10:39:22 -0500
From: Eric Wieling <eric at fnords.org>
Subject: Re: [asterisk-users] How to configure Voice mail for multi
users.
To: Asterisk Users Mailing List - Non-Commercial Discussion
<asterisk-users at lists.digium.com>
Message-ID: <47E133AA.80704 at fnords.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Mian M Asif wrote:
Quote: | Hi All,
i want to configure voice mail on Asterisk 1.4 for multiple users. let
me explain you the scenario.
i have 10 users with the name of
1000,2000,3000,4000,5000,6000,.......and these user can call to each
other. Now i want to configure separate voice mail box for separate
user.
my extensions.conf ..... settings below..
[voicemail]
exten => _X.,1,Dial(SIP/${EXTEN})
exten => _X.,n,NoOp(Dial Status: ${DIALSTATUS})
exten => _X.,n,Goto(s-${DIALSTATUS},1)
exten => s-NOANSWER,1,Background(vm-nobodyavail)
exten => s-NOANSWER,n,VoiceMail(${EXTEN}@usersmail)
exten => s-NOANSWER,n,Hangup()
|
As I'm sure you know, ${EXTEN} is the value of the currently executing
extension, in the example above your line would be parsed as:
exten => s-NOANSWER,n,VoiceMail(s-NOANSWER at usersmail) You would have
seen this if you were watching the Asterisk console when a call failed
to go to Voicemail.
Find some other way. You could save the value of EXTEN in a different
variable before the Goto(s-${DIALSTATUS},1), but there are many, many,
many other ways. |
|
Back to top |
|
|
Guest
|
Posted: Thu Mar 20, 2008 1:45 pm Post subject: [asterisk-users] How to configure Voice mail for multi users |
|
|
Mian M Asif wrote:
Quote: | Hi eric,
can you please tell me how can i save the value of EXTEN in a different
variable before the Goto(s-${DIALSTATUS},1),
| exten => s,n,Set(OLD_EXTEN=${EXTEN})
Then later, just use ${OLD_EXTEN} |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|