[asterisk-users] Prevent Dial if any extension is busy
Benny Amorsen
benny+usenet at amorsen.dk
Mon Nov 30 03:25:37 CST 2009
Leif Neland <leifn at neland.dk> writes:
> I think a modification should be done around here to return busy if just
> one channel was busy (only enabled if an option on dial is set)
> in asterisk-1.6.0.15/apps/app_dial.c, line 610
That is doable, but it can result in a bad experience for the caller.
The Dial() is likely to indicate progress to the caller, which means
that the caller will hear the familiar "dialing" tone (By the way, is
there a dictionary of the names for the various telecoms tunes?). Right
afterwards they will hear the busy tone, as if the callee rejected the
call.
It is best not to send a busy tone once you have indicated that the call
is on the way to being connected -- unless you're trying to get rid of a
telemarketer.
/Benny
More information about the asterisk-users
mailing list