[Asterisk-Users] voicemail clients

Fred Blaise fblaise at jaolin.net
Wed Nov 23 11:08:45 MST 2005


Hello Joao, see inline.

On Wed, 2005-11-23 at 15:43 +0000, Joao Pereira wrote:
> Hello to all
> I have clients registered with names (joao, manuel, etc...) and clients 
> registered 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?

> You can handle this by writing a macro.

Study this:
http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+Macro

> Thanks
> Joao
> 
> >
> _______________________________________________
> --Bandwidth and Colocation sponsored by Easynews.com --
> 
> Asterisk-Users mailing list
> Asterisk-Users at 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

-- 
[ ----------------------------------------------------- ]
[ id            fred a.k.a chapeaurouge                 ]                                                       ]
[ email         chapeaurouge(at)madpenguin(dot)org      ]
[ sip           sip:fred(at)jaolin(dot)net              ]
[ web           http://madpenguin.org                   ]
[ ----------------------------------------------------- ]

[ GPG info ]
Key fingerprint = 1674 7CBA 4F97 70D7 1A74  C7E9 333E 4335 75B1 4D02
Fetch key: gpg --keyserver pgp.mit.edu --recv-key 75B14D02
or http://madpenguin.org/pubkeys/fred_mp.key
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20051123/014ec374/attachment.pgp


More information about the asterisk-users mailing list