Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Remote Office with H323 Voice Gateway + FXO Ports + CUCM

I am trying to setup a new voice gateway for the remote office and it will be using SRST later on. The voice gateway is a CISCO ISR 2911 with couple of FXO ports (the remote office will have 5 analog lines with totally different numbers other than the area code). It is a H323 voice gateway as the same  gateway as the head office. Head office is currently using H323 voice gateway 2851 with CUCM 8.6 and need to dial 8 to dial out to local PSTN. Everything works fine in the head office and all internal extensions are in 3 digital xxx formats from ext 100 to ext 700.

 

Now I have a test analog line with phone number 1(234)567-8900 and need to dial 9 to connect to the local PSTN. The analog phone line is currently connected to the 2911 FXO port 0/0/0. I am trying to do some basic setup and the first thing I want to do is to tie the analog phone number 1(234)567-8900 to CUCM ext 500 so that ext 500 can receive phone calls from the outside and also dial out locally. I did a lot of research and reading and I know there are so many ways to do it such as creating translation-rule/ plar opx immediate on the gateway directly or translation patterns directly on CUCM. I tired it all but nope of the configurations seem working after all. I have a feeling I might miss something on the CUCM side.

 

Can anyone tell me what is the best practice or the easier way to set that up with my current scenario?

 

Here is what I tried so far:

 

On CUCM

  • Setup New Gateway under Device -> Gateway
  • Setup New Calling Search Space under Call Routing -> Class of Control -> Call Search Space
  • Setup New Partition under -> Call Routing -> Partition
  • Pointed x500 to the new Route Partition and calling search space

 

On Voice Gateway 2911

voice-port 0/0/0
description line 2345678900
caller-id enable

dial-peer voice 1 pots
description *** For incoming call matching ***
incoming called-number.
direct-inward-dial
port 0/0/0

dial-peer voice 9 ots
description *** for outgoing 9 Traffic to PSTN ***
destination-pattern 9T
tone reingback alert-no-PI
direct-inward-dial
port 0/0/0

dial-peer voice 11 voip
description *** CUCM Peer ***
incoming called-number.
Voice-class codec 1
Voice-class h323 1
Session target ipv4: 10.0.0.2
dtmf-relay h245-signal h245-alphanumeric
ip qos dscp cs3 signaling
no vad

 

My goal for now:

  • connect extension 500 to 1(234)567-8900 so if someone call 1(234)567-8900 it will ring the extension 500
  • extension 500 can dial 9 and it can call outside phone number such as 1(213)567-8888 etc
  • internal extension calls are working fine since I added calling search space from the head office to the new calling search space as extension 500 can call extension 600 etc


Thank you very much in advance!!

2 ACCEPTED SOLUTIONS

Accepted Solutions

Verify that you have

Verify that you have configured the appropriate Partition/CSS on extension 500 and that the Route Pattern/GW has the correct CSS.


voice translation-rule 1
rule 1 /2345678900/ /500/ < --- Make sure that the PSTN is sending the call in 10 digits. If not, you will need to change the translation rules.

voice translation-rule 2
rule 1 /500/ /2345678900/

voice translation-profile INCOMING_8900
translate called 1

voice translation-profile OUTOGING_8900
translate calling 2

voice-port 0/0/0
translation-profile incoming INCOMING_8900
translation-profile outgoing OUTGOING_8900
description line 2345678900
caller-id enable
connection plar opx 500

dial-peer voice 1 pots
description *** For incoming call matching ***
incoming called-number.
direct-inward-dial
port 0/0/0

dial-peer voice 9 pots
description *** For outgoing 9 Traffic to PSTN ***
destination-pattern 9.T
no digit-strip   <------ This will send all digits. Make sure the carrier expects to see the 9. If not, take this off.
tone reingback alert-no-PI
port 0/0/0

dial-peer voice 11 voip
description *** CUCM Peer ***
destination-pattern 500$
Voice-class codec 1
Voice-class h323 1
Session target ipv4: 10.0.0.2
dtmf-relay h245-signal h245-alphanumeric
ip qos dscp cs3 signaling
no vad

Regards,

Yosh

HTH Regards, Yosh

