This module facilitates SIP routing based on JSON specifications. The values for R-URI ($ru), outbound proxy ($du) and other attributes used for SIP routing can be retrieved in a JSON document. It is able to process attributes for more than one destination and prepare for routing in serial or parallel fashion.
| Parámetro | Tipo | Descripción |
|---|---|---|
| xavp_cfg | str | 3.1. xavp_cfg (str) |
| xavp_cfg | str | The name of the xavp to be used internally by the module. |
4.2. rtjson_push_routes() 4.3. rtjson_next_route() 4.4. rtjson_update_branch()
4.3. rtjson_next_route() 4.4. rtjson_update_branch()
4.4. rtjson_update_branch()
4.1. rtjson_init_routes(rtdoc)
Initialize routing based on JSON document stored in rtdoc parameter.
Push the routes given in JSON document to rtjson_init_routes(rtdoc) to the internal fields used by Kamailio for routing.
To be used in failure_route for serial forking, to push the next route to the internal fields used by Kamailio for routing.
To be used in branch_route if the JSON document had attributes that needs to be set for each branch.
Copyright © 2015 asipto.com