[OpenSIPS-Users] t_new_request from event_route and timer_route

Grant Bagdasarian grantbagdasarian at gmail.com
Tue Jul 28 08:50:26 EST 2020


Hi,

OpenSips doesn't allow the t_new_request function to be used from
event_route, or timer_route, but the following does work:

event_route[E_SOME_EVENT] {
    route(SEND_REQUEST);
}

timer_route[some_timer, 10] {
    route(SEND_REQUEST);
}

route[SEND_REQUEST] {
    t_new_request();
}

Is there a reason for this? Why not just allow t_new_request from both
event_route and timer_route directly.



More information about the Users mailing list