<div dir="ltr"><div><div><div><div>Thank you Guys. I used different versions of opensips with 2 rtpproxy versions, In every combination I see play command being executed before offer, but in route block code was reverse. I don&#39;t know why opensips/rtpproxy is behaving this way.  Finally i got things working with opensips <br><br>version: opensips 1.8.8-notls (x86_64/linux)<br>flags: STATS: On, USE_IPV6, USE_TCP, DISABLE_NAGLE, USE_MCAST, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT<br>ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535<br>poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.<br>svnrevision: unknown<br>@(#) $Id$<br>main.c compiled on 15:50:20 Jan  5 2016 with gcc 4.9.2<br><br></div>And rptproxy 1.2.<br></div><br></div>But caller hears the prompt after callee answer it. Can I make it play before dialing (sending invite to) callee?<br><br>My Invite block.<br><br>if (has_body(&quot;application/sdp&quot;)) {<br>                         if (rtpproxy_offer())<br>                                t_on_reply(&quot;1&quot;);<br>                                xlog(&quot;Trying to Play Caller file&quot;);<br>                                rtpproxy_stream2uac(&quot;/opt/test/didyou8r1c.wav&quot;, &quot;1&quot;);<br>        }<br><br><br><br></div><div>I could provide debug logs with opensips_2.1 and rtpproxy_2.1 if it helps tackle the problem. <br></div></div>