This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
cookbooks:5.4.x:core [2021/05/12 13:07] giavac [snd_ip] |
cookbooks:5.4.x:core [2021/05/12 13:14] giavac [myself] |
||
---|---|---|---|
Line 512: | Line 512: | ||
==== snd_port ==== | ==== snd_port ==== | ||
+ | In **onsend_route** it contains the port used by Kamailio to send the message out. | ||
==== snd_proto ==== | ==== snd_proto ==== | ||
Line 541: | 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 ==== | ||
Line 680: | Line 683: | ||
The variable can be used to test if the host part of an URI is in the list. The usefulness of this test is to select the messages that has to be processed locally or has to be forwarded to another server. | The variable can be used to test if the host part of an URI is in the list. The usefulness of this test is to select the messages that has to be processed locally or has to be forwarded to another server. | ||
- | See "alias" | + | See **alias** to add hostnames, IP addresses and aliases to the list. |
Example of usage: | Example of usage: |