Displaying 1 result from an estimated 1 matches for "manger_ev".
2015 Jan 07
0
Adding an Event on chan_sip.c (asterisk 1.8.22)
...;857128833 at 192.168.2.129
<857128833 at 192.168.2.129>' with owner SIP/1015-00000002 in place (Method:
BYE). Rescheduling destruction for 10000 ms*
I would like to raise a manager event, to take some action when it is
happening.
To do so, I believed that was just a matter of adding an manger_event call
as follows:
* owner = sip_pvt_lock_full(p);*
* if (owner) {*
* ast_log(LOG_WARNING, "Autodestruct on dialog '%s' with owner %s in place
(Method: %s). Rescheduling destruction for 10000 ms\n", p->callid,
owner->name, sip_methods[p->method].text);*
* manager_event(...