Jump to content

Newbie to Snom One Dialplan


landfiets

Recommended Posts

Hi. I am a newbie to snomeone (pbxsnip because of third party...)

 

I used Elastix and Askozia. The dialplans there were well documented and easy.

An example.

In Askozia I had something like:

 

0597XXXXX ;when I dial 5 numbers it puts 0597 in front of it

0[1-8]. ;when I dial an regional number starting with 0 and followed by a number from 1 to 8, then it dials that number that way.

003[1-4]. ;when I dial an international number starting with 00 followed by the country code between 31 - 34 it dials out.

004[1-9]. ;when I dial an international number starting with 00 followed by the country code between 41 - 49 it dials out.

 

How can I make this in Snomone/PBXsnip ?

 

Hope u can help me, so I will understand the dialplan of this nice piece of software

Link to comment
Share on other sites

The dial plan in snom ONE is not the same like in Asterisk.

 

The dial plan in snom ONE has the function to tell the PBX which trunk to use after it has been decided that the call will be going out from the PBX. If you have only one trunk, then you can just use the default dial plan and that's it. Only if you want to define which number gets sent where, you need to add entries to the dial plan. The priorities are like line numbers in basic; the PBX processes them from top to bottom until it finds a match.

 

There are two kinds of patterns. Simple and ERE (see http://wiki.snomone.com/index.php?title=Dial_Plans). Your examples would look like this

 

pattern: xxxxx replacement: 0597* (that's a simple pattern)

pattern: ^(0[1-8][0-9]*)@.* replacement * (ERE pattern)

 

pattern: ^(003[1-4][0-9]*)@.* replacement * (ERE pattern)

 

pattern: ^(004[1-9][0-9]*)@.* replacement * (ERE pattern)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...