Hi1- What do I need to create

Hi

1- What do I need to create under Call Routing -> Route/Hunt -> Route Patterns?

A-you have to create h323 gateway. go to CUCM - device - gateway- h323 gateway- Add new

type the ip address x.x.x.x of your gateway which will the ip adress of your "loopback interface or internal interface connected to your LAN". Then do save and reset . After that go back to list you have to see the ip address of x.x.x.x of your GW.

B-go to call routing-  route hunt - Route group . Add RG then add gateway which created on A.

C-go to call routing-  route hunt - route list . Add new RL and assign the create RG which created on B.

E-go to call routing - route hunt- route pattern.Add new route pattern

pattern: 9T

Route list: name for route list which created on C. Then save 

 

F- test

 

Thanks

please rate all useful information

33 REPLIES

Verify that you have

Verify that you have configured the appropriate Partition/CSS on extension 500 and that the Route Pattern/GW has the correct CSS.


voice translation-rule 1
rule 1 /2345678900/ /500/ < --- Make sure that the PSTN is sending the call in 10 digits. If not, you will need to change the translation rules.

voice translation-rule 2
rule 1 /500/ /2345678900/

voice translation-profile INCOMING_8900
translate called 1

voice translation-profile OUTOGING_8900
translate calling 2

voice-port 0/0/0
translation-profile incoming INCOMING_8900
translation-profile outgoing OUTGOING_8900
description line 2345678900
caller-id enable
connection plar opx 500

dial-peer voice 1 pots
description *** For incoming call matching ***
incoming called-number.
direct-inward-dial
port 0/0/0

dial-peer voice 9 pots
description *** For outgoing 9 Traffic to PSTN ***
destination-pattern 9.T
no digit-strip   <------ This will send all digits. Make sure the carrier expects to see the 9. If not, take this off.
tone reingback alert-no-PI
port 0/0/0

dial-peer voice 11 voip
description *** CUCM Peer ***
destination-pattern 500$
Voice-class codec 1
Voice-class h323 1
Session target ipv4: 10.0.0.2
dtmf-relay h245-signal h245-alphanumeric
ip qos dscp cs3 signaling
no vad

Regards,

Yosh

HTH Regards, Yosh
New Member

Yosh, Thanks again for the

Yosh,

 

Thanks again for the fast reply!! I got the incoming call working now!! I can dial 1(234)567-8900 and ring ext 500 now. However, I'm not sure what are the correct settings on the CUCM side for outgoing calls.

 

- What do I need to create under Call Routing -> Route/Hunt -> Route Patterns?

- Any special settings for the GW on CUCM? such as incoming calling party settings? incoming called party settings?

- for ext 500.. I have correct CSS

 

Thanks!

Hi1- What do I need to create

Hi

1- What do I need to create under Call Routing -> Route/Hunt -> Route Patterns?

A-you have to create h323 gateway. go to CUCM - device - gateway- h323 gateway- Add new

type the ip address x.x.x.x of your gateway which will the ip adress of your "loopback interface or internal interface connected to your LAN". Then do save and reset . After that go back to list you have to see the ip address of x.x.x.x of your GW.

B-go to call routing-  route hunt - Route group . Add RG then add gateway which created on A.

C-go to call routing-  route hunt - route list . Add new RL and assign the create RG which created on B.

E-go to call routing - route hunt- route pattern.Add new route pattern

pattern: 9T

Route list: name for route list which created on C. Then save 

 

F- test

 

Thanks

please rate all useful information

New Member

Hey Islam, Thanks for the

Hey Islam,

 

Thanks for the reply!! =)

I did A to C already and when I tried to save the route pattern with 9T I got the following message. "Route Pattern - Route Pattern Invalid. Accepts numbers, X, letters A, B, C, D, + and the following: *#[]^+?.@!- Regular expression used to validate: ^[]0-9A-D*#X[^+?.@!]{1,50}$." and ideas?

 

Thanks again!

 

Islam meant to say "9!

Islam meant to say "9!"

Regards,

Yosh

HTH Regards, Yosh

Hello +5 for my friend yosh .

Hello

 

+5 for my friend yosh . Kindly use 9! ,

 

