This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
cookbooks:3.2.x:core [2011/12/07 13:21] 83.218.94.2 changes subst to substdef in the example |
cookbooks:3.2.x:core [2012/05/27 19:36] xvip87 [set_forward_close] |
||
---|---|---|---|
Line 59: | Line 59: | ||
* #!else - swtich to false branch of ifdef/ | * #!else - swtich to false branch of ifdef/ | ||
* #!endif - end ifdef/ | * #!endif - end ifdef/ | ||
+ | * #!trydef - add a define if not already defined | ||
+ | * #!redefine - force redefinition even if already defined | ||
Among benefits: | Among benefits: | ||
Line 971: | Line 973: | ||
CSeq exactly the same way as TM does. This is good for reboot - than messages belonging to transaction lost due to reboot will still be forwarded with the same branch parameter and will be match-able downstream. | CSeq exactly the same way as TM does. This is good for reboot - than messages belonging to transaction lost due to reboot will still be forwarded with the same branch parameter and will be match-able downstream. | ||
- | If it is turned on, just a simple value is put into the branch | + | If it is turned on (default, value is 1), just a simple value is put into the branch |
+ | <code c> | ||
+ | syn_branch=0 | ||
+ | </ | ||
==== tos ==== | ==== tos ==== | ||
Line 1905: | Line 1910: | ||
resetflag(b); | resetflag(b); | ||
+ | ==== is_int ==== | ||
+ | Checks if a pseudo variable argument contains integer value. | ||
+ | if(is_int(" | ||
+ | log(" | ||
+ | } | ||
==== log ==== | ==== log ==== | ||
Line 2120: | Line 2130: | ||
Try to close the connection (the one on which the message is sent out) after forwarding the current message. Can be used in same route blocks as set_forward_no_connect(). | Try to close the connection (the one on which the message is sent out) after forwarding the current message. Can be used in same route blocks as set_forward_no_connect(). | ||
- | Note: Use with care as you might not receive the replies anymore as the connection is closed. | + | Note: Use with care as you might not receive the replies anymore as the connection is [[http:// |