[Asterisk-Users] Call back when no longer busy

Peter Svensson psvasterisk at psv.nu
Tue Dec 21 08:12:14 MST 2004


On Tue, 21 Dec 2004, Stefan de Konink wrote:

> E. Versaevel wrote:
> > Hello, I’m trying to implement a function available on the PSTN net 
> > here, if you dial a number which is busy and you press 5, you will be 
> > called back when the busy party hangs up.
> 
> Cron job, eighter parse every 10s both peer statuses, and create a call 
> file that is in the callback context which parses the from peer callback 
> database?
> 
> Or in a ideal situation an application that notices peer changes and 
> creates a trigger. (Manager API Events)
> 
> Wait for Hangup, check Hangup->Channel in To5-DB
> if in call Callback context
> (extension script should handle pickup/call To5-DB/FromPeer)

You can do it with the "icd" queue system for asterisk. Look at the wiki 
for more information. Icd supports callback queue members. I.e. put them 
in a queue and if they press 5 you re-add them as a callback queue member.

Peter





More information about the asterisk-users mailing list