<P>Hello ALL</P>
<P>When i dial out to outside, how to detected remote call offhook.</P>
<P>i append in extensions.conf</P>
<P>[ext-callout]<BR>;exten => s,1,NVLineDetect(60,d)<BR>;exten => s,1,NVLineDetect<BR>;exten => s,1,NVBackgroundDetect(custom/aa_1)<BR>;exten => s,1,MachineDetect(7000,2,2200)<BR>;exten => s,1,NVFaxDetect(10)</P>
<P>exten => s,1,NoOp</P>
<P>exten => s,2,background(custom/aa_2)<BR>exten => s,3,Hangup</P>
<P>exten => answer,1,background(custom/aa_11)<BR>exten => answer,2,hangup</P>
<P>exten => fax,1,txfax(/testfax.tif|9080718)<BR>exten => fax,2,Hangup</P>
<P>;exten => fax,1,background(custom/aa_21)<BR>;exten => fax,2,hangup</P>
<P>exten => talk,1,background(custom/aa_12)<BR>exten => talk,2,hangup</P>
<P>exten => i,1,hangup<BR>exten => h,1,hangup</P>
<P>and make a new call file test.call</P>
<P>Channel: Vpb/g1/2442790<BR>MaxRetries: 0<BR>WaitTime: 20<BR>Context: ext-callout<BR>Extension: s<BR>Priority: 1<BR></P>
<P>when i copy test.call to /var/spool/asterisk/outgoing. my asterisk dial out. then play exten => s,2,background(custom/aa_2)<BR>?</P>
<P>please help me to configure to regconize remote call offhook, then i must be playing wave file.</P>
<P>Thanks</P>
<P> </P>
<P>My hardware is using Voicetronix Openswitch 12, disconnect tone is good.</P>
<P> </P>