Linksys SPA 3102 not detecting hang up from Asterisk FreePBX
I am forwarding calls from my pstn to freepbx using SPA 3102 (pstn to voip gateway). I have programmed asterisk to disconnect the call. It seems asterisk is working fine and disconnecting but pstn user still hear the call ringing. How can i make the call disconnect?
I am having exactly the same problem with freepbx. Everything works as expected except when asterisk or internal phone hangs up an incoming call from FXO port, the spa does not hang up the line until 30 seconds after.
I have tried to change the Disconnect detection method with CPC=yes with different values for min CPC duration 0.09,0.1,0.2,0.3,... , with Polarity Reversal=yes, with Disconnect tone from Spain 425@-10,425@-10;.8(.2/.2/1);(0/.4/2), but any of these changes worked.
I activated the debug log in the SPA 3102, I see when spa line is Idle the curren Voltage is 52V, When a call is done the voltage is -7V. When I finish a incoming call from any internal extension or from asterisk the voltage is 52V again, but the call does not hang up in the other side. After 30 seconds I can see in the syslog POL REV -47 52 then the call hangs up in the other side.
It's not be possible to solve issue described by rajeevraj22 in first message. According description, the incoming call has not picked up ("pstn user still hear the call ringing"). Unfortunately, POTS signaling protocol doesn't allow to reject the incoming call. SPA3102 can either pick up call or ignore ring signal on POTS line. In the second case the calling user is hearing ring back tone until he hang up or call setup timeout occur.
Despite your's (ildefonso_v1) problem seems not to be same (your call has been picked up first) there may not be solution available as well. CPC stands for "Calling party Control". CPC is signal sent from terminating PBX to called phone to indicate that the calling party has hung up. Terminating device (SPA3102 here) is recipient of CPC signal, not the source. E.g. CPC is related to opposite signaling direction that the one you are speaking about.
The call disconnect from end device to PBX is signaled by high impedance of end device.
I see when spa line is Idle the current Voltage is 52V, When a call is done the voltage is -7V. When I finish a incoming call from any internal extension or from asterisk the voltage is 52V again, but the call does not hang up in the other side.
OK. So idle line voltage is 52V. According your description, the SPA3102 disconnect properly from line on end of call (voltage rise to 52V). If the call doesn't disconnect, then it's not matter of SPA3102 but matter of terminating PBX.
The behavior like it is not so common in current phone networks, but older phone network switches allow no hangup from called side at all. Only caller is allowed to terminate the call.
All at all, you can't solve the issue from your side of wire. If terminating PBX is not willing to disconnect call immediately, you can do nothing with it. Ask your Telco operator for support. The behavior of particular line may be configurable. But don't put so much hope on it.
After 30 seconds I can see in the syslog POL REV -47 52 then the call hangs up in the other side.
It is the CPC signal from PBX to you. The PBX considered the call is over and is signaling it to you.
Rate helpful responses. It will help others to found solutions.
Hi every one!!!When you are configuring a remote VPN connection, there
are some steps that are lost on the path. Here you can see those steps.
A) In your Cisco device: 1. Ensure you don´t have any rule denying the
traffic between the device and the remote...
Introduction: This document describes how to connect SG300 with Catalyst
switch via STP. Spanning Tree Protocol (STP) is a Layer 2 protocol that
runs on mainly on switches. The specification for STP is IEEE 802.1D.
The main purpose of STP is to ensure tha...
You have a Cisco Unified Communications Manager (CUCM) system and want
to configure a SPA112 analog telephone adaptor (ATA) to register to the
CUCM so that you can use up to two analog phones or similar FXS devices
with the CUCM.In this application note, ...