Darrick Hartman (lists)
2008-May-29 14:32 UTC
[asterisk-users] Ideas for call back when all lines are busy
Does anyone have an example of how to solve the following problem? Person has 3 analog lines. The way I have the dial plan right now, if all lines are busy and someone attempts an outbound call, they get congestion. (something like this) exten => _1NXXNXXXXXX,1,Dial(${POTS}/${EXTEN},90) exten => _1NXXNXXXXXX,n,Congestion(5) ; POTS=Zap/G1 What I'd like to do is if the line is busy, a that person receives a call-back when a line becomes available. Is this even possible? Thanks, Darrick -- Darrick Hartman DJH Solutions, LLC http://www.djhsolutions.com http://www.djhsolutions.com/wiki
Sherwood McGowan
2008-May-29 15:09 UTC
[asterisk-users] Ideas for call back when all lines are busy
Darrick Hartman (lists) wrote:> Does anyone have an example of how to solve the following problem? > > Person has 3 analog lines. The way I have the dial plan right now, if > all lines are busy and someone attempts an outbound call, they get > congestion. (something like this) > > exten => _1NXXNXXXXXX,1,Dial(${POTS}/${EXTEN},90) > exten => _1NXXNXXXXXX,n,Congestion(5) > ; POTS=Zap/G1 > > What I'd like to do is if the line is busy, a that person receives a > call-back when a line becomes available. Is this even possible? > > Thanks, > > Darrick >Yes, check out ChanIsAvail()
Doug Lytle
2008-May-29 15:09 UTC
[asterisk-users] Ideas for call back when all lines are busy
Darrick Hartman (lists) wrote:> What I'd like to do is if the line is busy, a that person receives a > call-back when a line becomes available. Is this even possible? >Use the h extension, check for database entries that require a call back. If any exist, create a drop file that calls back the extension contained in the database. Doug -- Ben Franklin quote: "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."