I haven't really been following this thread but doesn't the following
snipet kinda do this....
[out-international]
exten => _011,1,goto(process-international,s,1)
[process-international]
exten => s,1,playback(international-call)
exten => s,n,playback(please-enter-the)
exten => s,n,read(number,number)
exten => s,n,Dial(SIP/[EMAIL PROTECTED],120,T)
exten => s,n,Macro(failann,${DIALSTATUS})
This matches 011 then could do any number of things. Here I just goto,
then it looks for more numbers (the announcement is optional) and then
dials them.
Maybe not what you are looking for but it is an example of Asterisk
matching an extension and then going on to take more digits that then
branch based on other digits. Here the 011 is prepended to the final
number.
BTW - what is a numer?
Doug
_______________________________________________
--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