[Freeswitch-users] Codec/RTP rate variable is null

Dmitry Mordovin dm at dwide.com
Mon Jun 15 18:06:41 MSD 2015


Hello!

Don't understand why ${rate} is null while one user call another...

<section name="dialplan" description="Local call">
     <context name="public">
       <extension name="local">
         <condition field="destination_number" expression="^(\d{3})$">
           <action application="set" data="effective_caller_id_number=105"/>

           <action application="set" data="rrr=${rate}"/>

           <action application="export" 
data="hold_music=/opt/sharefs/moh/0/${rate}/1_1.wav" />
           <action application="bridge" 
data="sofia/internal/00294539100%${domain_name}"/>
         </condition>
       </extension>
     </context>
</section>

${rate} is empty

May I can use rate after answer only?

Best regards
Dmitry



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