[Freeswitch-users] Documentation error in dialplan XML?

Lars Zeb larclap at yahoo.com
Tue Jun 9 19:25:12 PDT 2009


Is the closing of the condition element correct? I'm new at XML.

 

<extension name="Test1_2">

  <condition field="destination_number" expression="^(\d+)$">

    <action application="set" data="dialed_number=$1"/>

  </condition>

  <condition field="network_addr" expression="^192\.168\.1\.1$"/> <!-should
the slash at the end of the element be there? -->

    <action application="bridge"
data="sofia/profilename/${dialed_number}@192.168.2.2"/>

  </condition>

</extension>

 

 

Lars

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090609/a9046edb/attachment-0002.html 


More information about the FreeSWITCH-users mailing list