I need to get http request with xhttp module, process request parameters, build SIP request (based on received http parameters), receive SIP reply and send http response back based on SIP reply. HTTP part is simple, but how to send SIP request from event_route[xhttp:request] and get SIP reply?
uac_req_send() function doesn't wait for SIP reply, t_uac_dlg MI command does everything needed but is not accessible from config script. Any other ideas/suggestions?