Hi With an FXO module + Zaptel, I'd like to know if there are ways to know when the remote party has answered the phone, whether calling through a callfile or by sending DTMF's. I read about {CHANNEL(state), ChanIsAvail(), and ${DIALSTATUS}: Are those reliable ways to know when the channel is available for dialing out and the call has been answered? www.voip-info.org/wiki/view/Asterisk+func+channel www.voip-info.org/wiki/view/Asterisk+cmd+ChanIsAvail www.voip-info.org/wiki/view/Asterisk+variable+DIALSTATUS =============[callback] exten => start,1,NoOp(DialStatus is ${DIALSTATUS}) ;how to pause until party has answered? ;Down, Rsrvd, OffHook, Dialing, Ring, Ringing, Up, Busy, Dialing Offhook, Pre-ring, Unknown exten => start,n,While([${CHANNEL(state) != "OffHook"]) exten => start,n,NoOp(Channel still ringing) exten => start,n,EndWhile() exten => start,n,Answer(500) exten => start,n,Playback(please-wait) exten => start,n,Flash() exten => start,n,SendDTMF(${GSM},500) ;how to pause until party has answered? exten => start,n,Wait(5) ============= Thank you.
Tzafrir Cohen
2011-Mar-02 12:06 UTC
[asterisk-users] [1.4] Call progress for Zaptel 1.4.3.1?
On Wed, Mar 02, 2011 at 10:54:14AM +0100, Gilles wrote:> Hi > > With an FXO module + Zaptel, I'd like to know if there are ways to > know when the remote party has answered the phone,Any chance thi information is available through polarity reversal? In thise case: answeronpolarityswitch = yes hanguponpolarityswitch = yes -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir