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:5.4.x:core [2021/05/12 12:41] giavac [Identifiers] |
cookbooks:5.4.x:core [2021/05/12 13:10] giavac [to_port] |
||
---|---|---|---|
Line 493: | Line 493: | ||
==== status ==== | ==== status ==== | ||
- | If used in onreply_route, | + | If used in **onreply_route**, this variable is a reference |
Example of usage: | Example of usage: | ||
Line 506: | Line 506: | ||
==== snd_af ==== | ==== snd_af ==== | ||
+ | In **onsend_route** it identifies the address family (see **af**) used to send the message out. | ||
==== snd_ip ==== | ==== snd_ip ==== | ||
+ | In **onsend_route** it contains the IP address used by Kamailio to send the message out. | ||
==== snd_port ==== | ==== snd_port ==== | ||
+ | In **onsend_route** it contains the port used by Kamailio to send the message out. | ||
==== snd_proto ==== | ==== snd_proto ==== | ||
+ | In **onsend_route** it identifies the protocol (see **proto**) used to send the message out. | ||
==== src_ip ==== | ==== src_ip ==== | ||
Line 538: | Line 542: | ||
==== to_ip ==== | ==== to_ip ==== | ||
+ | In **onsend_route** it contains the destination IP address where the message will be sent to. | ||
==== to_port ==== | ==== to_port ==== | ||
+ | In **onsend_route** it contains the destination port where the message will be sent to. | ||
==== to_uri ==== | ==== to_uri ==== | ||