Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
core-cookbook:devel [2009/01/15 23:17]
linulin backslashes removed; syntax highlighting enabled
core-cookbook:devel [2012/03/18 08:11]
109.230.216.60 old revision restored
Line 1: Line 1:
-====== SIP Router: Core Cookbook ====== +Yantram is the social media mnaketirg and content writing division of Submit Express, the leading search engine optimization company since 2000With ten years of SEO and search engine mnaketirg experienceWe can build your brand, loyalty, customer base and much more.
- +
-This tutorial collects the functions and parameters exported by SIP Router core to configuration file. +
- +
-===== Core Keywords ===== +
- +
-Keywords specific to SIP messages which can be used mainly in '''if''' expressions. +
- +
-==== af ==== +
- +
-The address family of the received SIP messageIt is INET if the message was received over IPv4 or INET6 if the message was received over IPv6. +
- +
-Exampe of usage: +
- +
-<code c> +
-    if (af==INET6) { +
-        log("Message received over IPv6 link\n"); +
-    } +
-</code> +
- +
-===== Core Values ===== +
- +
-Values that can be used in '''if''' expressions to check against Core Keywords +
- +
-==== INET ==== +
- +
-This keyword can be used to test whether the SIP packet was received over an IPv4 connection. +
- +
-Example of usage: +
- +
-<code c> +
-    if (af==INET) { +
-        log("the SIP message was received over IPv4\n"); +
-    } +
-</code> +
- +
-===== Core parameters ===== +
- +
-===== Core functions ===== +
- +
-===== Routing blocks ===== +
- +
-===== Script statements ===== +
- +
-===== Script operations =====+

Navigation

Wiki

Other

QR Code
QR Code core-cookbook:devel (generated for current page)