route incoming call from carrier trunk to the according IPBX based on the DID - IPBX relation
Â
Workflow :
wazo-sip-router server will do a HTTP async request to wazo-router providing SIP headers informations and get back in json format the routes list (the format is described in rtjson module for Kamailio documentation).
Kamailio module documentation :
http-async-client : https://www.kamailio.org/docs/modules/5.2.x/modules/http_async_client.html
rtjson : https://www.kamailio.org/docs/modules/5.2.x/modules/rtjson.html
Â
Conditions of done :
delivery of package version that return a json respecting kamailio RTJSON format to an API call for an incoming call to a declare did or a comprehensive error.