Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
core-cookbook:devel [2008/11/20 14:50] miconda created |
core-cookbook:devel [2012/03/19 09:07] 85.178.69.42 |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== SIP Router: Core Cookbook ====== | ====== SIP Router: Core Cookbook ====== | ||
- | This tutorial collects the functions and parameters exported by SIP Router core to configuration file. | + | **This page has been moved to [[cookbooks: |
- | ===== Core Keywords ===== | ||
- | Keywords specific to SIP messages which can be used mainly in \' | ||
- | |||
- | ==== af ==== | ||
- | |||
- | The address family of the received SIP message. It is INET if the message was received over IPv4 or INET6 if the message was received over IPv6. | ||
- | |||
- | Exampe of usage: | ||
- | |||
- | < | ||
- | if(af==INET6) { | ||
- | log(\" | ||
- | }; | ||
- | </ | ||
- | |||
- | ===== Core Values ===== | ||
- | |||
- | Values that can be used in \' | ||
- | |||
- | ==== INET ==== | ||
- | |||
- | This keyword can be used to test whether the SIP packet was received over an IPv4 connection. | ||
- | |||
- | Example of usage: | ||
- | |||
- | < | ||
- | if(af==INET) | ||
- | { | ||
- | log(\" | ||
- | }; | ||
- | </ | ||
- | |||
- | ===== Core parameters ===== | ||
- | |||
- | ===== Core functions ===== | ||
- | |||
- | ===== Routing blocks ===== | ||
- | |||
- | ===== Script statements ===== | ||
- | |||
- | ===== Script operations ===== |