note:-9!  " where ! is used on CUCM" , and 9T is used on CUC.

 

Thanks

please rate all useful information

New Member

Yosh and Islam, You guys are

Yosh and Islam,

 

You guys are the best!!

Yes, 9! works and now I do get the outside tone from the PSTN. Outgoing calls works.  However, I will need to dial 9 and then 9 again to hear the PSTN tone and dial to outside.

1. Do you know why I need to dial 9 and then 9 again to hear the PSTN tone?

2. After I dial 1(222)222-2222 it seated there for 10 second before the call actually go thought. I think something to do with T302 or T304?

3. I know I will need to setup more route patterns for the NANP such as 911/7 -digit local/10-digit local/11-digit local. Should I set those up on the CUCM under route patterns or should I set it up under voice gateway with more dial-peer voice pots.

Thanks again!!!

 

HelloThanks so much for

Hello

Thanks so much for rating ,and for your beautiful words.

1- yes this is normal to take some time before going out . The reason because you did not select the numbers of the digits , so it takes some time . If you need to make it fast , kindly define the number of digits for example in your question for national dialing 11 digits find the below:-

On Voice gateway

1- delete the old dial-peer

2- create a new one 
dial-peer voice 10 pots
description *** For outgoing 9 Traffic to PSTN ***
destination-pattern 91..........
forward-digits 11
tone reingback alert-no-PI
port 0/0/0


on CUCM

1- delete the old RP "9!"
2- configure a new one as the below
route pattern:91XXXXXXXXXX

 

2- Yes , 9 is used as outside tone .

 

3-  look my friend to get the best answer for your question , this is based on your protocol used between CUCM and voice gateway. If you use H323 the gateway have the control to do outgoing & incoming calls , so you have to set route patterns on both"CUCM & and voice gateway" and route pattern should be same on both. If you used MGCP , so the call control will be call manager , and route patterns will be set up on CUCM only. For FXO "analogue line" , the best solution is as you did  H323 .

 

Thanks

please rate all useful information

HiSo if you need to create

Hi

So if you need to create RPs for " local , emergency , international " , you have to do as the below:-

1) for RP for local calls , lets say local calls 7 digits . so RP 9+7 digits. The configuration will be as the below:-

On Voice gateway
1- create a new one 
dial-peer voice 11 pots
description *** For Local calls ***
destination-pattern 9.......
forward-digits 7
tone reingback alert-no-PI
port 0/0/0


on CUCM

1- configure a new one as the below
route pattern:9XXXXXXX

2) for RP for local calls , lets say emergency calls 3 digits . so RP 9+3 digits. The configuration will be as the below:-

On Voice gateway
1- create a new one 
dial-peer voice 12 pots
description *** For Local calls ***
destination-pattern 9...
forward-digits 3
tone reingback alert-no-PI
port 0/0/0


on CUCM

1- configure a new one as the below
route pattern:9XXX

 

3) for RP for local calls , lets say international calls  . so RP 9+00+ any digits. The configuration will be as the below:-

On Voice gateway
1- create a new one 
dial-peer voice 13 pots
description *** For Local calls ***
destination-pattern 9.00T
no-digit strip
tone reingback alert-no-PI
port 0/0/0


on CUCM

1- configure a new one as the below
route pattern:900!

 

Thanks 

Please rate all useful information

1 - You probably have an

1 - You probably have an overlapping dialing plan. If you have any extensions, translation patterns or route patterns that begin with a "9", you will not here an outside dial-tone, until you no longer match the same string.

Example 1 (No dial-tone after dialing 9) - You have extension 9100 and route pattern 9.! and you're dialing 91800XXXXXXX. You wouldn't hear outside dial-tone, until you dialed the 918.

2 & 3- You will need to edit the T302 Timer, if you want to continue to use 9!. Otherwise, like my friend Islam mentioned (+5), you will need to create exact dialing patterns. 9XXXXXXX, 9XXXXXXXXXX etc. On CUCM and on the GW as well.

HTH

Yosh

 

HTH Regards, Yosh

Hi yosh+5 for yosh. Now you

Hi yosh

