[asterisk-users] Habitual set of number

Vitaly Oborsky undersmoker at gmail.com
Thu Sep 21 02:24:50 MST 2006


Good afternoon. For an output in city I use such construction:
exten => 9,1,Answer
exten => 9,2,SIPDtmfMode(rfc2833)
exten => 9,3, Set(TIMEOUT(digit)=3)
exten => 9,4,ChanIsAvail(ZAP/g2|j)
exten => 9,5,NoOp(${AVAILCHAN})
exten => 9,6,Playtones(dial)
exten => 9,7,Cut(chan=AVAILCHAN,-,1)
exten => 9,8,NoOp(${chan})
exten => 9,9,waitexten()
exten => _XXXXXX,1,Dial(${chan}/${EXTEN},,tT)
exten => _XXXXXX,2,Hangup
exten => _XXXXXXX,1,Dial(${chan}/${EXTEN},,tT)
exten => _XXXXXXX,2,Hangup
exten => 9,105,Playtones(busy)
exten => 9,106,Busy(10)
Like all it is quite good, except for one, hooter goes in a tube at
typing, at that time, while it hammers in number in waitexten. How it
is possible to realize too most, only that with a set of the first
figure hooter interrupted? In advance thanks.


More information about the asterisk-users mailing list