[Asterisk-Users] voicemail clients
bbench at mail.bg
bbench at mail.bg
Wed Nov 23 11:33:28 MST 2005
On Wednesday 23 November 2005 17:43, Joao Pereira wrote:
> Hello to all
> I have clients registered with names (joao, manuel, etc...) and clients
> reistered with numbers (123, 120,...).
>
> To make the number clients receive voicemail, I have this:
>
> exten => _XXXXX,1,Answer
> exten => _XXXXX,2,Wait(1)
> exten => _XXXXX,3,VoiceMail(u${EXTEN})
> exten => _XXXXX,4,Playback(vm-goodbye)
> exten => _XXXXX,5,Hangup
>
>
> but for the name clients.... I need these 5 lines for each...
>
> exten => pereira,1,Answer
> exten => pereira,2,Wait(1)
> exten => pereira,3,VoiceMail(u${EXTEN})
> exten => pereira,4,Playback(vm-goodbye)
> exten => pereira,5,Hangup
>
> Is there any way I can solve this? making all calls that reach this
> point go to the voicemail?
Very ... kind of embarrassing, but interesting .
What if you assign in voicemail.conf
7373472 => 1234,pereira,pereira at santos.com
and then exten => pereira,3,VoiceMail(u7373472)
As you understand "pereira" is the "vanity" # of 7373472
and charge pereira for having vanity # :-)
Don't forget to tell us what happened!
benchev
More information about the asterisk-users
mailing list