Bruno.Voigt@ic3s.de wrote:
>Hi all,
>
>how may I set in callfiles additional variables so that I might reference
>them later in the extensions.conf ?
>eg. TESTDATA=ABCD
>
>I didnt find an example in www.voip-info.org.
>
>Is it possible at all ? I ask because I need several vars beyond
>ACCOUNTCODE.
>
>Are there difference in the ccapabilities between 1.0.9 and 1.2?
>
>TIA,
>Bruno
>
>
In callfile:
SetVar: BDOLLARS=45
SetVar: BCENTS=33
In dialplan context:
exten => s,1,Answer
exten => s,2,SayNumber(${BDOLLARS})
exten => s,3,PlayBack(dollars)
exten => s,4,SayNumber(${BCENTS})
exten => s,5,PlayBack(cents)
Mike