Hello guys, I have the following senario: ua1 calls ua2. when the INVITE reaches the kamailio, before foward to ua2, kamailio has to do a http request using “http_async_query”. However, the http request can take a really long time. I want the kamailio start playing music when the http request is sent and stop the music when the http response is received. My config file is like this:
request_route { ... t_newtran(); http_async_query("url here", "HTTP_REPLY"); }
route[HTTP_REPLY] { ... # forward the invite to ua2 } how do i complete the config?
Thanks