+5 for yosh. Now you have complete answers for your questions, we hope that you get all your answers . If you need any help , just share your answers.

 

Thanks

please rate all useful information

New Member

Big thanks for both Islam and

Big thanks for both Islam and Yosh!

We don't have any ext start with 9 digit. All of our internal ext are in xxx format and they are all between 100 to 700. We are using 8 to dial outside for the head office so that's why we don't have any ext fall within both 8xx or 9xx range. The test line i'm currently using need to dial 9 to get out even without the voice gateway/CUCM. For example, I will need to dial 91(234)567-8900 by just using an analog phone plug in directly to the wall jack.

 

Here is what happened when I used the configuration below.

I'm trying to dial 9 - 9(123)888-9999

1. Dial 9 and then 9 again hear a PSTN tone

2. Dial 1(123)888-9999 I got a beep tone right before it done dialing

3. Cisco phone only shown "To 912" right after the beep tone

4. Phone still can dial out without any problem

If I dial slowly like 1 - 1 - 2 - 1 - 3... then I will hear a beep tone right after 3 (Phone shown "To 912" right after the tone) and I can still dial the rest of the numbers and phone can still dial out. This happened to 10, 7 digits, and international dialing.

 

Thanks again!!

-------------------------------------------------------------------------------------------------------

# dial-peer voice 9 pots
# description *** For Outgoing 9 Traffic to PSTN ***
# destination-pattern 91……….
# tone ringback alert-no-PI
# forward-digits 11
# port 0/0/0
CUCM Route Pattern 91XXXXXXXXXX

dial-peer voice 10 pots
# description *** For 7 digit local calls ***
# destination-pattern 9…….
# tone ringback alert-no-PI
# forward-digits 7
# port 0/0/0
CUCM Route Pattern 91XXXXXXX

# dial-peer voice 11 pots
# description *** For 911 Calls ***
# destination-pattern 9…
# tone ringback alert-no-PI
# forward-digits 3
# port 0/0/0
CUCM Route Pattern 9XXX

# dial-peer voice 12 pots
# description *** For 011 International Calls ***
# destination-pattern 9.00T
# no digit-strip
# tone ringback alert-no-PI
# port 0/0/0
CUCM Route Pattern 900!

--------------------------------------------------------------------------------------------------------

 

 

 

Hiyes i got your issue .Let

Hi

yes i got your issue .Let try for only on RP then i will share the rest.The problem that your CUCM 9 , so that is why you are unable to hear outside dial-tone and the VG who is responsible to do that.To solve this issue you have to do the below:

on VG

dial-peer voice 9 pots
description *** For Outgoing 9 Traffic to PSTN ***
destination-pattern 1..........    /just i changed the destination-pattern without 9/
tone ringback alert-no-PI
forward-digits 11
port 0/0/0


On CUCM

route pattern 9.1XXXXXXXXXX   /RP i used 9 then dot then 11 digits/
select RL
Check the boxes for Provide Outside Dial Tone
go down on same page and on discard digits choose predot

 

note: now you have to hear a dial tone.

thanks

please rate all useful information

 

New Member

Islam,Thanks!! I did get a

Islam,

Thanks!! I did get a dialing tone with the old configuration. I just need to dial 9 and 9 again one more time to hear the PSTN tone which it is ok for now.

The problem I'm having now is cisco phone only showing either 7 digits (when its get though successfully)  or 3 digits (when call fail to get through) on the screen.

 

Example 1 trying to call the following number 1(123)456-7890

1. Dial 9 and 9 again to hear the PSTN tone.

2. Dial 1(213)456-7890 (Phone is showing 9912134567890)

3. You will hear a one quick beep. Now the Phone is showing "To: 912345" and starting to count down while waiting to pick up.

4. The receiver can answer the call without problem.

 

Example 2 trying to call the following number 1(213)456-7890

1. Dial 9 and 9 again to hear the PSTN tone.

2. Dial 1(213)456-7890 (Phone is showing 9912134567890)

3. You will hear two beeps. Now the Phone is showing "To: 456" and starting to count down and waiting to pick up.

4. Phone will not get though and getting "We are sorry your call cannot be completed as dialed"

