<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Thanks Nandy<br>
    <br>
    I am not using the GSM device in this test and have tried changing
    the disconnect signalling without any luck. When I hang up the
    phones, nothing is recorder in the Freeswitch log (log level 7). Is
    there a way to trap the disconnect signal by writing a "lua" script
    or would that info already be written to the log if it was being
    received?.<br>
    <br>
    What I don't understand is that when I use the SIP gateway for the
    outgoing leg of the call, then the disconnect signal from the two
    phones is received. But when I use the PSTN line as the outgoing
    leg, the disconnect signal is not received from either phone?<br>
    <br>
    Anyone got any suggestions how I would debug this?<br>
    <br>
    Thanks again for your help.<br>
    O<br>
    <br>
    <br>
    On 04/13/2012 03:40 PM, Nandy Dagondon wrote:
    <blockquote
cite="mid:CAHKqMb7AShH1BsNyLOf-WmztbagrXhQL_HgGa1-AAWANKpA5TQ@mail.gmail.com"
      type="cite">check the line supervision signalling of your GSM and
      the GXW4104. there are several disconnect signalling used: current
      disconnect, polarity reversal or busy tones. your FXO port must be
      set accordingly. <br>
      <br>
      <div class="gmail_quote">
        On Fri, Apr 13, 2012 at 3:09 PM, ocset <span dir="ltr">&lt;<a
            moz-do-not-send="true" href="mailto:ocset@the800group.com">ocset@the800group.com</a>&gt;</span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          Hi<br>
          <br>
          I have successfully managed to get FreeSwitch to bridge an
          incoming call<br>
          on a PSTN line to an external mobile phone using a second PSTN
          line with<br>
          the help of a GXW4104 FSO gateway.<br>
          <br>
          I am now having a serious issue where the call never gets
          terminated<br>
          when the parties hang up. The only way to end the call is to
          either<br>
          shut-down FreeSwitch or turn off the GXW4104. If I bridge the
          call to a<br>
          SIP gateway (PennyTel) instead of the second PSTN line, then
          it works as<br>
          expected when both parties hang up.<br>
          <br>
          Here is what I have tested<br>
          <br>
          1. Call -&gt; PSTN line1 (GXW4140) -&gt; PennyTel SIP gateway
          -&gt; external<br>
          mobile phone -- call end when both parties hang up.<br>
          2. Call -&gt; PSTN line1 (GXW4104) -&gt; &nbsp;PSTN line2 (GXW4104)
          -&gt; external<br>
          mobile phone -- call never end, even when both parties hang
          up.<br>
          <br>
          Is there a parameter I should be setting to help solve this
          issue or<br>
          some code that I should implement to test for this situation?<br>
          <br>
          I have also noticed that with test scenario 1 (PSTN line + SIP
          Gateway),<br>
          if the person being called does not end the call on their
          side, then<br>
          that leg of the bridge remains active.<br>
          <br>
          ps. The second PSTN line is not a real copper line. It is a
          PennyTel<br>
          VOIP line that is managed by the modem and connected to the
          GXW4104 via<br>
          phone cable. So, as far as the GXW4104 is concerned, it is
          just another<br>
          POTS line. I don't have a second PSTN phone line so can't test
          any other<br>
          way.<br>
          <br>
          Thanks in advance<br>
          O.<br>
          <br>
_________________________________________________________________________<br>
          Professional FreeSWITCH Consulting Services:<br>
          <a moz-do-not-send="true"
            href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
          <a moz-do-not-send="true"
            href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
          <br>
          FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
          <a moz-do-not-send="true" href="http://www.cudatel.com"
            target="_blank">http://www.cudatel.com</a><br>
          <br>
          Official FreeSWITCH Sites<br>
          <a moz-do-not-send="true" href="http://www.freeswitch.org"
            target="_blank">http://www.freeswitch.org</a><br>
          <a moz-do-not-send="true" href="http://wiki.freeswitch.org"
            target="_blank">http://wiki.freeswitch.org</a><br>
          <a moz-do-not-send="true" href="http://www.cluecon.com"
            target="_blank">http://www.cluecon.com</a><br>
          <br>
          FreeSWITCH-users mailing list<br>
          <a moz-do-not-send="true"
            href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
          <a moz-do-not-send="true"
            href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
            target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
          UNSUBSCRIBE:<a moz-do-not-send="true"
            href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
            target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
          <a moz-do-not-send="true" href="http://www.freeswitch.org"
            target="_blank">http://www.freeswitch.org</a><br>
        </blockquote>
      </div>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
    </blockquote>
  </body>
</html>