cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3233
Views
85
Helpful
33
Replies

Remote Office with H323 Voice Gateway + FXO Ports + CUCM

VOIP323ps
Level 1
Level 1

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!!

33 Replies 33

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

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

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!!

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

Islam,

 

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

 

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

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

 

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

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

 

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 " 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

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 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

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.

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