cookbooks:5.4.x:core
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
cookbooks:5.4.x:core [2021/05/12 11:06] – [snd_proto] giavac | cookbooks:5.4.x:core [2021/05/12 11:35] (current) – [kemi.received_route_callback] giavac | ||
---|---|---|---|
Line 509: | Line 509: | ||
==== 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 ==== | ||
Line 540: | 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 679: | 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: | ||
Line 990: | Line 994: | ||
==== kemi.received_route_callback ==== | ==== kemi.received_route_callback ==== | ||
- | Set the name of callback function in the KEMI script to be executed as the equivalent of `event_route[core: | + | Set the name of callback function in the KEMI script to be executed as the equivalent of `event_route[core: |
Default value: none | Default value: none | ||
Line 999: | Line 1003: | ||
<code c> | <code c> | ||
- | kemi.received_route_callback=" | + | kemi.received_route_callback=" |
</ | </ | ||
cookbooks/5.4.x/core.1620817598.txt.gz · Last modified: 2021/05/12 11:06 by giavac