Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dialling local numbers without area code on SIP 4

Status
Not open for further replies.

Geordie1978

Technical User
Nov 28, 2014
57
PL
Hi Gents

Struggling to work out the short code for dialing local numbers without the area code. Any assist appreciated.

Thanks
Keith
 
I'm in the US, my local area code is 805, and we now have to dial 1+AreaCode+7-Digit Telephone Number for all calls

Short code 9N / Dial / N / 50 gets the call to the ARS table

XXXXXXX; / Dial3K1 / 1805N / 0 as an entry in the ARS table says if I dial just 7 digits after the 9(remember the 9N/Dial/N strips off the 9) the system adds the 1 and area code for me. Note the semicolon after the 7 X's, so that it waits to see if I dial anything after that, so as not to match.
 
Depends on the areacode. If it's for London then it's easy.

Shortcode: 3N;
Feature: Dial
Number: 0203N

rinse and repeat for 7 and 8.

It's the same principle for others but it's easiest in london where the next number is predicatbly going to be 3, 7 or 8 after the 020.

Obviously check for extension range clashes with the shortcodes you create.

ACSS|AIPS|APSS

 
Geordie I find this easier to manage using the ARS table araea, set a short code to route your SIP calls to use the new table with the syntax explained by GSmith.
 
Yeah, you can also do it in the ARS table. What you're basically doing is having the PBx re-add the area code before it's sent out over the SIP trunk.

ACSS|AIPS|APSS

 
GSmith, its actually as easy either in London or outside as you just have to put one entry in the ARS

XXXXXXXX;
Dial
020N

Outside of London you for say Manchester you would just do

XXXXXXX;
Dial
0161N

| ACSS SME |
 
gsmith93 said:
It's the same principle for others but it's easiest in London where the next number is predictably going to be 3, 7 or 8 after the 020.
actually it is easier everywhere if you improve the routing logic.

sc 0N
Tel >

Sc 1N
Tel .

SC 9N
Tel .

SC ?
Tel <std>.

Anything begining 0 is a fully dialed number - do not manipulate
1 & 9 are used for operator * emergency so don't manipulate these either
Anything else must be local so insert STD prefix.

Bonus, when another local range gets added you don't ned to make any changes - it will already work!


Do things on the cheap & it will cost you dear
 
@IP Guru - when you say:

sc: 0N;
Tel: >

what is meany by >?
 
Caps007 said:
@IP Guru - when you say:

sc: 0N;
Tel: >

what is meany by >?
it means I accidentality held the shift key whilst typing . sorry


Do things on the cheap & it will cost you dear
 
In the UK you only really need 2 x entries in the ARS - SIP shortcodes

N;
Dial
N
Line Group

XXXXXXXX;
Dial
020N
Line Group

Then just amend the XX's rule if not in London to be either 6 X's or 5 X's depending on the area code of the location, and the dial code to be the areacodeN

| ACSS SME |
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top