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

Steven Ayre steveayre at gmail.com
Mon Jun 15 18:56:21 MSD 2015


It's probably because the call hasn't been answered yet, which means codec
negotiation hasn't completed yet. They have sent you their supported codecs
in the INVITE, FreeSWITCH is configured with which ones it supports but you
haven't yet decided which codec to actually use for the call and therefore
you haven't picked a rate yet.

On 15 June 2015 at 15:06, Dmitry Mordovin <dm at dwide.com> wrote:

> 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
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150615/784bca04/attachment.html 


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