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

regs at kinetix.gr regs at kinetix.gr
Thu Jun 4 10:47:21 PDT 2009


Michael Collins wrote:
>
>
>     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

You are right! Although, I don't think that would change the outcome of 
my test :)
>  
>
>
>                      </condition>
>                  </extension>
>     </context>
>
>     </include>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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
>   





More information about the FreeSWITCH-users mailing list