[Asterisk-Users] dialed number notify at invalid dial situation
Masakazu Nakano
n-mack at md.neweb.ne.jp
Wed Apr 16 07:24:43 MST 2003
thanks all!
I tryed a coulple of tricky extension.
figure 1
exten => i,1,Macro(stdext,${EXTEN})
in this case.
${EXTEN} value is 'i' - result is an alphabetical order. ;-)
figure 2
exten => _X,1,dial(${EXTEN}@saydigitmenu)
exten => _X,1,goto(saydigitmenu,${EXTEN},1)
${EXTEN} value is a dialed number.
it can get a number.
and it needs more so long coding or app_saydigits :-)
but it cannot understand the extension is available first.
Can I fix this problem when I patched ???
or ... Can I get this value from another Enviroment ???
# sorry for my strange english ;-)
On Wed, 16 Apr 2003 00:28:54 -0400 (EDT)
James Golovich <james at wwnet.net> wrote:
> This message is in MIME format. The first part should be readable text,
> while the remaining parts are likely unreadable without MIME-aware tools.
> Send mail to mime at docserver.cac.washington.edu for more info.
>
>----------------------------------------------------------------
>Here is a patch that adds a SayNumber and SayDigits app as builtins. It
>would probably be better implemented as an external app so if someone
>wants to throw something together and ship a patch off to mark that would
>be cool
>
>James
>
>
>On Tue, 15 Apr 2003, Benjamin Miller wrote:
>
>> I've been meaning to write an app_saydigits, which would be quite trivial given that there is a say_digits function. However, until I have a few moments, or some one else writes it, you could call an AGI script which DOES have access to a say digits command.
>> Ben
>>
>> -----Original Message-----
>> From: Masakazu Nakano [mailto:n-mack at md.neweb.ne.jp]
>> Sent: Tuesday, April 15, 2003 5:43 PM
>> To: Asterisk-Users at lists.digium.com
>> Subject: [Asterisk-Users] dialed number notify at invalid dial situation
>>
>>
>>
>> Hi all
>>
>> Now I'm making IVR sequance that is customised [mainmanu].
>>
>> I wish to notify invaid command like a following
>>
>> exten => i,1,playback('your command is ...')
>> exten => i,2,playback(${EXTEN}) ; <---- Say 'i' oops! ;-(
>> exten => i,3,playback(' is incorrect! please again ')
>>
>> # This exten lines are figure for instruction.
>> # I know to use with gsm filename.
>>
>> but ${EXTEN} meaning 'i' that isn't dialed number.
>>
>> Does anyone have good idea?
>>
>> please help
>>
>> ---
>> Masakazu Nakano.
>> Dairiten.com - an open source VoIP and Ubiquitus Portal site in Japan.
>> http://www.dairiten.com:81/modules/news/
>> powered by xoops at http://www.xoops.org
>>
>> _______________________________________________
>> Asterisk-Users mailing list
>> Asterisk-Users at lists.digium.com
>> http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>> _______________________________________________
>> Asterisk-Users mailing list
>> Asterisk-Users at lists.digium.com
>> http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>
>_______________________________________________
>Asterisk-Users mailing list
>Asterisk-Users at lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-users
---
Masakazu Nakano.
Dairiten.com - an open source VoIP and Ubiquitus Portal site in Japan.
http://www.dairiten.com/modules/news/
powered by xoops at http://www.xoops.org
More information about the asterisk-users
mailing list