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

Sending incoming calls to an FXS port

Hi guys,

Just wanted to ask a quick question as it seems my mind is stuck!

I want to send incoming calls to two phones simultaneously. One is a ip phone and the other is an analogue phone connected to the router's FXS port.

The classical 'multiple ephone-dn' method with button 1o'ephone-dn1','ephone-dn2' e.t.c won't work as I'm using a 'voice dial-peer pots 'to send calls to the fxs port, so I don't know what other options are available.

Here's a sample of the config:

!

voice-port 2/0

compand-type a-law

cptone GR

connection plar 48

bearer-cap Speech

!

!

dial-peer voice 11 pots

description incoming calls to analogue

destination-pattern 48

port 3/0

!

!

ephone-dn 1 dual-line

number 40

label Chris

description Chris's Phone

name Chris

no huntstop

!

!

ephone-dn 2 dual-line

number 41

label Wireless-Phone

description Wireless Phone (Analogue)

name Wireless-Phone

no huntstop

!

!

!

ephone-dn 20 dual-line

number 48

description incoming-48

no huntstop

!

!

ephone-dn 21 dual-line

number 48

no huntstop

!

!

ephone 1

description 7941

mac-address 001B.53B9.6C5A

button 1o1,20,21

!

Thanks in advanced !

3 REPLIES

Re: Sending incoming calls to an FXS port

Which phone isnt ringing when called? The config looks OK to me.

New Member

Re: Sending incoming calls to an FXS port

I'd like to have both, ip phone (ext 40) and analogue phone ( ext 41 - port 3/0) rining on incoming calls.

Here's the full config:

!

voice-port 2/0

compand-type a-law

cptone GR

connection plar 48

bearer-cap Speech

!

voice-port 2/1

!

voice-port 3/0

ring frequency 50

cptone GR

impedance complex2

bearer-cap Speech

!

voice-port 3/1

impedance complex2

!

!

!

!

!

!

dial-peer voice 1 pots

description Outgoing from telco

preference 1

destination-pattern [268].........

port 2/0

forward-digits all

!

dial-peer voice 10 pots

description analoge phone

destination-pattern 41

port 3/0

!

dial-peer voice 11 pots

description incoming calls to analogue

destination-pattern 48

port 3/0

!

!

telephony-service

load 7941GE TERM41.7-0-3-0S

max-ephones 30

max-dn 150

ip source-address 192.168.0.5 port 2000

system message Cisco Call Manager Express

network-locale GB

time-zone 31

time-format 24

date-format dd-mm-yy

max-conferences 4 gain -6

moh music-on-hold.au

multicast moh 239.10.16.4 port 2000

web admin system name cisco password cisco

dn-webedit

time-webedit

transfer-system full-consult

create cnf-files version-stamp 7960 Sep 07 2008 22:50:40

!

!

ephone-dn 1 dual-line

number 40

label Chris

description Chris's Phone

name Chris

no huntstop

!

!

ephone-dn 2 dual-line

number 41

label Wireless-Phone

description Wireless Phone (Analogue)

name Wireless-Phone

no huntstop

!

!

ephone-dn 3 dual-line

number 45

label Chris-Laptop

name Chris-Laptop

no huntstop

!

!

ephone-dn 20 dual-line

number 48

description incoming-48

no huntstop

!

!

ephone-dn 21 dual-line

number 48

no huntstop

!

!

ephone-dn 22 dual-line

number 48

no huntstop

!

!

ephone 1

description 7941

mac-address 001B.53B9.6C5A

button 1o1,20,21,22

!

!

!

ephone 2

!

!

!

ephone 3

mac-address 0017.A4EB.9B04

button 1o3,20,21,22

!

Thanks

New Member

Re: Sending incoming calls to an FXS port

What about configuring your dial peer to use stcapp to the port that you want the phone to ring on. I should allow the call manager to handle the call routing, which hopefully will let the dn ring on both phones simultaneously.

Here's a section on using SCCP controlled Analog endpoints with CME.

You'll also need to setup the stcapp command, and assign the dial-peer for your 3/0 voice port to the service stcapp.

dial-peer 11 voice pots

service stcapp

port 3/0

I think this will help you do what you are trying to do..

An alternative to using the auto assign command is to manually assign ephone-dns to ephones (analog phones on FXS ports). This method is more complicated, but you might need to use it if you want to assign a specific extension number (ephone-dn) to a particular ephone. The reason that manual assignment is more complicated is because a unique device ID is required for each registering ephone and analog phones do not have unique MAC addresses like IP phones do. To create unique device IDs for analog phones, the auto assign process uses a particular algorithm. When you make manual ephone assignments, you have to use the same algorithm for each phone that receives a manual assignment.

The algorithm uses the single 12-digit SCCP local interface MAC address on the Cisco IOS gateway as the base to create unique 12-digit device IDs for all the FXS ports on the Cisco IOS gateway. The rightmost 9 digits of the SCCP local interface MAC address are shifted left three places and are used as the leftmost 9 digits for all 24 individual device IDs. The remaining 3 digits are the hexadecimal translation of the binary representation of the port's slot number (3 digits), subunit number (2 digits), and port number (7 digits). The following example shows the use of the algorithm to create a unique device ID for one port:

a. The MAC address for the Cisco VG224 SCCP local interface is 000C.8638.5EA6.

b. The FXS port has a slot number of 2 (010), a subunit number of 0 (00), and a port number of 1 (0000001). The binary digits are strung together to become 0100 0000 0001, which is then translated to 401 in hexadecimal to create the final device ID for the port and ephone.

c. The resulting unique device ID for this port is C863.85EA.6401.

When manually setting up an ephone configuration for an analog port, assign it just one button because the port represents a single-line device. The button command can use the ":" (colon, for normal), "o" (overlay) and "c" (call-waiting overlay) modes.

899
Views
0
Helpful
3
Replies
CreatePlease to create content