Nguyen Trung Tin
2005-Jul-10 11:39 UTC
[Asterisk-Users] Re: Asterisk-Users Digest, Vol 12, Issue 63
Hello ALL When i dial out to outside, how to detected remote call offhook. i append in extensions.conf [ext-callout] ;exten => s,1,NVLineDetect(60,d) ;exten => s,1,NVLineDetect ;exten => s,1,NVBackgroundDetect(custom/aa_1) ;exten => s,1,MachineDetect(7000,2,2200) ;exten => s,1,NVFaxDetect(10) exten => s,1,NoOp exten => s,2,background(custom/aa_2) exten => s,3,Hangup exten => answer,1,background(custom/aa_11) exten => answer,2,hangup exten => fax,1,txfax(/testfax.tif|9080718) exten => fax,2,Hangup ;exten => fax,1,background(custom/aa_21) ;exten => fax,2,hangup exten => talk,1,background(custom/aa_12) exten => talk,2,hangup exten => i,1,hangup exten => h,1,hangup and make a new call file test.call Channel: Vpb/g1/2442790 MaxRetries: 0 WaitTime: 20 Context: ext-callout Extension: s Priority: 1 when i copy test.call to /var/spool/asterisk/outgoing. my asterisk dial out. then play exten => s,2,background(custom/aa_2) ? please help me to configure to regconize remote call offhook, then i must be playing wave file. Thanks My hardware is using Voicetronix Openswitch 12, disconnect tone is good. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050710/182b75cb/attachment.htm