Differences

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

Link to this comparison view

Next revision
Previous revision
playground:playground [2008/05/05 19:10]
127.0.0.1 external edit
playground:playground [2009/01/15 23:03]
linulin the issue with backslashes has been solved
Line 1: Line 1:
-====== PlayGround ======+:!: Pay attention to automatically inserted backslashes before quotes. Default Debian DokuWiki package does not have this bug. 
 +So, this is obviously caused by some filtering...
  
 +====== SIP Router: Core Cookbook ======
 +
 +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 message. It is INET if the message was received over IPv4 or INET6 if the message was received over IPv6.
 +
 +Exampe of usage:
 +
 +<code>
 +    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>
 +    if(af==INET)
 +    {
 +        log("the SIP message was received over IPv4n");
 +    };
 +</code>
 +
 +===== Core parameters =====
 +
 +===== Core functions =====
 +
 +===== Routing blocks =====
 +
 +===== Script statements =====
 +
 +===== Script operations =====

Navigation

Wiki

Other

QR Code
QR Code playground:playground (generated for current page)