User Tools

Site Tools


cookbooks:5.2.x:core

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
cookbooks:5.2.x:core [2019/10/30 00:27]
joelsdc
cookbooks:5.2.x:core [2019/10/30 00:30]
joelsdc
Line 3137: Line 3137:
   * snd_proto, snd_af - behave like proto/af but contain the protocol/address family that Kamailio will use to send the message   * snd_proto, snd_af - behave like proto/af but contain the protocol/address family that Kamailio will use to send the message
   * msg:len - when used in an onsend_route, msg:len will contain the length of the message on the wire (after all the changes in the script are applied, Vias are added a.s.o) and not the lentgh of the original message.   * msg:len - when used in an onsend_route, msg:len will contain the length of the message on the wire (after all the changes in the script are applied, Vias are added a.s.o) and not the lentgh of the original message.
 +
 +==== event_route ====
 +
 +Generic type of route executed when specific events happen.
 +
 +Prototype: event_route[groupid:eventid]
 +  * groupid - should be the name of the module that triggers the event
 +  * eventid - some meaningful short text describing the event
 +
 +
 +Implementations:
 +
 +  * **event_route[core:worker-one-init]** - executed by core after the first udp sip worker process executed the child_init() for all modules, before starting to process sip traffic
 +
cookbooks/5.2.x/core.txt ยท Last modified: 2020/04/03 09:34 by henningw