<div dir="ltr">It&#39;s probably because the call hasn&#39;t been answered yet, which means codec negotiation hasn&#39;t completed yet. They have sent you their supported codecs in the INVITE, FreeSWITCH is configured with which ones it supports but you haven&#39;t yet decided which codec to actually use for the call and therefore you haven&#39;t picked a rate yet.</div><div class="gmail_extra"><br><div class="gmail_quote">On 15 June 2015 at 15:06, Dmitry Mordovin <span dir="ltr">&lt;<a href="mailto:dm@dwide.com" target="_blank">dm@dwide.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello!<br>
<br>
Don&#39;t understand why ${rate} is null while one user call another...<br>
<br>
&lt;section name=&quot;dialplan&quot; description=&quot;Local call&quot;&gt;<br>
     &lt;context name=&quot;public&quot;&gt;<br>
       &lt;extension name=&quot;local&quot;&gt;<br>
         &lt;condition field=&quot;destination_number&quot; expression=&quot;^(\d{3})$&quot;&gt;<br>
           &lt;action application=&quot;set&quot; data=&quot;effective_caller_id_number=105&quot;/&gt;<br>
<br>
           &lt;action application=&quot;set&quot; data=&quot;rrr=${rate}&quot;/&gt;<br>
<br>
           &lt;action application=&quot;export&quot;<br>
data=&quot;hold_music=/opt/sharefs/moh/0/${rate}/1_1.wav&quot; /&gt;<br>
           &lt;action application=&quot;bridge&quot;<br>
data=&quot;sofia/internal/00294539100%${domain_name}&quot;/&gt;<br>
         &lt;/condition&gt;<br>
       &lt;/extension&gt;<br>
     &lt;/context&gt;<br>
&lt;/section&gt;<br>
<br>
${rate} is empty<br>
<br>
May I can use rate after answer only?<br>
<br>
Best regards<br>
Dmitry<br>
<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><br>
</blockquote></div><br></div>