Benjamin Jacob
2008-May-07 10:08 UTC
[asterisk-users] update DB on ringing/ catch ringing event
Hello ppl,
Anyway in Asterisk to update a DB/ do some action on
events like ringing.
The issue is I need to be able to hangup/cancel a
call, if it's ringing(decided by the admin). This is
independant of the timeout that we can specify in the
Dial command.
If I could somehow update a DB with the channel name
on ringing, it would solve my problem.
I assume NVlinedetect is one way to do it, but that
isn't visible anymore, more so for Asterisk 1.4 and
above.
Any bright ideas on this one?
cheers
- Ben.
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
Philipp Kempgen
2008-May-07 14:43 UTC
[asterisk-users] update DB on ringing/ catch ringing event
Benjamin Jacob schrieb:> Anyway in Asterisk to update a DB/ do some action on > events like ringing. > The issue is I need to be able to hangup/cancel a > call, if it's ringing(decided by the admin). This is > independant of the timeout that we can specify in the > Dial command. > > If I could somehow update a DB with the channel name > on ringing, it would solve my problem. > > I assume NVlinedetect is one way to do it, but that > isn't visible anymore, more so for Asterisk 1.4 and > above. > > Any bright ideas on this one?I think there is no other solution but to listen to events on the Asterisk manager interface. Regards, Philipp Kempgen -- amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de Let's use IT to solve problems and not to create new ones. Asterisk? -> http://www.das-asterisk-buch.de Gesch?ftsf?hrer: Stefan Wintermeyer Handelsregister: Neuwied B 14998