[asterisk-dev] Alarms on FXO channels

Tzafrir Cohen tzafrir.cohen at xorcom.com
Thu Mar 6 16:57:41 CST 2008


On Thu, Mar 06, 2008 at 04:48:34PM -0600, Kevin P. Fleming wrote:
> Oron Peled wrote:
> 
> >    B. alarms_chan_zap.diff:
> >       An alternative approach (and cleaner than A. in our opinion).
> >       Since chan_zap already calls ZT_GET_PARAMS ioctl() immediately
> >       after opening the channel, it knows about pending alarms
> >       (asterisk >= 1.4.8) and should simply use this data.
> 
> I'm fine with this approach, but keep in mind that there aren't *any*
> versions of Asterisk 1.4 that actually pay attention to channel alarms;
> only Asterisk 1.6 and trunk do that. In Asterisk 1.4 we modified
> chan_zap to suppress the pointless alarm/no alarm messages, but chan_zap
> will still try to dial out FXO ports that are in red alarm.

Chan_zap will be in alarm (whose name is "no alarm") and will not pass
calls. We've (ab)used that functionality before in 1.2 and 1.4.

-- 
               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



More information about the asterisk-dev mailing list