[Freeswitch-users] Testing Freeswitch performance led to strange behavior

Michael Collins msc at freeswitch.org
Thu Jun 4 09:38:01 PDT 2009


>
>
> The dialplan :
>
> <?xml version="1.0" encoding="utf-8"?>
> <!-- http://wiki.freeswitch.org/wiki/Dialplan_XML -->
> <include>
>
> <context name="mydialplan">
>              <extension name="dial1">
>                  <condition field="destination_number" expression="^.*$">


You forgot the parens around .*
It should be expression="^(.*)$" if you plan to use $1 later in the
extension...


>
>                      <!-- Dial Back -->
>                         <action application="set"
> data="absolute_codec_string=PCMA"/>
>                      <action application="bridge"
> data="sofia/gateway/sipp01/$1"/>

... like here ^^^^^^^
:)
-MC


>
>                  </condition>
>              </extension>
> </context>
>
> </include>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090604/a30ef693/attachment-0002.html 


More information about the FreeSWITCH-users mailing list