[Kamailio-Users] Stateless forward

Antonio Reale ant.reale at gmail.com
Tue Feb 9 16:01:22 CET 2010


Hi Klaus,

2010/2/9 Klaus Darilion <klaus.mailinglists at pernau.at>:
>
> t_on_reply is a function of the tm module. If you forward stateless, of
> course the t_on_reply does not work.

Sure. I was aware of this.

> You can try to do your manipulation in the default reply route, which will
> be executed always, before execution of reply routes armed by t_on_reply:
>
> onreply_route {
>        # default onreply_route
>        xlog("L_DBG","[$Tf] $rs $rr (From: $fu <- To: $tu)\n");
>        ...
> }

Great! I missed that the default onreply route was independent from t_on_reply.
Thank you very much for the precious suggestion.

>
> regards
> Klaus

Best regards.

-- 
Antonio



More information about the Users mailing list