[Spce-user] Importing Rates

Daniel Tiefnig dtiefnig at sipwise.com
Thu Jul 5 05:01:46 EDT 2012


On 07/04/2012 01:48 PM, Adam Fyfe wrote:
> Hi Community

Hej.

> On importing it throws an error "invalid prefix/suffix"

Hmm, what's the destination you are trying to import?

> The documentation is a little ambiguous as to what the formatting 
> should be.

Well, as outlined in the handbook, there are two possibilities:

A simple string like 431, sip.sipwise.com or someone at sip.sipwise.com
which will match numbers starting with 431, everything in the domain
sip.sipwise.com or the specific subscriber someone at sip.sipwise.com
respectively.

A regex matching the complete E.164 number, SIP domain or SIP URI like
^431.*$, ^.*@sip\.sipwise\.com$ or ^someone at sip\.sipwise\.com$ which
will match exactly the same as the examples outline above. (Actually the
example above will be internally transformed to the regex examples given
here.)

> Would anyone have a sample CSV file they could share so we can get 
> the format right ?

Sure, please find attached an example file with a part of the Austrian
dial-plan. It includes some simple prefixes and some regex patterns to
match emergency numbers.

br,
daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sample_dialcodes_at.csv
Type: text/csv
Size: 2583 bytes
Desc: not available
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20120705/f66f0e70/attachment-0001.csv>


More information about the Spce-user mailing list