Click Here To Visit SIP Broker  

Go Back   Voxalot / SIP Broker Support Forums > SIP Broker Forums > SIP Broker Support

SIP Broker Support Support for the SIP Broker service.

 
 
Reply
Thread Tools Display Modes
Unread 07-11-2007, 10:27 PM   #1
voip2007
Member
 
Join Date: Jun 2007
Posts: 64
Thanks: 14
Thanked 2 Times in 2 Posts
voip2007 is on a distinguished road
Default dial plan in xml file

I am trying to write the dial plan as below in the xml file.
L:20,S:7,( x | *xx | 911S0 | 1[2-9]xx[2-9]xxxxxxS0 <:@sipbroker.com> | [x*][x*]. <:@sipbroker.com> | <#:>[x*][x*]. )

But it doesn't work because the dial plan has error. How do I adjust this dial plan in the xml file.
voip2007 is offline   Reply With Quote
Unread 07-12-2007, 01:04 AM   #2
DracoFelis
 
DracoFelis's Avatar
 
Join Date: Mar 2006
Posts: 188
Thanks: 4
Thanked 64 Times in 41 Posts
DracoFelis is a jewel in the roughDracoFelis is a jewel in the rough
Default

I've no personal experience with using XML with the adapters, but I do know that to XML the "<" and ">" characters have special meanings related to XML tags. Since the SIP Broker dial plan also uses those characters as part of the dial plan itself, I would assume you would need to "escape" those characters (in the dial plan) somehow, in order for them to work as part of an XML "provisioning" document.

However, since I've never used XML documents/provisioning with my adapters (I have used XML in other uses, but never in connection with my adapter), I'm not sure what sort of "escaping" is needed/appropriate in this case (only that it's likely that some is needed, because of the special meaning of < and > in XML files)...
DracoFelis is offline   Reply With Quote
Unread 07-12-2007, 03:38 AM   #3
voip2007
Member
 
Join Date: Jun 2007
Posts: 64
Thanks: 14
Thanked 2 Times in 2 Posts
voip2007 is on a distinguished road
Default

Quote:
Originally Posted by DracoFelis View Post
I've no personal experience with using XML with the adapters, but I do know that to XML the "<" and ">" characters have special meanings related to XML tags. Since the SIP Broker dial plan also uses those characters as part of the dial plan itself, I would assume you would need to "escape" those characters (in the dial plan) somehow, in order for them to work as part of an XML "provisioning" document.

However, since I've never used XML documents/provisioning with my adapters (I have used XML in other uses, but never in connection with my adapter), I'm not sure what sort of "escaping" is needed/appropriate in this case (only that it's likely that some is needed, because of the special meaning of < and > in XML files)...
Thanks DracoFelis! you gave me big hint.
voip2007 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dial plan problems with FaktorTel and VoXaLoT Hally Voxalot Support 1 01-06-2007 09:21 AM
dial plan for ** won't get you speed dial d85551 Voxalot Support 0 11-30-2006 12:00 PM
Norway toll free number dial plan ? shezad Voxalot Support 1 11-11-2006 12:09 AM
dial plan help please muzzza Voxalot Support 0 09-01-2006 11:38 AM
Dial Plan for Italy wanted!!! moonshiner Voxalot Support 32 08-20-2006 10:26 PM


All times are GMT. The time now is 02:38 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.