On Fri, 2006-01-06 at 10:27 +0000, scott wrote:
> [macro-71macro]
>
> exten => s,1,Dial(SIP/${ARG1},30,tr)
> exten => s,2,VoiceMail(${ARG1})
> exten => s,3,PlayBack(vm-goodbye)
You appear to be missing some potential error codes. Here is what I use
which is just an extended version of what you have.
[macro-dialvmb]
exten => s,1,Dial(${ARG1},16,t)
exten => s,2,Voicemail(u${ARG2})
exten => s,3,Hangup
exten => s,102,Voicemail(b${ARG2})
exten => s,103,Hangup
I have set this up so I pass 2 args, one is the extension to dial the
other is the voicemail box to goto if dial fails. I added the hangups
cause I am paranoid about that :)
--
Trixter http://www.0xdecafbad.com Bret McDanel
UK +44 870 340 4605 Germany +49 801 777 555 3402
US +1 360 207 0479 or +1 516 687 5200
FreeWorldDialup: 635378
http://www.sacaug.org/ Sacramento Asterisk Users Group
signature.asc
Description: This is a digitally signed message part
_______________________________________________ --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
