jordan pan schrieb: > > Hi everyone, > > when i use the automated dial out,I found that once the zap > answerd,the contex will be exectued, but i don't hope do it ,i hope > when extern phone answered ,then ,the context will be exectued. > Anyone can help me solve the problem! > the call file is: > Channel: Zap/g0/15015895665 > Context: myivr > RetryTime: 60 > MaxRetries: 2 > Waittime: 60 > Extension: 808 > Priority: 1 > Callerid: 15015895665 > > [myivr] > exten => s,1,Background(test) > exten => s,n,WaitExten > > Thanks in advance! > -- > Best regards! > jordan pan > Location:Shenzhen China > Company:www.justcall.cn <http://www.justcall.cn> > ------------------------------------------------------------------------ > > _______________________________________________ > -- 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 Hello,
you should have a look at originate CLI command. you can call using asterisk -rx "originate Zap/g0/1501589... Background(test). and maybe you should try an answer before starting the background in myivr. best regards. steve smith -- Für weitere Fragen stehen wir gerne unter [email protected] oder 059944 - 2440 zur Verfügung. Mit freundlichen Grüssen -- Stefan Schmidt Sysadmin/VOIP // [email protected] // Tel 059944-2440// ------------------------------------------------- SILVER SERVER GmbH // Lorenz-Mandl-Gasse 33/1 // A-1160 Wien // Fax 059944-9000 // www.sil.at // ------------------------------------------------- _______________________________________________ -- 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