I have a feeling it is depends on how fast I dial the number. Sometimes work but sometimes doesn't. Same problem when dialing the 7 digits 456-7890 number too. Any ideas?

Thanks!

 

See Below for my current configuration:

 

-------------------------------------------------------------------------------------------------------

# dial-peer voice 9 pots
# description *** For Outgoing 9 Traffic to PSTN ***
# destination-pattern 91……….
# tone ringback alert-no-PI
# forward-digits 11
# port 0/0/0
CUCM Route Pattern 91XXXXXXXXXX

dial-peer voice 10 pots
# description *** For 7 digit local calls ***
# destination-pattern 9…….
# tone ringback alert-no-PI
# forward-digits 7
# port 0/0/0
CUCM Route Pattern 9XXXXXXX

# dial-peer voice 11 pots
# description *** For 911 Calls ***
# destination-pattern 9…
# tone ringback alert-no-PI
# forward-digits 3
# port 0/0/0
CUCM Route Pattern 9XXX

# dial-peer voice 12 pots
# description *** For 011 International Calls ***
# destination-pattern 9.00T
# no digit-strip
# tone ringback alert-no-PI
# port 0/0/0
CUCM Route Pattern 900!

------------------------------------------------------------------------------------------------------

hellocan you confirm for the

hello

can you confirm for the below to start help you:-

1- local calls first digit can be within this range [2 to 9]

2-national call starts with 1

3-emergency starts with 9

 

Thanks

please rate all useful information

HelloThe reason that RP match

Hello

The reason that RP match cloest RP that why match when you dial 11 digits match 7 because we did not identify the 1st digit so can you apply the below

dial-peer voice 10 pots
# description *** For 7 digit local calls ***
# destination-pattern 9[2-9]......
# tone ringback alert-no-PI
# forward-digits 7
# port 0/0/0
CUCM Route Pattern 9[2-9]XXXXXX

# dial-peer voice 11 pots
# description *** For 911 Calls ***
# destination-pattern 99..
# tone ringback alert-no-PI
# forward-digits 3
# port 0/0/0
CUCM Route Pattern 99..

note: please do not use double 9 because this will match everytime with emergency calls , just finish call routing then we can check the other issue to dial double 9 .

Thanks

please rate all useful information

New Member

Islam,Thanks, I tired your

Islam,

Thanks, I tired your configuration but same problems like I described above. I think this is what I need to accomplish:

 

- 1(123)456-7890 for 10-digit local calls

- 456-7890 for 7-digit local calls

- 211/311/411/511/611/711/811 for NANP Service codes

- 911 for Emergency services

- 011 for International Calls

 

For 911 people should be able to dial either 911 or 9911 directly.

 

Thanks again!!

HiKindly find the below based

Hi

Kindly find the below based on the above , you will never get the issue after you did the modifications as below , do not configure 9 on VG only on CUCM:- 

# dial-peer voice 9 pots
# description *** For Outgoing 9 Traffic to PSTN ***
# destination-pattern 1..........
# tone ringback alert-no-PI
# forward-digits 10
# port 0/0/0

CUCM Route Pattern 91.1XXXXXXXXX
select RL
Check the boxes for Provide Outside Dial Tone
go down on same page and on discard digits choose predot

dial-peer voice 10 pots
# description *** For 7 digit local calls ***
# destination-pattern [2-9]......
# tone ringback alert-no-PI
# forward-digits 7
# port 0/0/0

