[asterisk-users] "automatic call bridging when destination is available" feature

Vieri rentorbuy at yahoo.com
Sat Mar 14 07:34:45 CDT 2009



--- On Sat, 3/14/09, Olivier <oza-4h07 at myamail.com> 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?

Thanks,

Vieri



      



More information about the asterisk-users mailing list