[Freeswitch-users] Documentation error in dialplan XML?

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


Done

 

From: freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Brian
West
Sent: Tuesday, June 09, 2009 7:32 PM
To: freeswitch-users at lists.freeswitch.org
Subject: Re: [Freeswitch-users] Documentation error in dialplan XML?

 

Nope shouldn't be there .. if you can update the wiki that would be great.

 

/b

 

On Jun 9, 2009, at 9:25 PM, Lars Zeb wrote:





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
<mailto:sofia/profilename/$%7bdialed_number%7d at 192.168.2.2> "/>

  </condition>

</extension>

 

 

Lars

_______________________________________________
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

 

Brian West

brian at freeswitch.org

 

-- Meet us at ClueCon!  http://www.cluecon.com <http://www.cluecon.com/> 

 

 

 

 

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


More information about the FreeSWITCH-users mailing list