View previous topic :: View next topic |
Author |
Message |
larclap at yahoo.com Guest
|
Posted: Tue Jun 09, 2009 9:29 pm Post subject: [Freeswitch-users] Documentation error in dialplan XML? |
|
|
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
|
Posted: Tue Jun 09, 2009 9:32 pm Post subject: [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:
Brian West
brian@freeswitch.org (brian@freeswitch.org)
-- Meet us at ClueCon! http://www.cluecon.com |
|
Back to top |
|
|
larclap at yahoo.com Guest
|
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Tue Jun 09, 2009 11:24 pm Post subject: [Freeswitch-users] Documentation error in dialplan XML? |
|
|
Kewl, thanks!
/b
Sent from my iPhone
On Jun 9, 2009, at 11:21 PM, "Lars Zeb" <larclap@yahoo.com (larclap@yahoo.com)> wrote:
|
|
Back to top |
|
|
|