Karl Fife a écrit :
> [...] there are times when I want to send the call to another context in its
> original un-reformatted state. Naturally the ${EXTEN} variable has been
> changed. It occurred to me to use CALLERID(DNID) as such:
>
> exten => _1NXXNXXXXXX,n(fail),Goto(other-context,${CALLERID(DNID)},1)
>
Before goto
exten => _NXXNXXXXXX,1,Set(__DIALEDNUMBER=${EXTEN})
exten => _NXXNXXXXXX,n,Goto(1${EXTEN},1)
and then you always have the original unformated state in ${DIALEDNUMBER}
--
Daniel
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users