2009/3/14 Vieri <[email protected]> > > > --- On Sat, 3/14/09, Olivier <[email protected]> wrote: > > > you also can make use of SIPPEER(curcalls) > > Thanks. Will come in handy. > > > I don't know if DND is widely implemented in softphones > > as users might be > > tempted to simply turn softphone off > > If my softphone users turned their software "off" it would be better > because I would then detect that they are "unavailable". However, most users > find it a lot easier to just "press the DND button" on their softphone. > There's no way I can easily detect that (the phone isn't open-source and I > can't force them to use star codes to set DND in astdb). > > > What would you say if before hanging up, extension 102 > > would just check if a > > "call-back-later" request have been left (by > > extension 101 trough IVR) and > > use call files to generate requested calls ? > > This would avoid events handling. > > If I understand correctly, you're suggesting to implement the h priority > instructions (or a "hangup macro") to: > > 1) run a deadagi or a system() script to see if someone has left a request > (eg. in astdb) to call-back-when-avail > > 2) create a call file with, say: > Channel: SIP/102 > and > Context: internal > Extension: 101 > Priority: 1 > > Is that what you would do, more or less?
yes, that's exactly what I meant. As I'm not too fluent in AEL scripting, I'm afraid I can't easily be more helpful but you eactly got what I suggested. What would think of that ? Would it fit for you ? > > > Thanks, > > Vieri > > > > > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
_______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
