[asterisk-dev] ZapHFC and "Call deflect on busy"

Thomas Schlöter mailinglist at infraschlot.bounceme.net
Sat Sep 8 21:21:23 CDT 2007


Hello,

I am using Asterisk 1.2 with bristuff (2 HFC-s cards). Recently, I 
noticed that there is a feature "deflect" in the chan_capi module, which 
allows to deflect incoming calls when all B channels are busy. As I 
would like to use chan_zap (because of MeetMe etc.) instead of 
chan_capi, I cannot use this feature. Is it possible to implement this 
in the zaptel-modules?

Deflecting calls with ZapCD already works, but there has to be at least 
one free B-Channel to handle the incoming call, otherwise the call is 
rejected (which seems to be hardcoded in the zaptel sources).

The reason for this request is the following:
I have one ISDN line (2 B-Channels) and an SIP account which can handle 
six calls at a time. When the ISDN lines are busy, I would like to 
receive further calls via SIP by deflecting them to my SIP number. So it 
would be nice, if there was an option in zaptel.conf which says "deflect 
= 01234567" just like it is handled in chan_capi. Even better would be 
the possibility to set a dialplan variable, which holds the original MSN 
where the call came in before deflecting. So I could accept the call on 
my SIP account and route it to the correct destination inside (second 
HFC card in NT mode or SIP Phones) depending on the MSN.



Thanks

Thomas



More information about the asterisk-dev mailing list