[asterisk-users] [Dahdi 2.4.0] Flash() hangs up

Gilles codecomplete at free.fr
Tue Mar 1 02:53:50 CST 2011


On Mon, 28 Feb 2011 12:53:36 +0100, Gilles <codecomplete at free.fr>
wrote:
>Flash() now works :-)
>
>However, after putting call #1 on hold, Asterisk is unable to dial the
>second number:
>============== extensions.conf
>[from_fxo]
>exten => s,1,Wait(2)
>exten => s,n,Set(GLOBAL(CID)=${CALLERID(num)})
>exten => s,n,Hangup()
>
>exten => h,1,system(/var/tmp/test10.lua ${CID}&)
>
>[callback]
>exten => start,1,NoOp(In callback, CID is ${CID})
>;how to wait until remote phone picked up?
>exten => start,n,Wait(5)
>exten => start,n,Answer()
>exten => start,n,Playback(tt-monkeysintro)
>
>exten => start,n,Flash()
>exten => start,n,Dial(Dahdi/1/${GSM})

Using SendDTMF() works to call the second number, but when I take the
call, there's no actual call since Dial() isn't used:

============== extensions.conf
...
exten => start,n,Flash()
exten => start,n,SendDTMF(456789)
exten => start,n,Wait(10)

exten => start,n,Hangup()
==============

Maybe I'm the first Asterisk user to want to set up a conference call
through a single POTS line which supports that PBX feature :-/




More information about the asterisk-users mailing list