Sergey,
There is no way to get Kamailio to "wait" for a reply. You would have to come up with some sort of asynchronous means of providing the reply result to the waiting HTTP client that is prompted by a reply on the Kamailio side also asynchronously.
-- Alex
On 10/01/2010 11:56 AM, Sergey Okhapkin wrote:
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?
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users