[SR-Users] Can this be done with xhttp module (3.1 devel)?

Alex Balashov abalashov at evaristesys.com
Fri Oct 1 23:50:06 CEST 2010


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 at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


-- 
Alex Balashov - Principal
Evariste Systems LLC
1170 Peachtree Street
12th Floor, Suite 1200
Atlanta, GA 30309
Tel: +1-678-954-0670
Fax: +1-404-961-1892
Web: http://www.evaristesys.com/



More information about the sr-users mailing list