<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"><<a href="mailto:dragic.dusan@gmail.com" target="_blank">dragic.dusan@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I think it's working as designed, pre_answer doesn't honour the<br>
ringback variable and doesn'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>
<action application="pre_answer"/><br>
<action application="playback" data="tone_stream://${us-ring};loops=2"/><br>
<action application="answer"/><br>
<action application="playback" data="you_are_logged_in.wav"/><br>
<action application="hangup"/><br>
<br>
also you don't need "ring_ready", it only sends 180 without SDP.<br>
<div class="HOEnZb"><div class="h5"><br>
On 2 July 2015 at 14:15, Sergey Safarov <<a href="mailto:s.safarov@gmail.com">s.safarov@gmail.com</a>> wrote:<br>
> Wireshark help locate root issue FS send 183 message but not start sending<br>
> RTP media. FS start send media after sending 200 message.<br>
><br>
> It is bug?<br>
><br>
> On Thu, Jul 2, 2015 at 3:07 PM, Sergey Safarov <<a href="mailto:s.safarov@gmail.com">s.safarov@gmail.com</a>> wrote:<br>
>><br>
>> In dialplan I set ringback variable<br>
>><br>
>> <extension name="setRingback" continue="true"><br>
>> <condition><br>
>> <action application="set" data="ringback=${us-ring}"/><br>
>> </condition><br>
>> </extension><br>
>> And diaplan terminate call on extension<br>
>><br>
>> <extension name="agent_login"><br>
>> <condition field="${destination_number}" expression="^agent_login$"><br>
>> <action application="set"<br>
>> data="ignore=${callcenter_config(agent set status<br>
>> ${caller_id_number}@${sip_to_host} 'Available')}"<br>
>> inline="true"/><br>
>> <action application="ring_ready"/><br>
>> <action application="pre_answer"/><br>
>> <action application="sleep" data="2500"/><br>
>> <action application="answer"/><br>
>> <action application="sleep" data="700"/><br>
>> </condition><br>
>> </extension><br>
>><br>
>> But ringback is not generaded. Why is it posible?<br>
>><br>
>> Sergey<br>
><br>
><br>
><br>
</div></div><span class="im HOEnZb">> _________________________________________________________________________<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><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>