On Saturday 01 May 2004 09:42 pm, Tom Scott wrote:
> okay, will use ${EXTEN}.
>
> it all seems to be working now. I think my problem was
> understanding the flow of control using contexts, but
> i also needed to do some reading on syntax and variables
> -- and more to come.
>
> the working commands that we ended up using are:
>
> [trunklocal]
> exten => _9NXXXXXXXXX,1,StripMSD(1)
> exten => _NXXXXXXXXX,2,Dial(${TRUNK}/${EXTEN})
> exten => _NXXXXXXXXX,3,Congestion
You could make that example shorter:
exten => _NXXXXXXXXX,1,Dial(${TRUNK}/${EXTEN:1})
exten => _NXXXXXXXXX,2,Congestion
Anon
_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users