does dtmf any any variable that i can capture and use w/ some logic
like in the case of a gotoif

so, if caller enters a certain number then gotoif matches XX
otherwise go to YY.



On Sun, Jan 31, 2010 at 10:58 AM, Thomas Perron <[email protected]> wrote:
> ok.
> that worked
> thanks!!
>
>
> On Sun, Jan 31, 2010 at 10:50 AM, Tzafrir Cohen
> <[email protected]> wrote:
>> On Sun, Jan 31, 2010 at 10:37:29AM -0500, Thomas Perron wrote:
>>> hi
>>> i don't claim to be a star at this but there must be some obvious part 
>>> missing;
>>> my dial plan is below.  out put from cli follows.
>>>
>>> exten => 3011,1,Answer()
>>> exten => 3011,n,Set(TOTAL=0)
>>> exten => 3011,n,Set(TOTAL=${Math(${TOTAL}+300,int)})
>>> exten => 3011,n,WaitExten(3)
>>> exten => 988,1,SayNumber(${TOTAL})
>>>
>>> [Jan 31 10:21:35] ERROR[1318]: pbx.c:2770 ast_func_read: Function Math
>>> not registered
>>
>> Function names are CaSe SenSitive, and are normally ALL CAPS. You should
>> use 'MATH' instead of 'Math'.
>>
>> /me is done shouting for today, hopefully.
>>
>> --
>>               Tzafrir Cohen
>> icq#16849755              jabber:[email protected]
>> +972-50-7952406           mailto:[email protected]
>> http://www.xorcom.com  iax:[email protected]/tzafrir
>>
>> --
>> _____________________________________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to