diff options
author | alecdavis <alecdavis@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-07-22 23:14:50 +0000 |
---|---|---|
committer | alecdavis <alecdavis@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-07-22 23:14:50 +0000 |
commit | f4110f5c77863958065979fab4027770ea2990c7 (patch) | |
tree | 46a9b237320ec45b34bbc4c57965d79679fb8688 /configs | |
parent | 14194cacf54fca15caba5c92e71d0268525897d6 (diff) |
Support FXS module Polarity Reversal on remote party Answer and Hangup
FXS lines normally connect to a telephone. However, when FXS lines are routed
to an external PBX or Key System to act as "external" or "CO" lines, it is
extremely difficult, if not impossible for the external PBX to know when
the call has been disconnected without receiving a polarity reversal on the line.
Now using answeronpolarityswitch and hanguponpolarityswitch keywords that
previously were used only for FXO ports, now applies like functionality for
an FXS port, but from the connected equipment's point of view.
(closes issue #17318)
Reported by: armeniki
Patches:
fxs_linepolarity.diff5.txt uploaded by alecdavis (license 585)
Tested by: alecdavis
Review: https://reviewboard.asterisk.org/r/797/
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@278809 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configs')
-rw-r--r-- | configs/chan_dahdi.conf.sample | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/configs/chan_dahdi.conf.sample b/configs/chan_dahdi.conf.sample index 0bc4ac82e..56794320f 100644 --- a/configs/chan_dahdi.conf.sample +++ b/configs/chan_dahdi.conf.sample @@ -820,14 +820,22 @@ pickupgroup=1 ; useful to use the ztmonitor utility to record the audio that main/dsp.c ; is receiving after the caller hangs up. ; -; Use a polarity reversal to mark when a outgoing call is answered by the -; remote party. +; For FXS (FXO signalled) ports +; switch the line polarity to signal the connected PBX that an outgoing +; call was answered by the remote party. +; For FXO (FXS signalled) ports +; watch for a polarity reversal to mark when a outgoing call is +; answered by the remote party. ; ;answeronpolarityswitch=yes ; -; In some countries, a polarity reversal is used to signal the disconnect of a -; phone line. If the hanguponpolarityswitch option is selected, the call will -; be considered "hung up" on a polarity reversal. +; For FXS (FXO signalled) ports +; switch the line polarity to signal the connected PBX that the current +; call was "hung up" by the remote party +; For FXO (FXS signalled) ports +; In some countries, a polarity reversal is used to signal the disconnect of a +; phone line. If the hanguponpolarityswitch option is selected, the call will +; be considered "hung up" on a polarity reversal. ; ;hanguponpolarityswitch=yes ; |