Configuring PSTN Lines on router FXO Ports

Answered Question
Dec 9th, 2007
User Badges:

Hello,

I am trying to integrate PSTN lines on my router, but I am confused on how to configure the router dial peers and Callmanager configurations. I have a CCM 4.1 and two Cat500 express 24 port switches. I also have about 40 IP Phones with extension ranging from 1001 to 1040. My router is a 2811 router with 2 Nos of VIC2-4FXO modules for 8 PSTN Lines. The configuration is for a single site IPT deployment.

The PSTN Lines are 2714045, 2714046, 2714047, 2714048, 2712540, 2701922 (fax line), 2718340, 2705681.


Call Routing.

• When an outsider dials 2714045, 2714046, 2714047, or 2714049, I want it to be routed to extension 1016 (Operator).

• When an outsider dials 2705681, I want it to be routed to extension 1030.

• When an outsider dials 2712540, I want it to be routed to extension 1031.

• When an outsider dials 2718340, I want it to be routed to extension 1023.

• Will there be any need for translation pattern configurations?

• How do I give rights to people who can make external calls?

• How do I restrict people from making external calls?


I need help!


Correct Answer by jeroenhermans about 9 years 6 months ago

Hi Peter,


I saw from a different pot you made on the forums that you managed to get the voice-port command to work.

Did you manage to get the ports configured?

If so, please rate my post if it was helpfull to you.


Kind Regards,


Jeroen

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
jeroenhermans Mon, 12/10/2007 - 01:37
User Badges:

Hi,


I presume you will beusing the 2811 as an h323 gateway with your callmanager 4.1

On the gateway, first configure the h323 like this :

voice class h323 1

h225 timeout tcp establish 3


Then configure your fxo ports like this (one for every pstn number you have):


voice-port 1/0/0 (this number will be different depending on the slot where your vic card is inserted and the number of ports)

output attenuation -3

cptone BE (depending on your country this will change)

timeouts call-disconnect 5

timeouts wait-release 5

connection plar 6831 (change this number with the last 4 numbers (if you have a 4 digit number plan on your CCM) of where you want to call to be routed to, for instance 1016 for the operator)

description enter any text here

supervisory disconnect dualtone mid-call


once this is done, you can create an incoming dial-peer for every destination number you have (1016 for instance)


dial-peer voice 1016 voip

destination-pattern 1016

voice-class h323 1

session target ipv4:10.10.1.1 (change this to your CCM IP address)

dtmf-relay h245-alphanumeric

codec g711alaw

no vad


You don't need a translation pattern on the CCM.


restricting/allowing making calls via this gateway can be done with partitions and calling search spaces on your CCM. If you need help with this, let me know.



Please rate this post if it was helpfull.


Kind Regards,


Jeroen

peternnaji Mon, 12/10/2007 - 23:44
User Badges:

Hi Jeroen,

I tried to configure the fxo ports. I inserted the VIC2-4FXO card and tried to type "voice-port..." but the router does not accept the command. Instead when i type voice follow by ?, i see voice-card as an option. how do i go about it?

jeroenhermans Tue, 12/11/2007 - 06:06
User Badges:

Hi,


I presume you are in confguration mode ?

when you are in enable mode, and you type show version, does it list your Voice FXO interface(s)?


Rgds,


Jeroen

peternnaji Tue, 12/11/2007 - 06:58
User Badges:

Attached is the sh version output from enable mode.

jeroenhermans Tue, 12/11/2007 - 07:14
User Badges:

that looks ok, the router is detecting your 8 fxo ports.

Can you also upload a show run?


Thanks,


Jeroen

Correct Answer
jeroenhermans Wed, 12/12/2007 - 23:18
User Badges:

Hi Peter,


I saw from a different pot you made on the forums that you managed to get the voice-port command to work.

Did you manage to get the ports configured?

If so, please rate my post if it was helpfull to you.


Kind Regards,


Jeroen

ahab Fri, 12/14/2007 - 06:36
User Badges:

I am in a similar situation with what I am trying to do. MY issue is getting the router to send my outbound calls to the first non-busy POT line. Can someone post a sample config to help me get outbound calls going?


Thanks!

jeroenhermans Fri, 12/14/2007 - 06:43
User Badges:

Hi,


You need to create a trunk group for this :


First in configuration mode add this :


trunk group 1

max-calls any 2 (how many calls you want in this trunk group depends on the number of fxp ports)

description Trunk Group for FXO Ports

hunt-scheme round-robin


then in every voice-port that you want to use, add this trunk group :

voice-port 1/0/0

trunk-group 1


In your pots dial peers, add this :

dial-peer voice 1 pots

trunkgroup 1


Please rate the post if it was helpfull.


Kind regards,


Jeroen






Actions

This Discussion