This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
kamailio:k43-async-sip-routing-nodejs [2015/09/07 12:34] – [RTJSON Routing Document] admin | kamailio:k43-async-sip-routing-nodejs [2015/09/07 12:53] – [RTJSON Routing Document] admin | ||
---|---|---|---|
Line 72: | Line 72: | ||
* local socket or the path to be followed | * local socket or the path to be followed | ||
* branch flags | * branch flags | ||
+ | |||
+ | The example above results in: the request will be routed to sip: | ||
+ | |||
+ | ==== EVAPI Processing ==== | ||
+ | |||
+ | EVAPI is sort of generic framework to push events to external application from inside kamailio.cfg via TCP connections. It has the capability of suspending the processing of the SIP request until there is a response from the external application. By suspending the SIP request, other SIP messages can be processes, thus not blocking Kamailio while waiting for event response. This asynchronous mechanism enables high throughput for SIP routing. | ||
===== Presentations ===== | ===== Presentations ===== | ||
Line 935: | Line 941: | ||
* http:// | * http:// | ||
- | A simple sample application is shown next: | + | A simple sample application is shown next example. It connects to Kamailio' |
- | < | + | To read more about nestring format, see: |
+ | |||
+ | * https:// | ||
+ | |||
+ | Node.js application: | ||
+ | |||
+ | < | ||
var net = require(' | var net = require(' | ||
Line 1067: | Line 1079: | ||
</ | </ | ||
+ | ===== Resources ===== | ||
+ | |||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[https:// |