[sr-dev] local_route block ?

Daniel-Constantin Mierla miconda at gmail.com
Wed Sep 23 18:16:10 CEST 2009


Hello,

there is an event route for it -- WITH_EVENT_LOCAL_REQUEST must be 
enabled at compilation:

event_route[tm:local-request] {
...
}

Cheers,
Daniel


On 23.09.2009 18:06 Uhr, Juha Heinanen wrote:
> in k or openser there used to be a local_route block that was executed
> for locally generated requests, such as those triggered by t_uac_dlg
> mi command.
>
> the question is, what is the equivalent in sr?  when issuing, for
> example, invite using tm.t_uac_wait, i need to be able to set invite
> timeout using t_set_fr() call.
>
> there exists onsend_route, but according to wiki, it does not apply:
>
>   This route is executed only when forwarding requests - it is not
>   executed for replies, retransmissions, or locally generated messages
>   (e.g. via fifo uac).
>
> -- juha
>
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
>
>   

-- 
Daniel-Constantin Mierla
* http://www.asipto.com/




More information about the sr-dev mailing list