Koozali.org: home of the SME Server

Dialing Rules

Offline Teviot

  • *
  • 610
  • +0/-0
Dialing Rules
« on: December 17, 2008, 05:28:00 AM »
Hi Guys

Is it possible to add and delete number and sets of numbers using the routes ??

I wish to use VOIPCHEAP as one of my international routes for calling out only.
Regards
M0GLJ
......................................................
I am new to SAIL SME Server v8b6 and have been using SME for many years.
I have already done some research and only ask questions if I still can't work it out.

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Dialing Rules
« Reply #1 on: December 17, 2008, 07:45:47 PM »
I'm sorry but I don't understand your question.  Can you amplify please?

Thanks

S

Offline Teviot

  • *
  • 610
  • +0/-0
Re: Dialing Rules
« Reply #2 on: December 18, 2008, 12:22:48 AM »
Sorry,

What meant to try to get across was, if I dial the international access code then the country code and then the number i require, the dialing patterns rule the strip the appropriate numbers and append other appropriate number to suit the format that the VOIP provider requires to allow the call to go though.

I.E.   I dial 0011 44 123 4567890  the system should modify that and send 00 44 123 4567890

Is SAIL/SME able to do this?
Regards
M0GLJ
......................................................
I am new to SAIL SME Server v8b6 and have been using SME for many years.
I have already done some research and only ask questions if I still can't work it out.

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Dialing Rules
« Reply #3 on: December 18, 2008, 08:05:39 AM »
Yes it is.  There is a field called the transformation mask which can do this for you.

http://aelintra.com/docs/cgi-bin/view/Main/DocChapter096#Transformation_mask

Transformation masks appear in the Trunk entity (not the Route).  A transformation mask to handle the example you gave would look like this...
Code: [Select]
0011:00
Kind Regards

S

Offline Teviot

  • *
  • 610
  • +0/-0
Re: Dialing Rules
« Reply #4 on: December 19, 2008, 09:14:17 AM »
Thanks S

I've got to read the Doc's a bit more closely
Regards
M0GLJ
......................................................
I am new to SAIL SME Server v8b6 and have been using SME for many years.
I have already done some research and only ask questions if I still can't work it out.

Offline Teviot

  • *
  • 610
  • +0/-0
Re: Dialing Rules
« Reply #5 on: December 31, 2008, 07:30:04 AM »
S

I have a trunk (Freshtel) that i need to put a     *      in front of the number. ie.  *1234567890

How would be the best way to do this?
Regards
M0GLJ
......................................................
I am new to SAIL SME Server v8b6 and have been using SME for many years.
I have already done some research and only ask questions if I still can't work it out.

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Dialing Rules
« Reply #6 on: December 31, 2008, 10:33:28 AM »
I'm not sure (without looking at the code), but I think transformation can do it....

Just put :* into the mask.