[SR-Users] Example kamailio.cfg t_check_trans()

Phil Lavin phil.lavin at synety.com
Thu Dec 31 12:39:43 CET 2015


Hi there,

The example config that Kamailio ships with contains this block of code in request_route:

# handle retransmissions
if(t_precheck_trans()) {
     t_check_trans();
     exit;
}
t_check_trans();

I am not fully understanding the requirement for either of the t_check_trans() here. As far as I can see from the documentation, t_check_trans() returns a boolean value and does not modify any data internally.

Can anyone help me find out what the relevance of the t_check_trans() calls is?


Thanks

Phil Lavin
Systems Engineer
CloudCall by SYNETY
www.cloudcall.com<http://www.cloudcall.com>

T: +44 (0) 330 335 0000 / +1 617 982 1600
D: +44 (0) 116 424 4790 / +1 617 982 4790
SM: LinkedIn<https://uk.linkedin.com/pub/phil-lavin/25/422/750>
READ OUR BLOG FOR SMARTER COMMUNICATIONS<http://t.sidekickopen03.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJW7t5XX43M2cMvVRrZGW2zq9tRVd0tpR56dKNHf2gJW-W02?t=http%3a%2f%2fwww.synety.com%2fblog&si=4668581662425088&pi=98b5dc7b-6a3f-4319-9221-c422f106ebf9>

Confidentiality: This e-mail transmission, including any attachments, is intended only for the named recipient(s) and may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you have received this transmission in error, or are not the named recipient(s), please notify the sender immediately by return e-mail and permanently delete this transmission, including any attachments.
Security: This e-mail and any attachments are believed to be free from any virus but it is the responsibility of the recipient to ensure this is so. E-mail is not a 100% secure communication.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20151231/f7b5af99/attachment.html>


More information about the sr-users mailing list