kamailio:k43-async-sip-routing-nodejs

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
kamailio:k43-async-sip-routing-nodejs [2015/09/07 12:39]
admin [RTJSON Routing Document]
kamailio:k43-async-sip-routing-nodejs [2015/09/07 12:49]
admin [Node.js Application]
Line 937: Line 937:
   * http://nodejs.org   * http://nodejs.org
  
-A simple sample application is shown next:+A simple sample application is shown next example. It connects to Kamailio's EVAPI socket, waiting for messages with json content serialized as netstring. There response will contain two destinations built with static values (sip:127.0.0.1:5080 and sip:127.0.0.1:5090), again serialazed as netstring.
  
-<code js kanapi.js>+To read more about nestring format, see: 
 + 
 +  * https://en.wikipedia.org/wiki/Netstring 
 + 
 +Node.js application: 
 + 
 +<code javascript kanapi.js>
 var net = require('net'); var net = require('net');
  
Line 1069: Line 1075:
 </code> </code>
  
 +===== Resources =====
 +
 +  * [[http://www.kamailio.org|Kamailio Project]]
 +  * [[http://kamailio.org/docs/modules/stable/modules/evapi.html|Kamaialio EVAPI Module]]
 +  * [[http://kamailio.org/docs/modules/stable/modules/rtjson.html|Kamailio RTJSON Module]]
 +  * [[http://kamailio.org/docs/modules/stable/modules/rtjson.html|Kamailio JANSSON Module]]
 +  * [[http://nodejs.org|NodeJS Project]]
 +  * [[https://en.wikipedia.org/wiki/Netstring|Netstring Format]]

100%


Copyright 2010-2020 Asipto.com