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
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 "/> </condition> </extension>
Lars _______________________________________________ Freeswitch-users mailing list Freeswitch-users@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@freeswitch.org -- Meet us at ClueCon! http://www.cluecon.com
Done From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: Tuesday, June 09, 2009 7:32 PM To: freeswitch-users@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@192.168.2.2> "/> </condition> </extension> Lars _______________________________________________ Freeswitch-users mailing list Freeswitch-users@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@freeswitch.org -- Meet us at ClueCon! http://www.cluecon.com <http://www.cluecon.com/>
Kewl, thanks! /b Sent from my iPhone On Jun 9, 2009, at 11:21 PM, "Lars Zeb" <larclap@yahoo.com> wrote:
Done
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: Tuesday, June 09, 2009 7:32 PM To: freeswitch-users@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"/>
</condition>
</extension>
Lars
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@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@freeswitch.org
-- Meet us at ClueCon! http://www.cluecon.com
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch- users http://www.freeswitch.org
participants (2)
-
Brian West
-
Lars Zeb