cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
605
Views
0
Helpful
9
Replies

Immediate disconnect on answer

dataIP
Level 1
Level 1

I have a problem in that when placing a call from a VoIP phone to the PSTN, the call is terminated as soon as the PSTN call is answered.

The set up is using FXO-M2 ports via MGCP on a 2610.

Internal VoIP to VoIP phone calls are fine. Incomming (from PSTN) calls are fine too.

Any ideas as to the likely cause?

9 Replies 9

markanthony
Level 1
Level 1

I've got the same problem except that incoming calls get dropped (fast busy on IP phone) after about 30 seconds or so. Can you please post a reply if you find a solution, been racking my brains too. I'll let you know what I find as well.

thx

markanthony
Level 1
Level 1

I had the same problem and figured it out. MGCP takes complete control of your voice-ports. As such once I removed and defaulted all the configurations under each voice-port on the FXO card everything looks like it's working. I can do inbound and outbound calls now.

Remove any config from the voice ports and hopefully that will solve your problem if it was the same as mine.

This may well be the key... its a lab setup and I know I did have this working fine.

How do I set just the voice ports to their default without defaulting the whole router and starting again?

mcotrone
Level 3
Level 3

What country are you in? The FXO-M2 are designed to be used in Europe (FXO-M1 for US, FXO-M3 for Australia).

Post your config when you have a chance.

Thanks

Mike

Hi Mike,

We are in the UK... I also have an FXO card (i.e. dash nothing) this wouldn't disconnect as it is not set up for polatrity reversal which is (should) be used on this PSTN.

Thanks for taking a look...

c2610#show running

Building configuration...

Current configuration : 1242 bytes

!

version 12.3

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

!

hostname c2610

!

enable secret xxxx

enable password xxxxxxxxxx

!

ip subnet-zero

!

!

!

!

no voice hpi capture buffer

no voice hpi capture destination

!

!

ccm-manager mgcp

!

!

!

!

interface Ethernet0/0

ip address 192.168.0.8 255.255.255.0

half-duplex

!

no ip http server

ip classless

!

!

!

snmp-server community public RO

snmp-server enable traps tty

!

voice-port 1/0/0

station-id name dataIP

supervisory disconnect anytone

!

voice-port 1/0/1

station-id name dataIP

supervisory disconnect anytone

!

voice-port 1/1/0

station-id name dataIP

supervisory disconnect anytone

!

voice-port 1/1/1

station-id name dataIP

supervisory disconnect anytone

!

mgcp

mgcp call-agent 192.168.0.132 service-type mgcp version 0.1

mgcp dtmf-relay voip codec all mode out-of-band

!

!

dial-peer voice 1 pots

application mgcpapp

port 1/0/0

!

dial-peer voice 2 pots

application mgcpapp

port 1/0/1

!

dial-peer voice 3 pots

application mgcpapp

port 1/1/0

!

dial-peer voice 4 pots

application mgcpapp

port 1/1/1

!

!

line con 0

line aux 0

line vty 0 4

password xxxxxxxxxx

login

!

!

!

end

c2610#

Looking at the port configurations I would add the following:

voice-port x/x

no comfort-noise

default supervisory disconnect anytone

do a shut no shut on this port.

Try again.....

Do you know if your pots line is configured for loop start or ground start?

Can you post sh voice port x/x ?

Thanks

Mike

Thanks Mike...

I added the config lines as suggested and retested.. still the same problem.

Output as requested.....

c2610#

c2610#sh voice port 1/0/1

Foreign Exchange Office (FXO-M2) 1/0/1 Slot is 1, Sub-unit is 0, Port is 1

Type of VoicePort is FXO

Operation State is DORMANT

Administrative State is UP

The Last Interface Down Failure Cause is Administrative Shutdown

Description is not set

Noise Regeneration is disabled

Non Linear Processing is enabled

Non Linear Mute is disabled

Non Linear Threshold is -21 dB

Music On Hold Threshold is Set to -38 dBm

In Gain is Set to 0 dB

Out Attenuation is Set to 3 dB

Echo Cancellation is enabled

Echo Cancellation NLP mute is disabled

Echo Cancellation NLP threshold is -21 dB

Echo Cancel Coverage is set to 8 ms

Playout-delay Mode is set to adaptive

Playout-delay Nominal is set to 60 ms

Playout-delay Maximum is set to 200 ms

Playout-delay Minimum mode is set to default, value 40 ms

Playout-delay Fax is set to 300 ms

Connection Mode is normal

Connection Number is not set

Initial Time Out is set to 10 s

Interdigit Time Out is set to 10 s

Call Disconnect Time Out is set to 60 s

Ringing Time Out is set to 180 s

Wait Release Time Out is set to 30 s

Companding Type is u-law

Region Tone is set for US

Analog Info Follows:

Currently processing none

Maintenance Mode Set to None (not in mtc mode)

Number of signaling protocol errors are 0

Impedance is set to 600r Ohm

Station name dataIP, Station number None

Translation profile (Incoming):

Translation profile (Outgoing):

Voice card specific Info Follows:

Signal Type is loopStart

Battery-Reversal is enabled

Number Of Rings is set to 1

Supervisory Disconnect is signal

Answer Supervision is inactive

Hook Status is On Hook

Ring Detect Status is inactive

Ring Ground Status is inactive

Tip Ground Status is inactive

Dial Out Type is dtmf

Digit Duration Timing is set to 100 ms

InterDigit Duration Timing is set to 100 ms

Pulse Rate Timing is set to 10 pulses/second

InterDigit Pulse Duration Timing is set to 750 ms

Percent Break of Pulse is 60 percent

GuardOut timer is 2000 ms

Minimun ring duration timer is 125 ms

c2610#

I have now started afresh on the 2610.... booted with no config, and reset it up with my original script... same problem.

An alanysis of progress shows changes since last working config are: 2FXO card has been replaced with 2FXO-M2

So... power down and refit original FXO... problem goes away!

Now we are back to incomming calls not clearing down!!!!

So, the question now is how to sort the problem on -M2 cards that *should* be right for the UK phone system.

I wonder if you should not be messing with the battery reversal command, instead of the disconnect-supervision anytone -

The battery-reversal command applies to FXO and FXS voice ports. On Cisco 2600 and 3600 series routers, only analog voice ports in VIC-2FXO-M1 and VIC-2FXO-M2 voice interface cards are able to detect battery reversal; analog voice ports in VIC-2FXO and VIC-2FXO-EU voice interface cards do not detect battery reversal.

FXS ports normally reverse battery upon call connection. If an FXS port is connected to an FXO port that does not support battery reversal detection, you can use the no battery-reversal command on the FXS port to prevent unexpected behavior.

FXO ports in loopstart mode normally disconnect calls when they detect a second battery reversal (back to normal). You can use the no battery-reversal command on FXO ports to disable this action.

The battery-reversal command restores voice ports to their default battery-reversal operation.

If an FXO voice port is connected to the PSTN and supports battery reversal, use the battery-reversal command with the answer keyword to configure answer supervision. This configures the FXO voice port to detect when a call is answered to provide correct billing information.

Mary Beth