CUCM Route Pattern 9.[2-9[XXXXXX
select RL
Check the boxes for Provide Outside Dial Tone
go down on same page and on discard digits choose predot


# dial-peer voice 12 pots
# description *** For 011 International Calls ***
# destination-pattern 011T
# no digit-strip
# tone ringback alert-no-PI
# port 0/0/0

CUCM Route Pattern 9.011!
select RL
Check the boxes for Provide Outside Dial Tone
go down on same page and on discard digits choose predot


# dial-peer voice 11 pots
# description *** For 911 Calls ***
# destination-pattern 911
# tone ringback alert-no-PI
# forward-digits 3
# port 0/0/0

CUCM Route Pattern 9.911
select RL
Check the boxes for Provide Outside Dial Tone
go down on same page and on discard digits choose predot

 

Note: for NANP services we have to study it , because if we configure 9.NANP services , this will affect your other patterns if you dial local calls 4116571 so it will match nanp services and you will be in problem. You can configure other outside dial tone for example "8" as below, or you can user also 9.

 

# dial-peer voice 15 pots
# description *** For NANP Calls ***
# destination-pattern 8...
# tone ringback alert-no-PI
# forward-digits 3
# port 0/0/0

CUCM Route Pattern 8XXX

or 

# dial-peer voice 15 pots
# description *** For NANP Calls ***
# destination-pattern [2-9]11
# tone ringback alert-no-PI
# forward-digits 3
# port 0/0/0

CUCM Route Pattern 9.[2-9]11
select RL
Check the boxes for Provide Outside Dial Tone
go down on same page and on discard digits choose predot

 

Note: As you see i make dial-tone from CUCM , and call forward using VG , and as you see above no overlap except if you dial local number starts with X11 .

Thanks

please rate all useful information

New Member

Islam, Thanks again! I'm out

Islam,

 

Thanks again! I'm out of the office till Monday and I will for sure get back to you next week. =)

 

New Member

Thanks Islam! It works now!

Thanks Islam!

 

It works now! However, I’m trying to understand the CUCM Route Pattern. I know the discard digits predot option means removing all characters to the left of the decimal. Can you explain the following scenarios? See below for my current configuration.

 

Scenario 1 - 10 digits phone number: 1(234)567-8900

  • Dial 9912345678900
  • I don’t really understand route Pattern 91.1XXXXXXXXX? why not 91.1XXXXXXXXXX?

 

Scenario 2 - 7 digits local phone number:  456-7890

  • Dial 994567890
  • When dial 994 the 4 match the 9.[2-9]XXXXXX route pattern and send 45678900 directly to VG
  • VG picks up 45678900
  • 4…… match dial-peer voice 10 pots with destination-pattern [2-9]…… and forward all 7 digits out to the PSTN
  • Where is the 9 PSTN goes? I know we must dial 94567890 to make the local phone calls?

 

Scenario 3 – 011 International Calling: 01185212345678

  • Dial 9901185212345678
  • When dial 99011 the 011 match 9.011! route pattern and send 01185212345678 directly to VG
  • VG picks up 01185212345678
  • 011……….. match dial-peer voice 13 pots with destination-pattern 011T and forward all 011……….. out to the PSTN

 

Scenario 4 – 911 Calling: 911

  • Dial 911
  • When dial 911 the 911 match the 9.911 route pattern and send 911 directly to VG
  • VG picks up 911
  • 911 match dial-peer voice 12 pots with destination-pattern 911 and forward all 3 digits out to the PSTN

-------------------------------------------------------------------------------------------------------

# dial-peer voice 9 pots
# description *** For Outgoing 9 Traffic to PSTN ***
# destination-pattern 1……….
# tone ringback alert-no-PI
# forward-digits 10
# port 0/0/0
CUCM Route Pattern 91.1XXXXXXXXX

Provide Outside Dial Tone/discard digits choose predot

 

dial-peer voice 10 pots
# description *** For 7 digit local calls ***
# destination-pattern 9…….
# tone ringback alert-no-PI
# forward-digits 7
# port 0/0/0
CUCM Route Pattern 9.[2-9]XXXXXX

Provide Outside Dial Tone/discard digits choose predot

 

# dial-peer voice 11 pots
# description *** For 911 Calls ***
# destination-pattern 911
# tone ringback alert-no-PI
# forward-digits 3
# port 0/0/0
CUCM Route Pattern 9.911

Provide Outside Dial Tone/discard digits choose predot

 

# dial-peer voice 12 pots
# description *** For 011 International Calls ***
# destination-pattern 011T
# no digit-strip
# tone ringback alert-no-PI
# port 0/0/0
CUCM Route Pattern 9.011!

Provide Outside Dial Tone/discard digits choose predot

HelloGreat news . Firstly

Hello

Great news . Firstly when we got the issue before because there is overlapping between RP , and RP match with
the cloest RP that is why you got some issues. For example when you dial 9 then 7 digits , call forward to VG
so VG matches the cloest RP.After that i got a look on VG and tried to make a specific RP for each outgoing call
For national: i asked gateway accepts national calls which will start with 1.
For Local: i asked gateway accepts local calls which will start [2-9]
For international: i asked accpets international calls which will start with 011
For emergency: i asked accepts emegreny which will start with 9

as you see above , no one as others , so no overlapping.

RP:91.1XXXXXXXXX / user A will dial a national call 91(123)456-7890 , user A is registered to CUCM so CUCM will see
on the existing RPs , and see which RPs match then will match based 91.1XXXXXXXXX =91(123)456-7890 . then on the RP there is a discard predot so your dialed digits will be as 123456-7890 , after then it will look for RL which configured on the RP , then the call will forward to VG. The VG will match the dialed digits and it will match dial-peer 9 then it will forward digits starts from left to right , after matching call will go out using port 0/0/0.

 


Lets take a look on your questions:-

 

Scenario 1 - 10 digits phone number: 1(234)567-8900

    Dial 9912345678900
    I don’t really understand route Pattern 91.1XXXXXXXXX? why not 91.1XXXXXXXXXX?

Islam: You are completely true in this case you are right , my answer was based "1(123)456-7890".Just one thing
keep in your mind that you have to make sure national number starts with "?" digit , and your provider accepts
1 or not. That is all.So we can do that as below based on your scinario 1

RP:9.1(234)567-8900    /we will send to VG 10 digits ,if i discard 1 this will make confilct with local calls that is why i will send also 1/.

digits and i will send complete pattern to the

 dial-peer voice 9 pots
# description *** For Outgoing 9 Traffic to PSTN ***
# destination-pattern 1..........
# tone ringback alert-no-PI
# forward-digits 10
# port 0/0/0
 

Scenario 2 - 7 digits local phone number:  456-7890

    Dial 994567890
    When dial 994 the 4 match the 9.[2-9]XXXXXX route pattern and send 45678900 directly to VG
    VG picks up 45678900
    4…… match dial-peer voice 10 pots with destination-pattern [2-9]…… and forward all 7 digits out to the PSTN
    Where is the 9 PSTN goes? I know we must dial 94567890 to make the local phone calls?

Islam:-1- CUCM will discard 9 and asked the VG you have a RP [2-9]...... , the VG will say yes. Then your call
will match then call will go out. When you dial the local call starts with 9 you can see this on your phone
then 9 removed .

Islam:For other scinarios as you mention , completely true as you mentioned.

 

Please do not hetiate to ask for any questions . Please mark correct answers for

answers which help you to make your implementaion to help other people who hit CSC.

Thanks

please rate all useful information

 

New Member

Islam,Thanks again.The

Islam,

Thanks again.

The National number area code should always start from 200-999. NANP does not permit the digits 0 and 1 as the leading digit of an area code. Sorry about my previous exmaple about 1(123)456-7890. It should always be 1([2-9]23)456-7890. Such as

1(234)567-8900

1(345)678-9000

1(1XX)XXX-XXXX <-NEVER

1(0XX)XXX-XXXX <-NEVER

I think it will make much more sense by using the follwoing for 10 digit calls... what do you think?

 

CUCM Route Pattern 91.[2-9]XXXXXXXXX

 

10- digit local calls

VG destination-pattern 1..........

CUCM Route Pattern 91.[2-9]XXXXXXXXX

 

7-digit local calls

VG destination-pattern [2-9]......

CUCM Route Pattern [2-9]XXXXXX

 

International calls

VG destination-pattern 011T

CUCM Route Pattern 9.011!

 

911 Calls

VG destination-pattern 911

CUCM Route Pattern 9.911

 

But do you know why I'm seeing only the first seven digit on the Cisco Phone when the phone get through and connected?

 

For Example:

Dial 1(234)567-8900

1. Dial 9 and 912345678900

2. Phone shown 9912345678900 while dialing

3. Phone shown only 9123456 when it is connected

 

Dial 323-5678

1. Dial 9 and 93235678

2. Phone shown 993235678 while dialing

3. Phone shown only 99323567 when it is connected

Hello1- For national:-RP:9.1

Hello

1- For national:-

RP:9.1[2-9]XXXXXXXXX

on VG:1..........   , and do forward-digits 10

 

2-Again , the double 9 make problems , please use only one 9. For 9912345678900  , it will match national pattern , then will discard 9 then will ask VG do you have 912345678900 , the VG will match for nearest match which will be local calls , not national. But if we dial 912345678900 , CUCM will discard 9 then will forward 12345678900 , to VG then VG will find this pattern only match national calls , so the call will go out as national.

3-Same problem for 3235678.

Note:- Please do not use double 99. If you need to use double 99, change all RP on CUCM

RP:99.011! , 99.911, 99.[2-9]XXXXXX,99.1XXXXXXXXXX. And do on discard digit , predot .

 

Thanks

please rate all useful information

 

New Member

Islam, Thanks again!Is not

Islam,

 

Thanks again!

Is not like I want to use double 9. I want to use only one single 9 and get to the outside. However, when I pickup the phone and dial 9 I don't hear anything at all. I will need to dial 9 one more time to hear the PSTN tone. Where can I check and see? Here is what happened.

 

1. Pick up the phone and I will hear defualt tone from the phone.

2. Dial 9 and nothing happened and will not hear the defualt tone

3. Dial 9 one more time and I will hear a PSTN tone.

 

That's why... always need to dial 9 and 9 again. Thinking must be some setting on CUCM. Any ideas?

Hello 1- Did you check on RP

Hello

 

1- Did you check on RP " provide outside dial tone"' checked" , you have to check this . Also check "urgent priority".

2- Anyway do not press double 9 , just confirm that all your problems fixed for outgoing . After that we can move forward for this issue for outside dial tone .

3-Just check that you do not have other RP overlapping with your RP.To get a route plan report from the route plan section, click on the export to csv option.

4-Go to CUCM  - Service Parameter "Always Use Dial Tone Setting" is set to "Inside" change it to outside and check.

 

Thanks

please rate all useful information

 

Thanks

please rate all useful information

New Member

Islam, Keep in mind we are

Islam,

 

Keep in mind we are using 8 to dial out for the head office. I do want to use 8 to get to outside for my setup.

 

1. Yes, I do have "Provide Outside Dial Tone" check for all my Route Patterns. I have never user "Urgent Priority" on any of the Route Patterns.

2. Yes, I can receive and dial out without problems. Just that I need to dial 9 and 9 again to hear the PSTN tone.

3. You mean udner Call Rounting --> Route Plan Report? I see all my ext there.

4. Where can I check that setting? One thing for sure we do get two differnet tones for head office (head office is using differnet RP and dial 8 to get to outside).

 

Thanks!

Hello 1- Ok fine , can you

Hello

 

1- Ok fine , can you share with me route plan report , please?.

2- go to CUCM- server - service paramters - select "your server IP" , and on servece "call manager" - do CTRL-F search for dial tone "choose outside" then save.The test

 

Thanks

please rate all useful information

New Member

Islam,I think I know why!! I

Islam,

I think I know why!! I got confused about the "9" I need to dial out for outside from the CUCM with the "9" from the PSTN. I am getting an outside tone right away by using the following Route Patterns now.

 

8.[2-9]XXXXXX

81.[2-9]XXXXXXXXX

8.011!

8.911

 

It works and I just need to dial 9 infront of any out going numbers. I think its ok because my final configuration at the actual branch locaiton will not require 9 to connect to the PSTN and we are already using 8 for the head office to dial outside.

 

Here is what happened now.

1. Pickup the phone and hear the default tone.

2. Dial 8 and hear the second tone right away

3. Dial 91(234)567-8900

4. Now phone shown "To 912345" only but phone still get thought without problem.

 

How can I make the phone to show To 912345678900?

 

Thanks again and sorry about my confusion.

Helloshare the dial-peer on

Hello

share the dial-peer on VG , please?.It will be better if you share all your dial-peers on VG + RP which configured by u on CUCM.

 

Thanks

please rate all useful information

1245
Views
85
Helpful
33
Replies
CreatePlease login to create content