<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div style="position:relative;zoom:1">Hello guys,<div style="clear:both"></div></div><div style="position:relative;zoom:1">    I have the following senario:</div><div style="position:relative;zoom:1">       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.</div><div style="position:relative;zoom:1">    My config file is like this:</div><div style="position:relative;zoom:1"><br></div><div style="position:relative;zoom:1">request_route {</div><div style="position:relative;zoom:1">    ...</div><div style="position:relative;zoom:1">    t_newtran();</div><div style="position:relative;zoom:1">    http_async_query("url here", "HTTP_REPLY");</div><div style="position:relative;zoom:1">}</div><div style="position:relative;zoom:1"><br></div><div style="position:relative;zoom:1">route[HTTP_REPLY] {</div><div style="position:relative;zoom:1">    ...</div><div style="position:relative;zoom:1">    # forward the invite to ua2</div><div style="position:relative;zoom:1">}</div><div style="position:relative;zoom:1">   how do i complete the config?</div><div style="position:relative;zoom:1"><br></div><div style="position:relative;zoom:1">Thanks</div></div><br><br><span title="neteasefooter"><p> </p></span>