<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Just another question:<br>
      <br>
      is there any way to trace the connection setup on the client side
      (besides console log) and on Freeswitch's side?<br>
      In an unencrypted communication ngrep or pcap are very usefull.
      But in this encrypted scenario this seems to be no option.<br>
      <br>
      Best regards<br>
      Peter<br>
      <br>
      <br>
      <br>
      <br>
      On 09/04/13 22:25, Peter Steinbach wrote:<br>
    </div>
    <blockquote cite="mid:52279757.3050809@telefaks.de" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <div class="moz-cite-prefix">&gt;<a moz-do-not-send="true"
          class="moz-txt-link-freetext" href="https://">https://</a>&lt;FS-IP&gt;:&lt;WSS-port&gt;<br>
        I did this, also we have created our own wss.pem<br>
        Freeswitch logs do not show anything even at debug level 10.<br>
        <br>
        So it seems to be a ssl connection problem.<br>
        openssl1.0.1e is installed and Freeswitch was compiled against
        it beginning with ./bootsrap<br>
        Freeswitch was checked out today, so it is up-to-date.<br>
        Jssip console log shows:<br>
        JsSIP | TRANSPORT | connecting to WebSocket <a
          moz-do-not-send="true" class="moz-txt-link-freetext"
          href="wss://mydomain.com:7443">wss://mydomain.com:7443</a>
        jssip-devel.js:556<br>
        JsSIP | TRANSPORT | WebSocket connection error: [object Event]
        jssip-devel.js:717<br>
        JsSIP | TRANSPORT | WebSocket disconnected (code: 1006)
        jssip-devel.js:611<br>
        JsSIP | TRANSPORT | WebSocket abrupt disconnection
        jssip-devel.js:614<br>
        JsSIP | UA | transport <a moz-do-not-send="true"
          class="moz-txt-link-freetext" href="wss://mydomain.com:7443">wss://mydomain.com:7443</a>
        failed | connection state set to 2 jssip-devel.js:5292<br>
        JsSIP | EVENT EMITTER | emitting event disconnected
        jssip-devel.js:187<br>
        JsSIP | UA | next connection attempt in 12 seconds <br>
        <br>
        I get this error both on Chromium and Firefox.<br>
        <br>
        Best regards<br>
        Peter<br>
        <br>
        <br>
        <br>
        On 09/04/13 19:28, Muhammad Shahzad wrote:<br>
      </div>
      <blockquote
cite="mid:CAFZQphyG4b5BZFQwBcZyXQazgNQZ6eJGLDYXgBqYWJupufX6GQ@mail.gmail.com"
        type="cite">
        <div dir="ltr">If you are using self-signed certificates, then
          you need to add exception for them in your web browser, The
          easiest way to do it is, open below URL in your web browser
          and add exception for SSL certificate when prompted,
          <div> <br>
          </div>
          <div><a moz-do-not-send="true" class="moz-txt-link-freetext"
              href="https://">https://</a>&lt;FS-IP&gt;:&lt;WSS-port&gt;</div>
          <div><br>
          </div>
          <div>Then JSSIP will work fine.</div>
          <div><br>
          </div>
          <div>Thank you.</div>
          <div><br>
          </div>
          <div><br>
          </div>
        </div>
        <div class="gmail_extra"><br>
          <br>
          <div class="gmail_quote"> On Wed, Sep 4, 2013 at 7:12 PM,
            Anthony Minessale <span dir="ltr">&lt;<a
                moz-do-not-send="true"
                href="mailto:anthony.minessale@gmail.com"
                target="_blank">anthony.minessale@gmail.com</a>&gt;</span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div dir="ltr">Try making your own wss.pem that is a valid
                http cert key pair.
                <div><br>
                </div>
              </div>
              <div class="gmail_extra"><br>
                <br>
                <div class="gmail_quote">
                  <div>
                    <div class="h5">On Wed, Sep 4, 2013 at 12:05 PM,
                      Peter Steinbach <span dir="ltr">&lt;<a
                          moz-do-not-send="true"
                          href="mailto:lists@telefaks.de"
                          target="_blank">lists@telefaks.de</a>&gt;</span>
                      wrote:<br>
                    </div>
                  </div>
                  <blockquote class="gmail_quote" style="margin:0 0 0
                    .8ex;border-left:1px #ccc solid;padding-left:1ex">
                    <div>
                      <div class="h5">
                        <div bgcolor="#FFFFFF" text="#000000"> I am
                          trying the Jssip demo with freeswitch and it
                          works nicely with jssip 0.3.0 and the
                          following configuration:<br>
                          &nbsp;&nbsp;&nbsp;&nbsp; ws_servers: '<a moz-do-not-send="true">ws://my_domain.com:8088</a>'
                          (My ws port is on 8088)<br>
                          <br>
                          However this only works with 'ws' but not with
                          secure 'wss'.<br>
                          <ul>
                            <li>In the log I can see that freeswitch
                              sets wss-binding[:7443]</li>
                            <li>wss.pem is also present in the certs
                              directory<br>
                            </li>
                          </ul>
                          But with the config: <br>
                          &nbsp;&nbsp;&nbsp;&nbsp; ws_servers: '<a moz-do-not-send="true">wss://my_domain.com:7443</a>'<br>
                          I do not even get a connection and I receive a
                          1006 error.<br>
                          <br>
                          Anybody has a working wss connection with
                          Jssip and can share his config with me?<span><font
                              color="#888888"><br>
                              <br>
                              <br>
                              <pre cols="72">-- 
