[Asterisk-Users] Macro DialPlan

C F shmaltz at gmail.com
Fri Jan 6 09:39:59 MST 2006


If you have to ask this question, please get professional help to
install this, otherwise you might end up with a few thousand users
picketing at your door.


On 1/6/06, scott <scott at mysecretworld.co.uk> wrote:
> Hi All
>
> I am trying to simplify a dialplan for a few thousand users.
> Would what I have below work?
>
> If someone dials exten 710001 would it go through answer and then to the macro to try dialing the SIP phone thats registered on 710001 and then onto voicemail if no answer or not signed on?
>
>
> exten => 71XXXX,1,Answer()
> exten => 71XXXX,2,Macro(71macro,${EXTEN})
> exten => 71XXXX,3,Hangup()
>
>
> [macro-71macro]
>
> exten => s,1,Dial(SIP/${ARG1},30,tr)
> exten => s,2,VoiceMail(${ARG1})
> exten => s,3,PlayBack(vm-goodbye)
>
>
> Many Thanks in Advance
> Scott Pinhorne
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>



More information about the asterisk-users mailing list