<div dir="ltr">Thank you Dušan, Anthony<div>Playback of tone_stream is help in my case.<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 2, 2015 at 8:00 PM, Dušan Dragić <span dir="ltr">&lt;<a href="mailto:dragic.dusan@gmail.com" target="_blank">dragic.dusan@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I think it&#39;s working as designed, pre_answer doesn&#39;t honour the<br>
ringback variable and doesn&#39;t send anything automatically, you have to<br>
send it yourself.<br>
<br>
In your case you could probably use something like this on FS2:<br>
&lt;action application=&quot;pre_answer&quot;/&gt;<br>
&lt;action application=&quot;playback&quot; data=&quot;tone_stream://${us-ring};loops=2&quot;/&gt;<br>
&lt;action application=&quot;answer&quot;/&gt;<br>
&lt;action application=&quot;playback&quot; data=&quot;you_are_logged_in.wav&quot;/&gt;<br>
&lt;action application=&quot;hangup&quot;/&gt;<br>
<br>
also you don&#39;t need &quot;ring_ready&quot;, it only sends 180 without SDP.<br>
<div class="HOEnZb"><div class="h5"><br>
On 2 July 2015 at 14:15, Sergey Safarov &lt;<a href="mailto:s.safarov@gmail.com">s.safarov@gmail.com</a>&gt; wrote:<br>
&gt; Wireshark help locate root issue FS send 183 message but not start sending<br>
&gt; RTP media. FS start send media after sending 200 message.<br>
&gt;<br>
&gt; It is bug?<br>
&gt;<br>
&gt; On Thu, Jul 2, 2015 at 3:07 PM, Sergey Safarov &lt;<a href="mailto:s.safarov@gmail.com">s.safarov@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; In dialplan I set ringback variable<br>
&gt;&gt;<br>
&gt;&gt;       &lt;extension name=&quot;setRingback&quot; continue=&quot;true&quot;&gt;<br>
&gt;&gt;          &lt;condition&gt;<br>
&gt;&gt;             &lt;action application=&quot;set&quot; data=&quot;ringback=${us-ring}&quot;/&gt;<br>
&gt;&gt;          &lt;/condition&gt;<br>
&gt;&gt;       &lt;/extension&gt;<br>
&gt;&gt; And diaplan terminate call on extension<br>
&gt;&gt;<br>
&gt;&gt; &lt;extension name=&quot;agent_login&quot;&gt;<br>
&gt;&gt;    &lt;condition field=&quot;${destination_number}&quot; expression=&quot;^agent_login$&quot;&gt;<br>
&gt;&gt;       &lt;action application=&quot;set&quot;<br>
&gt;&gt;               data=&quot;ignore=${callcenter_config(agent set status<br>
&gt;&gt; ${caller_id_number}@${sip_to_host} &#39;Available&#39;)}&quot;<br>
&gt;&gt;               inline=&quot;true&quot;/&gt;<br>
&gt;&gt;       &lt;action application=&quot;ring_ready&quot;/&gt;<br>
&gt;&gt;       &lt;action application=&quot;pre_answer&quot;/&gt;<br>
&gt;&gt;       &lt;action application=&quot;sleep&quot; data=&quot;2500&quot;/&gt;<br>
&gt;&gt;       &lt;action application=&quot;answer&quot;/&gt;<br>
&gt;&gt;       &lt;action application=&quot;sleep&quot; data=&quot;700&quot;/&gt;<br>
&gt;&gt;    &lt;/condition&gt;<br>
&gt;&gt; &lt;/extension&gt;<br>
&gt;&gt;<br>
&gt;&gt; But ringback is not generaded. Why is it posible?<br>
&gt;&gt;<br>
&gt;&gt; Sergey<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div></div><span class="im HOEnZb">&gt; _________________________________________________________________________<br>
&gt; Professional FreeSWITCH Consulting Services:<br>
&gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
&gt; <a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
&gt; <a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
&gt; <a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<br>
<br>
<br>
--<br>
</span><span class="HOEnZb"><font color="#888888">Dušan Dragić<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a></div></div></blockquote></div><br></div>