With kind regards
Peter Steinbach 

Telefaks Services GmbH
<a moz-do-not-send="true" href="mailto:lists" target="_blank">mailto:lists</a> (att) <a moz-do-not-send="true" href="http://telefaks.de" target="_blank">telefaks.de</a>
Internet: <a moz-do-not-send="true" href="http://www.telefaks.de" target="_blank">www.telefaks.de</a>

</pre>
                            </font></span></div>
                        <br>
                      </div>
                    </div>
_________________________________________________________________________<br>
                    Professional FreeSWITCH Consulting Services:<br>
                    <a moz-do-not-send="true"
                      href="mailto:consulting@freeswitch.org"
                      target="_blank">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"
                      target="_blank">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>
                    <br>
                  </blockquote>
                </div>
                <br>
                <br clear="all">
                <div><br>
                </div>
                -- <br>
                Anthony Minessale II<br>
                <br>
                FreeSWITCH <a moz-do-not-send="true"
                  href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
                ClueCon <a moz-do-not-send="true"
                  href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
                Twitter: <a moz-do-not-send="true"
                  href="http://twitter.com/FreeSWITCH_wire"
                  target="_blank">http://twitter.com/FreeSWITCH_wire</a><br>
                <br>
                AIM: anthm<br>
                <a moz-do-not-send="true"
                  href="mailto:MSN%3Aanthony_minessale@hotmail.com"
                  target="_blank">MSN:anthony_minessale@hotmail.com</a><br>
                GTALK/JABBER/<a moz-do-not-send="true"
                  href="mailto:PAYPAL%3Aanthony.minessale@gmail.com"
                  target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>
                IRC: <a moz-do-not-send="true"
                  href="http://irc.freenode.net" target="_blank">irc.freenode.net</a>
                #freeswitch<br>
                <br>
                FreeSWITCH Developer Conference<br>
                <a moz-do-not-send="true"
                  href="mailto:sip%3A888@conference.freeswitch.org"
                  target="_blank">sip:888@conference.freeswitch.org</a><br>
                <a moz-do-not-send="true"
                  href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org"
                  target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>
                pstn:+19193869900 </div>
              <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>
              <br>
            </blockquote>
          </div>
          <br>
          <br clear="all">
          <div><br>
          </div>
          -- <br>
          <div><span
style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Mit

              freundlichen Gr&uuml;&szlig;en</span></div>
          <span
style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Muhammad

            Shahzad</span><br
style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
          <span
style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">------------------------------</span><span
style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">-----</span><br
style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
          <span
style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">CISCO

            Rich Media Communication Specialist (CRMCS)</span><br
style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
          <span
style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">CISCO

            Certified Network Associate (CCNA)</span><br
style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
          <span
style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Cell:&nbsp;+49

            176 99 83 10 85</span><br
style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
          <span
style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">MSN:&nbsp;</span><a
            moz-do-not-send="true" href="mailto:shari_786pk@hotmail.com"
style="color:rgb(17,85,204);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"
            target="_blank">shari_786pk@hotmail.com</a><br
style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
          <span
style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Email:&nbsp;</span><a
            moz-do-not-send="true"
            href="mailto:shaheryarkh@googlemail.com"
style="color:rgb(17,85,204);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"
            target="_blank">shaheryarkh@googlemail.com</a> </div>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

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

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

FreeSWITCH-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a moz-do-not-send="true" 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 moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
      </blockquote>
      <br>
      <br>
      <pre class="moz-signature" cols="72">-- 
With kind regards
Peter Steinbach 

Telefaks Services GmbH
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="mailto:lists">mailto:lists</a> (att) telefaks.de
Internet: <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="http://www.telefaks.de">www.telefaks.de</a>

</pre>
      <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>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
With kind regards
Peter Steinbach 

Telefaks Services GmbH
<a class="moz-txt-link-freetext" href="mailto:lists">mailto:lists</a> (att) telefaks.de
Internet: <a class="moz-txt-link-abbreviated" href="http://www.telefaks.de">www.telefaks.de</a>

</pre>
  </body>
</html>