hello, using Asterisk, is there any clever way to provide answer supervision based upon the received audio only from the FXO interface (from a public PSTN switch that does not have battery reversal, or CPC).
 
I would like to use something like:
 
[toCALLOUT
;script to call a particular number regardless, but we want to terminate if call is not answered
;we do NOT have Battery/Polarity reversal & we do NOT have CPC from the FXO port.
;Zap/3 is a FXO port connected to PSTN
exten => s,1,Answer
exten => s,n,Playback(beep)
exten => s,n,Playback(beep)
exten => s,n,Playback(pls-wait-connect-call) ; nice of us don't you think?
exten => s,n,ChanIsAvail(Zap/3)
exten => s,n,Cut(theChannel=AVAILCHAN,,1)
exten => s,n,SetAccount(007)
exten => s,n,Dial(${theChannel}/w1234567) <------------------ we need to fork a process here to monitor timeout
exten => s,n,Hangup
* if 15-30 seconds go by and the call is not answered, how can we determine the call progress ? Note this is not a US network we are using. Can we utilise answer supervision based completely on received audio (like voice speech detection) ?
 
-samudra
 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.8 - Release Date: 1/3/2005
_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to