<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <font size="-1"><font face="Arial">HI,<br>
        <br>
        it seems many other dialers also send the crypto in a similar
        way so all cant be wrong i guess, should i file a bug request in
        FS?<br>
        <br>
        <br>
      </font></font>
    <div class="moz-signature">
      <style>
body {
  font-family: Verdana, sans-serif;
  font-size: 0.8em;
  color:#484848;
}
h1, h2, h3 { font-family: "Trebuchet MS", Verdana, sans-serif; margin:0in; margin-bottom:.0001pt; }
p.footr { font-family: "Trebuchet MS", Verdana, sans-serif; margin:0in; margin-bottom:.0001pt; }
h1 { font-size: 1.2em; }
h2, h3 { font-size: 1.1em; }
a, a:link, a:visited { color: #2A5685;}
a:hover, a:active { color: #c61a1a; }
a.wiki-anchor { display: none; }
hr {
  width: 100%;
  height: 1px;
  background: #ccc;
  border: 0;
}
</style>Regards,<br>
      Bipin<br>
      <br>
      <br>
      <hr>
    </div>
    <div class="moz-cite-prefix">-------- Original Message --------<br>
      Subject: Re: [Freeswitch-users] SRTP crypto selection<br>
      From: Bipin Patel <a class="moz-txt-link-rfc2396E" href="mailto:bipin@xbipin.com"><bipin@xbipin.com></a><br>
      To: FreeSWITCH Users Help
      <a class="moz-txt-link-rfc2396E" href="mailto:freeswitch-users@lists.freeswitch.org"><freeswitch-users@lists.freeswitch.org></a><br>
      Date: 3/16/2018, 12:22:37 AM<br>
    </div>
    <blockquote type="cite"
      cite="mid:1622b541ee0.279b.b07ebdf329620b8089087c7205b03f01@xbipin.com">
      <div dir="auto">Hi,</div>
      <div dir="auto"><br>
      </div>
      <div dir="auto">Thanks for that link but the other thing is the
        below line where zoiper sends a crypto that looks alike but the
        placement of characters is different so doesn't match so is
        zoiper doing it wrongly or it's a total different crypto that FS
        doesn't support</div>
      <div dir="auto"><br>
      </div>
      <div dir="auto"><span style="color: rgb(72, 72, 72); font-family:
          Arial; font-size: small;">switch_core_media.c:1479 looking for
          crypto suite [AES_CM_192_HMAC_SHA1_32] in [4
          AES_192_CM_HMAC_SHA1_32</span></div>
      <div dir="auto"><span style="color: rgb(72, 72, 72); font-family:
          Arial; font-size: small;"><br>
        </span></div>
      <div dir="auto"><span style="color: rgb(72, 72, 72); font-family:
          Arial; font-size: small;"><br>
        </span></div>
      <div dir="auto"><br>
      </div>
      <div id="aqm-original" style="font-family: sans-serif; font-size:
        12pt; color: black;">
        <!-- body start -->
        <div class="aqm-original-body">
          <div style="color: black;">
            <p style="color: black; font-size: 10pt; font-family: Arial,
              sans-serif; margin: 8pt 0;">On March 15, 2018 4:15:59 PM
              Jurijs Ivolga <a class="moz-txt-link-rfc2396E" href="mailto:jurijs.ivolga@gmail.com"><jurijs.ivolga@gmail.com></a> wrote:</p>
            <blockquote type="cite" class="gmail_quote" style="margin: 0
              0 0 0.75ex; border-left: 1px solid #808080; padding-left:
              0.75ex;">
              <div dir="ltr">
                <div>
                  <div>Hi,<br>
                    <br>
                  </div>
                  Have you checked this:<br>
                  <br>
                  <a
href="https://freeswitch.org/confluence/display/FREESWITCH/rtp_secure_media"
                    moz-do-not-send="true">https://freeswitch.org/confluence/display/FREESWITCH/rtp_secure_media</a><br>
                  <br>
                </div>
                With kind regards,<br>
              </div>
              <div class="gmail_extra"><br clear="all">
                <div>
                  <div class="gmail_signature"
                    data-smartmail="gmail_signature">
                    <div dir="ltr">Jurijs<br>
                    </div>
                  </div>
                </div>
                <br>
                <div class="gmail_quote">On Thu, Mar 15, 2018 at 2:03
                  PM, Bipin Patel <span dir="ltr"><<a
                      href="mailto:bipin@xbipin.com" target="_blank"
                      moz-do-not-send="true">bipin@xbipin.com</a>></span>
                  wrote:<br>
                  <blockquote class="gmail_quote" style="margin:0 0 0
                    .8ex;border-left:1px #ccc solid;padding-left:1ex">
                    <div text="#000000" bgcolor="#FFFFFF"> <span><span
                          style="font-family: Arial;">hi,<br>
                          <br>
                          is it possible to force a selected crypto for
                          SRTP as i cant seem to find a way to force a
                          crypto to the user such that is phone uses
                          that for media, secondly i see zoiper sends
                          the below in SDP<br>
                          <br>
                          a=crypto:5 AES_256_CM_HMAC_SHA1_80
                          inline:854nJNIKSyhr0sJs+Ol+<wbr>Qv2eSqC2gnydK8iVHUAXb4Xx7oW8iM<wbr>M2jVi7R9xV6A==<br>
                          a=crypto:6 AES_256_CM_HMAC_SHA1_32
                          inline:854nJNIKSyhr0sJs+Ol+<wbr>Qv2eSqC2gnydK8iVHUAXb4Xx7oW8iM<wbr>M2jVi7R9xV6A==<br>
                          a=crypto:3 AES_192_CM_HMAC_SHA1_80
                          inline:854nJNIKSyhr0sJs+Ol+<wbr>Qv2eSqC2gnydK8iVHUAXb4Xx7oW8iM<wbr>M=<br>
                          a=crypto:4 AES_192_CM_HMAC_SHA1_32
                          inline:854nJNIKSyhr0sJs+Ol+<wbr>Qv2eSqC2gnydK8iVHUAXb4Xx7oW8iM<wbr>M=<br>
                          a=crypto:1 AES_CM_128_HMAC_SHA1_80
                          inline:854nJNIKSyhr0sJs+Ol+<wbr>Qv2eSqC2gnydK8iVHUAX<br>
                          a=crypto:2 AES_CM_128_HMAC_SHA1_32
                          inline:854nJNIKSyhr0sJs+Ol+<wbr>Qv2eSqC2gnydK8iVHUAX<br>
                          <br>
                          where as FS always uses the below only<br>
                          <br>
                          switch_core_media.c:1484 Found suite
                          AES_CM_128_HMAC_SHA1_80<br>
                          <br>
                          and also i noticed FS and zoiper have some
                          variations in crypto names such as<br>
                          <br>
                          switch_core_media.c:1479 looking for crypto
                          suite [AES_CM_192_HMAC_SHA1_32] in [4
                          AES_192_CM_HMAC_SHA1_32<br>
                          <br>
                          and this never matches and never used at all
                          (notice the placement of CM_192 in FS whereas
                          zoiper has 192_CM)<span class="HOEnZb"><span
                              style="color: #888888;"><br>
                              <br>
                              <br>
                            </span></span></span></span><span
                        class="HOEnZb"><span style="color: #888888;">
                          <div
                            class="m_2056731061696904923moz-signature">--
                            <br>
                            Regards,<br>
                            Bipin<br>
                            <br>
                            <br>
                            <hr> </div>
                        </span></span></div>
                    <br>
                    ______________________________<wbr>______________________________<wbr>_____________<br>
                    Professional FreeSWITCH Consulting Services:<br>
                    <a href="mailto:consulting@freeswitch.org"
                      moz-do-not-send="true">consulting@freeswitch.org</a><br>
                    <a href="http://www.freeswitchsolutions.com"
                      rel="noreferrer" target="_blank"
                      moz-do-not-send="true">http://www.<wbr>freeswitchsolutions.com</a><br>
                    <br>
                    Official FreeSWITCH Sites<br>
                    <a href="http://www.freeswitch.org" rel="noreferrer"
                      target="_blank" moz-do-not-send="true">http://www.freeswitch.org</a><br>
                    <a href="http://confluence.freeswitch.org"
                      rel="noreferrer" target="_blank"
                      moz-do-not-send="true">http://confluence.freeswitch.<wbr>org</a><br>
                    <a href="http://www.cluecon.com" rel="noreferrer"
                      target="_blank" moz-do-not-send="true">http://www.cluecon.com</a><br>
                    <br>
                    FreeSWITCH-users mailing list<br>
                    <a
                      href="mailto:FreeSWITCH-users@lists.freeswitch.org"
                      moz-do-not-send="true">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
                    <a
                      href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
                      rel="noreferrer" target="_blank"
                      moz-do-not-send="true">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
                    UNSUBSCRIBE:<a
                      href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
                      rel="noreferrer" target="_blank"
                      moz-do-not-send="true">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
                    <a href="http://www.freeswitch.org" rel="noreferrer"
                      target="_blank" moz-do-not-send="true">http://www.freeswitch.org</a><br>
                  </blockquote>
                </div>
                <br>
              </div>
_________________________________________________________________________<br>
              Professional FreeSWITCH Consulting Services:<br>
              <a class="aqm-autolink aqm-autowrap"
                href="mailto:consulting%40freeswitch.org"
                moz-do-not-send="true">consulting@freeswitch.org</a><br>
              <a class="aqm-autolink aqm-autowrap"
                href="http://www.freeswitchsolutions.com"
                moz-do-not-send="true">http://www.freeswitchsolutions.com</a><br>
              <br>
              Official FreeSWITCH Sites<br>
              <a class="aqm-autolink aqm-autowrap"
                href="http://www.freeswitch.org" moz-do-not-send="true">http://www.freeswitch.org</a><br>
              <a class="aqm-autolink aqm-autowrap"
                href="http://confluence.freeswitch.org"
                moz-do-not-send="true">http://confluence.freeswitch.org</a><br>
              <a class="aqm-autolink aqm-autowrap"
                href="http://www.cluecon.com" moz-do-not-send="true">http://www.cluecon.com</a><br>
              <br>
              FreeSWITCH-users mailing list<br>
              <a class="aqm-autolink aqm-autowrap"
                href="mailto:FreeSWITCH-users%40lists.freeswitch.org"
                moz-do-not-send="true">FreeSWITCH-users@lists.freeswitch.org</a><br>
              <a class="aqm-autolink aqm-autowrap"
                href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
                moz-do-not-send="true">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
              UNSUBSCRIBE:<a class="aqm-autolink aqm-autowrap"
                href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
                moz-do-not-send="true">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
              <a class="aqm-autolink aqm-autowrap"
                href="http://www.freeswitch.org" moz-do-not-send="true">http://www.freeswitch.org</a></blockquote>
          </div>
        </div>
        <!-- body end -->
      </div>
      <div dir="auto"><br>
      </div>
      <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>

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://confluence.freeswitch.org">http://confluence.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>
  </body>
</html>