[asterisk-users] original reformat extension

2009-08-05 Thread Karl Fife
Question: Naturally there are times when need to I reformat an extension in a context as such: ;Reformat add CC1 exten = _NXXNXX,1,Goto(1${EXTEN},1) -or- ;Reformat 011 with with +CC exten = _011X. ,1,Goto(+${EXTEN:3},1) It's a helpful trick, BUT there are times when I want to send

Re: [asterisk-users] original reformat extension

2009-08-05 Thread Alex Balashov
You could just store the initial value of ${EXTEN} in another channel variable before doing any postprocessing on it. You can then refer to the original received DNIS whenever you like elsewhere. Karl Fife wrote: Question: Naturally there are times when need to I reformat an extension in a

Re: [asterisk-users] original reformat extension

2009-08-05 Thread Administrator TOOTAI
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 =