[Asterisk-Users] Directing to different Voicemailboxes by
Callermsn?
Kai Militzer
km at westend.com
Thu Jul 1 03:09:50 MST 2004
Hi List
Am Do, den 01.07.2004 schrieb Henning Vogt um 10:34:
> I would like to have:
>
> - a Voicemailbox with 1 MSN
> - Callers calling this Voicemailbox are directed to differen Voicmailbox
> Extensions, depending on their (_THEIR_) MSN.
You should be able to do this with the GotoIF Statement in
extensions.conf
e.g.
exten => 1234,1,GotoIf($[${CALLERIDNUM} = 5678]?3:2)
exten => 1234,2,GotoIf($[${CALLERIDNUM} = 9011]?4:5)
exten => 1234,3,VoiceMail(u1)
exten => 1234,4,VoiceMail(u2)
exten => 1234,5,VoiceMail(u3)
If the calling number is 5678, the call is forwarded to mailbox 1, if
the number is 9011, the call is forward to mailbox 2. In all other
cases, the call is sent to mailbox 3.
Hope I gave you a vague direction. More about GotoIf can be found in the
wiki...
Best regards
Kai
--
Kai Militzer WESTEND GmbH | Internet-Business-Provider
Technik CISCO Systems Partner - Authorized Reseller
Lütticher Straße 10 Tel 0241/701333-11
km at westend.com D-52064 Aachen Fax 0241/911879
More information about the asterisk-users
mailing list