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,[EMAIL PROTECTED] 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
_______________________________________________ --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