<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hello,</p>
    <p>you have to configure freeswitch to allow traffic from kamailio
      based on ip address, not with username/password.</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <div class="moz-cite-prefix">On 25.10.22 02:55, SparkleZou wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:6853c502.49f.1840ca365c2.Coremail.sparklezou@126.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div
        style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial">
        <div style="margin:0;">Hi Sir/Madam,</div>
        <div style="margin:0;"><br>
        </div>
        <div style="margin:0;">I'm trying to set a Fresswitch as the
          Voicemail server.</div>
        <div style="margin:0;"><br>
        </div>
        <div style="margin:0;">I set the #!define WITH_VOICEMAIL in the
          kamailio.cfg file to enable the default VoiceMail
          configuration.</div>
        <div style="margin:0;"><br>
        </div>
        <div style="margin:0;">Set the voicemail server address as
          following :</div>
        <div style="margin:0;"><br>
        </div>
        <div style="margin:0;">
          <div style="margin:0;">voicemail.srv_ip = "10.120.100.179"
            desc "VoiceMail IP Address"</div>
          <div style="margin:0;">voicemail.srv_port = "5060" desc
            "VoiceMail Port"</div>
          <div style="margin:0;"><br>
          </div>
          <div style="margin:0;">And the kamailio server address is
            10.120.100.180.</div>
          <div style="margin:0;"><br>
          </div>
          <div style="margin:0;">Here face the issue, the Subscribe
            message could NOT be authorized. The SUBSCRIBER message with
            token could NOT be forworded to Freeswitch. </div>
          <div style="margin:0;"><br>
          </div>
          <div style="margin:0;"><br>
          </div>
          <div style="margin:0;"><br>
          </div>
          <div style="margin:0;"><br>
          </div>
          <div style="margin:0;"><br>
          </div>
          <div style="margin:0;">The log is also attached.</div>
          <div style="margin:0;"><br>
          </div>
          <div style="margin:0;">It's resllay strange. Please help
            check. Thanks!</div>
          <div style="margin:0;"><br>
          </div>
          <div style="margin:0;">BR,</div>
          <div style="margin:0;">Sparkle Zou</div>
        </div>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - Online
  Nov 7-10, 2022 (Europe Timezone)
  * <a class="moz-txt-link-freetext" href="https://www.asipto.com/sw/kamailio-advanced-training-online/">https://www.asipto.com/sw/kamailio-advanced-training-online/</a></pre>
  </body>
</html>