User Tools

Site Tools


devel:kamailio-5.0-design

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 Both sides next revision
devel:kamailio-5.0-design [2016/03/01 09:21]
miconda [Exporting Functions To Embedded Interpreters]
devel:kamailio-5.0-design [2016/03/01 09:25]
miconda [Exporting Functions To Embedded Interpreters]
Line 39: Line 39:
   * pointer to c function   * pointer to c function
  
 +Example:
 +
 +<code c>
 +// export t_reply(200, "OK")
 +
 +sr_exapi_t mod_exapi[] = {
 +  { "sr.tm", "reply", {PARAM_INT, PARAM_STR, 0}, t_reply },
 +  { 0, 0, {0}, 0}
 +};
 +</code>
  
 ==== Routing Logic In Embedded Interpreters Scripting ==== ==== Routing Logic In Embedded Interpreters Scripting ====
devel/kamailio-5.0-design.txt ยท Last modified: 2016/05/03 18:33 by miconda