[Freeswitch-users] Why ringback is not generated?

Sergey Safarov s.safarov at gmail.com
Thu Jul 2 16:07:49 MSD 2015


In dialplan I set ringback variable

      <extension name="setRingback" continue="true">
         <condition>
            <action application="set" data="ringback=${us-ring}"/>
         </condition>
      </extension>
And diaplan terminate call on extension

<extension name="agent_login">
   <condition field="${destination_number}" expression="^agent_login$">
      <action application="set"
              data="ignore=${callcenter_config(agent set status
${caller_id_number}@${sip_to_host} 'Available')}"
              inline="true"/>
      <action application="ring_ready"/>
      <action application="pre_answer"/>
      <action application="sleep" data="2500"/>
      <action application="answer"/>
      <action application="sleep" data="700"/>
   </condition>
</extension>

But ringback is not generaded. Why is it posible?

Sergey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150702/acf51fd8/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list