Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Documentation error in dialplan XML?


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
larclap at yahoo.com
Guest





PostPosted: Tue Jun 09, 2009 9:29 pm    Post subject: [Freeswitch-users] Documentation error in dialplan XML? Reply with quote

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
Back to top
brian at freeswitch.org
Guest





PostPosted: Tue Jun 09, 2009 9:32 pm    Post subject: [Freeswitch-users] Documentation error in dialplan XML? Reply with quote

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:
Quote:
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 ([email]sofia/profilename/${dialed_number}@192.168.2.2[/email])"/>
</condition>
</extension>


Lars

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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 (brian@freeswitch.org)



-- Meet us at ClueCon! http://www.cluecon.com
Back to top
larclap at yahoo.com
Guest





PostPosted: Tue Jun 09, 2009 11:22 pm    Post subject: [Freeswitch-users] Documentation error in dialplan XML? Reply with quote

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 ([email]sofia/profilename/$%7bdialed_number%7d@192.168.2.2[/email])"/>

</condition>

</extension>





Lars


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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 (brian@freeswitch.org)




-- Meet us at ClueCon! http://www.cluecon.com
Back to top
brian at freeswitch.org
Guest





PostPosted: Tue Jun 09, 2009 11:24 pm    Post subject: [Freeswitch-users] Documentation error in dialplan XML? Reply with quote

Kewl, thanks!


/b

Sent from my iPhone

On Jun 9, 2009, at 11:21 PM, "Lars Zeb" <larclap@yahoo.com (larclap@yahoo.com)> wrote:



Quote:

Done

From: freeswitch-users-bounces@lists.freeswitch.org (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: [url=mailto:freeswitch-users@lists.freeswitch.org]freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)[/url]
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 ([email]sofia/profilename/$%7bdialed_number%7d@192.168.2.2[/email])"/>

</condition>

</extension>





Lars


_______________________________________________
Freeswitch-users mailing list
[url=mailto:Freeswitch-users@lists.freeswitch.org]Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)[/url]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



Brian West

[url=mailto:brian@freeswitch.org]brian@freeswitch.org (brian@freeswitch.org)[/url]




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










_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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

Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services