Hi there, I got really tired of false hangups, specially when someone calls from SIP/IAX/whatever to PSTN, which makes no sense in using busydetect in the zap channel, as the caller will eventually hear the busy tones and hangup, causing the zap channel to be "freed" as well... After suggesting that the busy detect be enabled only for inbound calls, and finding other people that think like me, I decided to try to do it. I have no idea of how to do it the "right/pretty" way, but, as usual, I made it work the easiest/fastest way. So, any tips will be appreciated. Where to get it: http://www.carcara.lncc.br/marconi/mr_busydetect.patch How to apply: cp mr_busydetect.patch path-to/asterisk-1.0.1/channels cd path-to/asterisk-1.0.1/channels patch < mr_busydetect.patch cd .. make make install -- if you really trust me :) Please note the 1.0.1 version... I have no idea of what happens if applied to any other version... maybe it will explode or something. :) Comments, feedback, critics... all welcome. Hope it suits somebody else. Marconi Rivello.
Benjamin on Asterisk Mailing Lists
2004-Oct-02 04:35 UTC
[Asterisk-Users] Patch: Inbound-only busydetect
Marconi Rivello wrote:> After suggesting that the busy detect be enabled only for inbound > calls, and finding other people that think like me, I decided to try > to do it.BEEEEAAAAUUUUTIFULLLLLLL! Thank you so much fo that. I'll definitely give this a try.> I have no idea of how to do it the "right/pretty" way, but, as usual, > I made it work the easiest/fastest way. So, any tips will be > appreciated.in the long term it would be nice if this was configurable, ie /etc/asterisk/zapata.conf busydetect=inbound-only thanks again rgds benjk -- Sunrise Telephone Systems, 9F Shibuya Daikyo Bldg., 1-13-5 Shibuya, Tokyo, Japan. NB: Spam filters in place. Messages unrelated to the * mailing lists may get trashed.