<HTML>
<HEAD>
<TITLE>Re: [Freeswitch-users] Why ringback is not generated?</TITLE>
</HEAD>
<BODY>
<FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>On FS2 did you pre-answer the call? That will put FS into the state to start generating early media... And you’ll probably have to sleep or something to delay the exchange long enough to actually get ringing... Just playing a file and firing a script to check a pin or something and firing a DB query happens so fast that 99.99999% of the time its worthless to send ringing <BR>
<BR>
<BR>
On 7/2/15, 10:09 AM, "Sergey Safarov" <<a href="s.safarov@gmail.com">s.safarov@gmail.com</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>thank you Italo, Ken for quick response<BR>
I set "instant_ringback=true" but it is not help.<BR>
Usage schema as described below<BR>
endpointA -> FS1 -> FS2<BR>
<BR>
FS2 must generate ringback, play "you a logged in" wav file and hangup<BR>
<BR>
FS1 - user endpoint registrator, managed by kazoo<BR>
FS2 - host implemening callcenter queries.<BR>
<BR>
On Thu, Jul 2, 2015 at 5:08 PM, Ítalo Rossi <<a href="italorossib@gmail.com">italorossib@gmail.com</a>> wrote:<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>FreeSWITCH will send media back to the caller once it received a 18X, if you want to send immediately use instant_ringback=true<BR>
<BR>
<a href="https://freeswitch.org/confluence/display/FREESWITCH/Channel+Variables#ChannelVariables-instant_ringback">https://freeswitch.org/confluence/display/FREESWITCH/Channel+Variables#ChannelVariables-instant_ringback</a><BR>
<BR>
On Thu, Jul 2, 2015 at 9:15 AM, Sergey Safarov <<a href="s.safarov@gmail.com">s.safarov@gmail.com</a>> wrote:<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>Wireshark help locate root issue FS send 183 message but not start sending 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="s.safarov@gmail.com">s.safarov@gmail.com</a>> wrote:<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>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 ${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>
<FONT COLOR="#888888"><BR>
Sergey<BR>
</FONT></SPAN></FONT></BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'><BR>
<BR>
_________________________________________________________________________<BR>
Professional FreeSWITCH Consulting Services:<BR>
<a href="consulting@freeswitch.org">consulting@freeswitch.org</a><BR>
<a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><BR>
<BR>
Official FreeSWITCH Sites<BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
<a href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a><BR>
<a href="http://www.cluecon.com">http://www.cluecon.com</a><BR>
<BR>
FreeSWITCH-users mailing list<BR>
<a href="FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><BR>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'><FONT COLOR="#888888"><BR>
<BR>
</FONT></SPAN></FONT></BLOCKQUOTE></BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'><FONT COLOR="#888888"><BR>
</FONT>-- <BR>
Ken<BR>
<FONT COLOR="#0000FF"><U><a href="http://www.FreeSWITCH.org">http://www.FreeSWITCH.org</a><BR>
<a href="http://www.ClueCon.com">http://www.ClueCon.com</a><BR>
<a href="http://www.OSTAG.org">http://www.OSTAG.org</a><BR>
</U></FONT>irc.freenode.net #freeswitch<BR>
Twitter: @FreeSWITCH<BR>
<BR>
</SPAN></FONT>
</BODY>
</HTML>