On 04/19/2010 03:50 AM, Alex Balashov wrote:
On 04/19/2010 03:36 AM, IƱaki Baz Castillo wrote:
AFAIR the main purpose of local_route was to
handle the locallly
generated BYE for accounting purposes.
I defined an event_route[tm:local-request] but it does not appear to
fire in this scenario. Is it supposed to? Is there a possibility that
'dialog' synthesises the BYE without using TM bindings?
If you look in modules_k/dialog/dlg_req_within.c:dlg_bye_all(), it
calls the locally defined send_bye(), which does appear to use TMCB:
set_uac_req(&uac_r, &met, hdrs, NULL, dialog_info,
TMCB_LOCAL_COMPLETED, bye_reply_cb, (void*)cell);
result = d_tmb.t_request_within(&uac_r);
So, why doesn't the event_route for local requests get called?
--
Alex Balashov - Principal
Evariste Systems LLC
1170 Peachtree Street
12th Floor, Suite 1200
Atlanta, GA 30309
Tel: +1-678-954-0670
Fax: +1-404-961-1892
Web:
http://www.evaristesys.com/