[SR-Users] how to check if reply is retransmission?

Johan Wilfer lists at jttech.se
Wed Nov 5 19:29:18 CET 2014


Den 2014-11-05 14:35, Juha Heinanen skrev:
> is there a means to check if reply to t_relay()ed request is
> retransmission?  there is t_is_retr_async_reply(), but that does not
> apply to regular transactions.
>
> i would like to avoid double calling of rtpengine_answer().
>
> -- juha

t_check_trans() will consume retransmissions.

http://www.kamailio.org/docs/modules/stable/modules/tm.html#tm.f.t_check_trans

-- 
Johan Wilfer



More information about the sr-users mailing list