On Mon, 28 Feb 2011 12:53:36 +0100, Gilles <codecompl...@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 :-/ -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users