Hello
I'm trying to figure out how Asterisk and an FXO module can detect that the remote end has answered and then hung up.
Google and a check in the configuration of the Linksys 3102 POTS gateway seem to say that there are four ways for a telco to signal a hangup:
Detect CPC (Calling Party Control): = open loop disconnect?
Detect Polarity Reversal:
Detect Disconnect Tone:
Detect PSTN Long Silence:
Is this correct? As for signaling an answer, I guess two methods are available:
Loop disconnect Polarity Reversal
In addition, is there a tone-based way to tell that the remote end has answered, eg. listen for the ringback tone to stop?
Thank you.
***** Moderator's Note *****Giles,
This is one of the oldest problems in telephone signalling. In no particular order, here are some of the questions involved:
- Did the called party hang up, or did they just fumble or drop the phone, or did customers at two called-party extensions think the other person had the call?
- Is the called party's line or instrument defective or has it been tampered with? "Ring trip silence" faults are common after rainstorms with copper cables, or when some kid finds an old copy of Ramparts magazine and tries to reinvent the black box.
- Is the answering machine out of tape? Are its batteries failing?
Well, you get the idea: the first problem is determining _IF_ the called party hanged up. We must be sure that they did before we signal the calling party. Bill Horne Moderator