<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <tt>Hi,<br>
      the problem is that you must comment out also <br>
      <br>
    </tt><b><br>
    </b><tt><b>#proxy=sip:[% sip_lb_ips.0 %]:[% kamailio.lb.port %]</b><b><br>
      </b><b>[% IF sip_adv_ips.size -%]</b><b><br>
      </b><b>#contact=sip:[% sip_adv_ips.0 %]:[% kamailio.lb.port %]</b><b><br>
      </b><b>[% ELSE -%]</b><b><br>
      </b><b>#contact=sip:[% sip_ext_ips.0 %]:[% kamailio.lb.port %]</b><b><br>
      </b><b>[% END -%]</b><font size="1"><br>
        <br>
        <br>
      </font>so your code shouls look like<br>
      <br>
    </tt><b><br>
    </b><tt><b>domain=</b><b><a href="http://sipdomain.com">sipdomain.com</a></b><b><br>
      </b><b>user=sipuser</b><b><br>
      </b><b>pwd=sippassword</b><b><br>
      </b><b>proxy=sip:[% sip_lb_ips.0 %]:[% kamailio.lb.port %]</b><b><br>
      </b><b>[% IF sip_adv_ips.size -%]</b><b><br>
      </b><b>contact=sip:[% sip_adv_ips.0 %]:[% kamailio.lb.port %]</b><b><br>
      </b><b>[% ELSE -%]</b><b><br>
      </b><b>contact=sip:[% sip_ext_ips.0 %]:[% kamailio.lb.port %]</b><b><br>
      </b><b>[% END -%]</b><b><br>
      </b><b><br>
      </b><font size="1"><br>
        <br>
        <br>
      </font><font size="1"></font></tt>
    <pre class="moz-signature" cols="72">-- 
Daniel Grotti
Head of Customer Support
Sipwise GmbH, Campus 21/Europaring F15
AT-2345 Brunn am Gebirge

Office: +43(0)130120332
Email: <a class="moz-txt-link-abbreviated" href="mailto:dgrotti@sipwise.com">dgrotti@sipwise.com</a>
Website: <a class="moz-txt-link-freetext" href="https://www.sipwise.com">https://www.sipwise.com</a>
</pre>
    <div class="moz-cite-prefix">On 11/12/18 12:05 PM, EMMANUEL AFANG
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAPbnNV+Xnd8_W_451jZBWhz9AHiSq8Gw8TY_bGtx81BvHr7cug@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr">
          <div dir="ltr">Hi Daniel<br>
            You asked for content of:<br>
            <i style="font-family:monospace">/etc/ngcp-config/templates/etc/ngcp-sems/etc/reg_agent.conf.customtt.tt2</i>
            <div>But I am sending you content of:  <font
                face="monospace"><br>
                <i>/etc/ngcp-config/templates/etc/ngcp-sems/etc/reg_agent.conf.tt2</i><br>
              </font><br>
              <blockquote class="gmail_quote" style="margin:0px 0px 0px
                0.8ex;border-left:1px solid
                rgb(204,204,204);padding-left:1ex"><font size="1">sipuser@sipwise:~#
                  cat
                  /etc/ngcp-config/templates/etc/ngcp-sems/etc/reg_agent.conf.tt2</font><font
                  size="1"><br>
                </font><font size="1">[% argv.role='lb';
                  argv.type='sip_ext'; PROCESS
                  '/usr/lib/ngcp-ngcpcfg/get_all_shared_ips';
                  sip_ext_ips = out -%]<br>
                </font><font size="1">[% IF !sip_ext_ips.size -%]<br>
                </font><font size="1">[% argv.role='lb';
                  argv.type='sip_ext'; PROCESS
                  '/usr/lib/ngcp-ngcpcfg/get_all_ips'; sip_ext_ips = out
                  -%]<br>
                </font><font size="1">[% END -%]<br>
                </font><font size="1">[% argv.role='lb';
                  argv.type='sip_int'; PROCESS
                  '/usr/lib/ngcp-ngcpcfg/get_all_shared_ips'; sip_lb_ips
                  = out -%]<br>
                </font><font size="1">[% IF !sip_lb_ips.size -%]<br>
                </font><font size="1">[% argv.role='lb';
                  argv.type='sip_int'; PROCESS
                  '/usr/lib/ngcp-ngcpcfg/get_all_ips'; sip_lb_ips = out
                  -%]<br>
                </font><font size="1">[% END -%]<br>
                </font><font size="1">[% argv.role='lb';
                  argv.type='sip_ext'; PROCESS
                  '/usr/lib/ngcp-ngcpcfg/get_all_adv_ips'; sip_adv_ips =
                  out -%]<br>
                </font><font size="1"># IMPORTANT:<br>
                </font><font size="1"># Only set "domain", "user" and
                  "pwd", and leave "proxy" and "contact" EXACTLY<br>
                </font><font size="1"># as is to make outbound
                  registrations to work.<br>
                </font><font size="1">#<br>
                </font><font size="1"># Note that the "contact"
                  parameter is specific to the Sipwise SPCE and does<br>
                </font><font size="1"># not yet exist in the official
                  sems.</font><font size="1"><br>
                </font><font size="1">domain=<a
                    href="http://sipdomain.com" moz-do-not-send="true">sipdomain.com</a><br>
                </font><font size="1">user=sipuser<br>
                </font><font size="1">pwd=sippassword</font><font
                  size="1"><br>
                </font><font size="1">#domain=<your peer realm><br>
                </font><font size="1">#user=<your peer user><br>
                </font><font size="1">#pwd=<your peer password><br>
                </font><font size="1">#proxy=sip:[% sip_lb_ips.0 %]:[%
                  kamailio.lb.port %]<br>
                </font><font size="1">[% IF sip_adv_ips.size -%]<br>
                </font><font size="1">#contact=sip:[% sip_adv_ips.0
                  %]:[% kamailio.lb.port %]<br>
                </font><font size="1">[% ELSE -%]<br>
                </font><font size="1">#contact=sip:[% sip_ext_ips.0
                  %]:[% kamailio.lb.port %]<br>
                </font><font size="1">[% END -%]</font><font size="1"><br>
                </font><font size="1">#domain1=<your peer realm><br>
                </font><font size="1">#user1=<your peer user><br>
                </font><font size="1">#pwd1=<your peer password><br>
                </font><font size="1">#proxy1=sip:[% sip_lb_ips.0 %]:[%
                  kamailio.lb.port %]<br>
                </font><font size="1">[% IF sip_adv_ips.size -%]<br>
                </font><font size="1">#contact1=sip:[% sip_adv_ips.0
                  %]:[% kamailio.lb.port %]<br>
                </font><font size="1">[% ELSE -%]<br>
                </font><font size="1">#contact1=sip:[% sip_ext_ips.0
                  %]:[% kamailio.lb.port %]<br>
                </font><font size="1">[% END %]</font><font size="1"><br>
                </font><font size="1">#domain2=<your peer realm><br>
                </font><font size="1">#user2=<your peer user><br>
                </font><font size="1">#pwd2=<your peer password><br>
                </font><font size="1">#proxy2=sip:[% sip_lb_ips.0 %]:[%
                  kamailio.lb.port %]<br>
                </font><font size="1">[% IF sip_adv_ips.size -%]<br>
                </font><font size="1">#contact2=sip:[% sip_adv_ips.0
                  %]:[% kamailio.lb.port %]<br>
                </font><font size="1">[% ELSE -%]<br>
                </font><font size="1">#contact2=sip:[% sip_ext_ips.0
                  %]:[% kamailio.lb.port %]<br>
                </font><font size="1">[% END %]</font><font size="1"><br>
                </font><font size="1"># Up to 50 registrations are
                  possible.</font></blockquote>
              <div><br>
              </div>
              <br>
               <br clear="all">
              <div>
                <div dir="ltr" class="gmail_signature">
                  <div dir="ltr">
                    <div>
                      <div dir="ltr">
                        <div dir="ltr">
                          <div>
                            <div
                              style="font-family:sans-serif;font-size:13px">
                              <p class="MsoNormal"
                                style="font-family:Arial,Helvetica,sans-serif;font-size:small">Best
                                Regards</p>
                              <p class="MsoNormal"
                                style="font-family:Arial,Helvetica,sans-serif;font-size:small"> </p>
                              <div
                                style="font-family:Arial,Helvetica,sans-serif;font-size:small">
                                <p class="MsoNormal"><b><span
                                      style="font-size:10pt;color:rgb(51,51,51)"><span>Emmanuel</span> Afang </span></b></p>
                                <p class="MsoNormal"><b><span
                                      style="font-size:10pt;color:rgb(51,51,51)"><br>
                                    </span></b></p>
                                <p class="MsoNormal"><span
                                    style="font-size:10pt;color:rgb(51,51,51)">Mobile </span><span
style="font-size:10pt;color:rgb(36,64,97)">+2347084280332<br>
                                    Email:  <u><a
                                        href="mailto:cuzomba@dial-mobile.com"
                                        style="color:rgb(17,85,204)"
                                        target="_blank"
                                        moz-do-not-send="true">a</a><a
                                        href="mailto:fang.emmanuel@gmail.com"
                                        target="_blank"
                                        moz-do-not-send="true">fang.emmanuel@gmail.com</a></u></span></p>
                                <p class="MsoNormal"><span
                                    style="color:rgb(36,64,97);font-size:13.3333px">Skype: </span><u
style="color:rgb(36,64,97);font-size:13.3333px"><a
                                      href="mailto:cuzomba@dial-mobile.com"
                                      style="color:rgb(17,85,204)"
                                      target="_blank"
                                      moz-do-not-send="true">a</a>fang.emmanuel</u><br>
                                </p>
                              </div>
                            </div>
                          </div>
                          <div><br>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
              <br>
            </div>
          </div>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr">On Mon, Nov 12, 2018 at 11:56 AM Daniel Grotti
          <<a href="mailto:dgrotti@sipwise.com"
            moz-do-not-send="true">dgrotti@sipwise.com</a>> wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div text="#000000" bgcolor="#FFFFFF"> <tt>Hi,<br>
              please provide your  </tt><tt><i>/etc/ngcp-config/templates/etc/ngcp-sems/etc/reg_agent.conf.customtt.tt2<br>
                <br>
                <br>
              </i></tt>
            <pre class="m_-8360971307790954012moz-signature" cols="72">-- 
Daniel Grotti
Head of Customer Support
Sipwise GmbH, Campus 21/Europaring F15
AT-2345 Brunn am Gebirge

Office: +43(0)130120332
Email: <a class="m_-8360971307790954012moz-txt-link-abbreviated" href="mailto:dgrotti@sipwise.com" target="_blank" moz-do-not-send="true">dgrotti@sipwise.com</a>
Website: <a class="m_-8360971307790954012moz-txt-link-freetext" href="https://www.sipwise.com" target="_blank" moz-do-not-send="true">https://www.sipwise.com</a>
</pre>
            <div class="m_-8360971307790954012moz-cite-prefix">On
              11/12/18 11:54 AM, EMMANUEL AFANG wrote:<br>
            </div>
            <blockquote type="cite">
              <div dir="ltr">Thanks Daniel for your quick response.
                <div>I did follow this guide, but sipwise does not seem
                  to be sending out REGISTER message to Peer. I captured
                  with tcpdump for more than an hour and not a single
                  REGISTER message was sent from sipwise to peer. This
                  is how I have it setup at the moment:</div>
                <blockquote style="margin:0 0 0
                  40px;border:none;padding:0px">
                  <div>Peer configured via sipwise GUI with <i>peer_auth_user,
                      peer_auth_pass </i>and <i>peer_auth_realm</i> all
                    set and <i>peer_auth_register</i> checked. </div>
                </blockquote>
                <blockquote style="margin:0 0 0
                  40px;border:none;padding:0px">
                  <div>Also set only the <i>domain</i>, <i>user </i>and
                    <i>pwd </i>in the <i>/etc/ngcp-config/templates/etc/ngcp-sems/etc/reg_agent.conf.tt2
                    </i>file </div>
                </blockquote>
                <div><br>
                </div>
                <div>I tested in lab with softswitch that sends a 407
                  Authentication Required when it receives an INVITE
                  from sipwise and saw that sipwise successfully
                  authenticates when SIP 407 is sent to it. The callflow
                  for sipwise successful authentication is like this: <br>
                </div>
                <blockquote style="margin:0 0 0
                  40px;border:none;padding:0px">
                  <div>
                    <div>sipwise sends INVITE ---->>  Provider</div>
                  </div>
                  <div>
                    <div>sipwise receives 407 Proxy Authentication
                      Required <<-----  Provider  </div>
                  </div>
                  <div>
                    <div>
                      <div>sipwise sends INVITE (with credentials)
                        ---->>  Provider</div>
                    </div>
                  </div>
                </blockquote>
                <blockquote style="margin:0 0 0
                  40px;border:none;padding:0px">
                  <div>
                    <div>sipwise receives 180 Ringing <<----- 
                      Provider  </div>
                  </div>
                </blockquote>
                <div><br>
                </div>
                <div>So I see that indeed sipwise wants the SIP 407 sent
                  to it, before it sends the credentials in an INVITE
                  method. It never sends out the REGISTER method to the
                  peer. Please how then can I achieve the callflow
                  below:</div>
                <blockquote style="margin:0 0 0
                  40px;border:none;padding:0px">
                  <div>
                    <div>sipwise sends REGISTER ---->>  Provider</div>
                  </div>
                  <div>
                    <div>sipwise receives 401 Unauthorized
                      <<-----  Provider  </div>
                  </div>
                  <div>
                    <div>sipwise sends REGISTER (w/credentials)
                      ---->>  Provider  </div>
                  </div>
                </blockquote>
                <div><br>
                  Will appreciate your feedback on this.</div>
                <div><br clear="all">
                  <div>
                    <div dir="ltr"
                      class="m_-8360971307790954012m_-634657826060765868gmail_signature"
                      data-smartmail="gmail_signature">
                      <div dir="ltr">
                        <div>
                          <div dir="ltr">
                            <div dir="ltr">
                              <div>
                                <div
                                  style="font-family:sans-serif;font-size:13px">
                                  <p class="MsoNormal"
                                    style="font-family:Arial,Helvetica,sans-serif;font-size:small">Best
                                    Regards</p>
                                  <p class="MsoNormal"
                                    style="font-family:Arial,Helvetica,sans-serif;font-size:small"> </p>
                                  <div
                                    style="font-family:Arial,Helvetica,sans-serif;font-size:small">
                                    <p class="MsoNormal"><b><span
                                          style="font-size:10pt;color:rgb(51,51,51)"><span>Emmanuel</span> Afang </span></b></p>
                                    <p class="MsoNormal"><b><span
                                          style="font-size:10pt;color:rgb(51,51,51)"><br>
                                        </span></b></p>
                                    <p class="MsoNormal"><span
                                        style="font-size:10pt;color:rgb(51,51,51)">Mobile </span><span
style="font-size:10pt;color:rgb(36,64,97)">+2347084280332<br>
                                        Email:  <u><a
                                            href="mailto:cuzomba@dial-mobile.com"
                                            style="color:rgb(17,85,204)"
                                            target="_blank"
                                            moz-do-not-send="true">a</a><a
href="mailto:fang.emmanuel@gmail.com" target="_blank"
                                            moz-do-not-send="true">fang.emmanuel@gmail.com</a></u></span></p>
                                    <p class="MsoNormal"><span
                                        style="color:rgb(36,64,97);font-size:13.3333px">Skype: </span><u
style="color:rgb(36,64,97);font-size:13.3333px"><a
                                          href="mailto:cuzomba@dial-mobile.com"
                                          style="color:rgb(17,85,204)"
                                          target="_blank"
                                          moz-do-not-send="true">a</a>fang.emmanuel</u><br>
                                    </p>
                                  </div>
                                </div>
                              </div>
                              <div><br>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                  <br>
                </div>
              </div>
              <br>
              <div class="gmail_quote">
                <div dir="ltr">On Mon, Nov 12, 2018 at 10:41 AM Daniel
                  Grotti <<a href="mailto:dgrotti@sipwise.com"
                    target="_blank" moz-do-not-send="true">dgrotti@sipwise.com</a>>
                  wrote:<br>
                </div>
                <blockquote class="gmail_quote" style="margin:0 0 0
                  .8ex;border-left:1px #ccc solid;padding-left:1ex">
                  <div text="#000000" bgcolor="#FFFFFF"> <tt>Yes,<br>
                      that's possible. How to do that is written in the
                      handbook, under the peering section: <a
class="m_-8360971307790954012m_-634657826060765868m_-5328731140551696315moz-txt-link-freetext"
href="https://www.sipwise.com/doc/mr6.5.1/sppro/?_href=ar01s05.html#_registering_at_a_peering_server"
                        target="_blank" moz-do-not-send="true">https://www.sipwise.com/doc/mr6.5.1/sppro/?_href=ar01s05.html#_registering_at_a_peering_server</a><br>
                      <br>
                      <br>
                      <br>
                      <br>
                    </tt>
                    <pre class="m_-8360971307790954012m_-634657826060765868m_-5328731140551696315moz-signature" cols="72">-- 
Daniel Grotti
Head of Customer Support
Sipwise GmbH, Campus 21/Europaring F15
AT-2345 Brunn am Gebirge

Office: +43(0)130120332
Email: <a class="m_-8360971307790954012m_-634657826060765868m_-5328731140551696315moz-txt-link-abbreviated" href="mailto:dgrotti@sipwise.com" target="_blank" moz-do-not-send="true">dgrotti@sipwise.com</a>
Website: <a class="m_-8360971307790954012m_-634657826060765868m_-5328731140551696315moz-txt-link-freetext" href="https://www.sipwise.com" target="_blank" moz-do-not-send="true">https://www.sipwise.com</a>
</pre>
                    <div
class="m_-8360971307790954012m_-634657826060765868m_-5328731140551696315moz-cite-prefix">On
                      11/12/18 10:35 AM, EMMANUEL AFANG wrote:<br>
                    </div>
                    <blockquote type="cite">
                      <div dir="ltr">Thanks Walter for your response.<br>
                        Please is it possible to set sipwise so it sends
                        out REGISTER to peer first, like the callflow
                        below:<br>
                        <blockquote style="margin:0 0 0
                          40px;border:none;padding:0px">
                          <div>sipwise sends REGISTER ---->> 
                            Provider</div>
                          <div>sipwise receives 401 Unauthorized
                            <<-----  Provider  </div>
                          <div>sipwise sends REGISTER (w/credentials)
                            ---->>  Provider  <br>
                          </div>
                        </blockquote>
                        <div><br>
                        </div>
                        <div>Will appreciate your feedback on this.</div>
                        <div><br>
                        </div>
                        <div>
                          <div dir="ltr"
class="m_-8360971307790954012m_-634657826060765868m_-5328731140551696315gmail_signature"
                            data-smartmail="gmail_signature">
                            <div dir="ltr">
                              <div>
                                <div dir="ltr">
                                  <div dir="ltr">
                                    <div>
                                      <div
                                        style="font-family:sans-serif;font-size:13px">
                                        <p class="MsoNormal"
                                          style="font-family:Arial,Helvetica,sans-serif;font-size:small">Best
                                          Regards</p>
                                        <p class="MsoNormal"
                                          style="font-family:Arial,Helvetica,sans-serif;font-size:small"> </p>
                                        <div
                                          style="font-family:Arial,Helvetica,sans-serif;font-size:small">
                                          <p class="MsoNormal"><b><span
style="font-size:10pt;color:rgb(51,51,51)"><span>Emmanuel</span> Afang </span></b></p>
                                          <p class="MsoNormal"><b><span
style="font-size:10pt;color:rgb(51,51,51)"><br>
                                              </span></b></p>
                                          <p class="MsoNormal"><span
                                              style="font-size:10pt;color:rgb(51,51,51)">Mobile </span><span
style="font-size:10pt;color:rgb(36,64,97)">+2347084280332<br>
                                              Email:  <u><a
                                                  href="mailto:cuzomba@dial-mobile.com"
style="color:rgb(17,85,204)" target="_blank" moz-do-not-send="true">a</a><a
href="mailto:fang.emmanuel@gmail.com" target="_blank"
                                                  moz-do-not-send="true">fang.emmanuel@gmail.com</a></u></span></p>
                                          <p class="MsoNormal"><span
                                              style="color:rgb(36,64,97);font-size:13.3333px">Skype: </span><u
style="color:rgb(36,64,97);font-size:13.3333px"><a
                                                href="mailto:cuzomba@dial-mobile.com"
style="color:rgb(17,85,204)" target="_blank" moz-do-not-send="true">a</a>fang.emmanuel</u><br>
                                          </p>
                                        </div>
                                      </div>
                                    </div>
                                    <div><br>
                                    </div>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                        <br>
                      </div>
                      <br>
                      <div class="gmail_quote">
                        <div dir="ltr">On Sat, Nov 10, 2018 at 3:00 AM
                          Walter Klomp <<a
                            href="mailto:walter@myrepublic.net"
                            target="_blank" moz-do-not-send="true">walter@myrepublic.net</a>>
                          wrote:<br>
                        </div>
                        <blockquote class="gmail_quote" style="margin:0
                          0 0 .8ex;border-left:1px #ccc
                          solid;padding-left:1ex">
                          <div dir="auto">Hi Emmanuel,
                            <div><br>
                            </div>
                            <div>This sounds more a provider issue than
                              Sipwise. Sipwise will always authenticate
                              with the credentials given a 407 comes
                              back. </div>
                            <div><br>
                            </div>
                            <div>Registration is usually only done to
                              announce where inbound calls need to go
                              to. (Having said that, sipwise should be
                              sending registrations at least once an
                              hour - did you check with sngrep or other
                              sniffer that it’s indeed not sending
                              anything, ever?)</div>
                            <div><br>
                              <div
id="m_-8360971307790954012m_-634657826060765868m_-5328731140551696315m_-2416281065770717801AppleMailSignature"
                                dir="ltr">Yours sincerely,
                                <div>Walter</div>
                              </div>
                              <div dir="ltr"><br>
                                On 9 Nov 2018, at 10:22 PM, EMMANUEL
                                AFANG <<a
                                  href="mailto:afang.emmanuel@gmail.com"
                                  target="_blank" moz-do-not-send="true">afang.emmanuel@gmail.com</a>>
                                wrote:<br>
                                <br>
                              </div>
                              <blockquote type="cite">
                                <div dir="ltr">
                                  <div dir="ltr">
                                    <div dir="ltr"><font size="1"
                                        color="#cc0000">(got a response
                                        from your server that I am not a
                                        member but posting to members,
                                        so I registered and re-posted)</font></div>
                                    <div dir="ltr">Hi<br>
                                      I use the free edition of 3CX and
                                      I am able to do Registrations with
                                      a Peering Partner with the
                                      following settings (changed):</div>
                                    <div><b>IN 3CX This Works:</b></div>
                                    <blockquote style="margin:0px 0px
                                      0px 40px;border:none;padding:0px">
                                      <div>
                                        <div>Registrar/Server/Gateway
                                          Hostname or IP   ==   <a
                                            href="http://sytypeer.com/"
                                            target="_blank"
                                            moz-do-not-send="true">sytypeer.com</a> 
                                           (port 5096)</div>
                                      </div>
                                      <div>
                                        <div>Outbound Proxy             
                                                                       
                                          ==   1.1.1.244     (port 5096)</div>
                                      </div>
                                      <div>
                                        <div>Type of Authentication     
                                                                     
                                          ==   Register</div>
                                      </div>
                                      <div>
                                        <div>Authentication ID (aka SIP
                                          User ID)             == 
                                           11111uuuuu22222</div>
                                      </div>
                                      <div>
                                        <div>Authentication Password   
                                                                    == 
                                           11111ppppp22222</div>
                                      </div>
                                    </blockquote>
                                    <div dir="ltr">
                                      <div><br>
                                      </div>
                                      <div>To configure the equivalence
                                        of this on sipwise, I did this:</div>
                                      <div><b>IN SIPWISE CE GUI Peering
                                          Servers:</b></div>
                                    </div>
                                    <blockquote style="margin:0px 0px
                                      0px 40px;border:none;padding:0px">
                                      <div>
                                        <div>IP Address   ==  1.1.1.244 
                                          (port 5096)</div>
                                      </div>
                                      <div>
                                        <div>Probing      ==  (checked
                                          the box)</div>
                                      </div>
                                    </blockquote>
                                    <div dir="ltr">
                                      <div><b>IN </b><b>SIPWISE CE </b><b>GUI
                                          Peering Server Preferences:</b></div>
                                    </div>
                                    <blockquote style="margin:0px 0px
                                      0px 40px;border:none;padding:0px">
                                      <div>
                                        <div>peer_auth_user      == 
                                          11111uuuuu22222</div>
                                      </div>
                                      <div>
                                        <div>peer_auth_pass      == 
                                          11111ppppp22222</div>
                                      </div>
                                      <div>
                                        <div>peer_auth_realm     ==  <a
                                            href="http://sytypeer.com/"
                                            target="_blank"
                                            moz-do-not-send="true">sytypeer.com</a></div>
                                      </div>
                                      <div>
                                        <div>peer_auth_register  == 
                                          (checked the box)</div>
                                      </div>
                                    </blockquote>
                                    <div dir="ltr">
                                      <div><b>IN SIPWISE
                                          CE /etc/ngcp-config/templates/etc/ngcp-sems/etc/reg_agent.conf.tt2</b></div>
                                    </div>
                                    <blockquote style="margin:0px 0px
                                      0px 40px;border:none;padding:0px">
                                      <div>
                                        <div>domain=<a
                                            href="http://sytypeer.com/"
                                            target="_blank"
                                            moz-do-not-send="true">sytypeer.com</a></div>
                                      </div>
                                      <div>
                                        <div>user=11111uuuuu22222</div>
                                      </div>
                                      <div>
                                        <div>pwd=11111ppppp22222</div>
                                        <div>(the description says:
                                          'Only set "domain", "user" and
                                          "pwd", and leave "proxy" and
                                          "contact" EXACTLY')</div>
                                      </div>
                                    </blockquote>
                                    <div dir="ltr">
                                      <div><br>
                                      </div>
                                      <div>With the above SIPWISE
                                        settings, I still am not able to
                                        REGISTER with partner. In fact,
                                        SIPWISE is NOT sending
                                        REGISTRATIONS. The callflow is
                                        like this:</div>
                                      <div>sipwise sends INVITE
                                        ---->>  Provider</div>
                                      <div>sipwise receives 100 Trying
                                        <<-----  Provider  <br>
                                      </div>
                                      <div>sipwise receives 403
                                        Forbidden <<----- 
                                        Provider  </div>
                                      <div>
                                        <div>sipwise sends ACK
                                          ---->>  Provider</div>
                                        <div><br>
                                        </div>
                                        <div>What I am thinking is
                                          whether sipwise was expecting
                                          to get a <i>407 Proxy
                                            Authentication Required</i> before
                                          it performs the REGISTRATION,
                                          if so, how do I make sipwise
                                          REGISTER with peer partner
                                          like 3CX does?</div>
                                      </div>
                                      <div><br>
                                      </div>
                                    </div>
                                    <div>
                                      <div dir="ltr"
class="m_-8360971307790954012m_-634657826060765868m_-5328731140551696315m_-2416281065770717801gmail_signature"
                                        data-smartmail="gmail_signature">
                                        <div dir="ltr">
                                          <div>
                                            <div dir="ltr">
                                              <div dir="ltr">
                                                <div>
                                                  <div
                                                    style="font-family:sans-serif;font-size:13px">
                                                    <p class="MsoNormal"
style="font-family:Arial,Helvetica,sans-serif;font-size:small">Best
                                                      Regards</p>
                                                    <p class="MsoNormal"
style="font-family:Arial,Helvetica,sans-serif;font-size:small"> </p>
                                                    <div
                                                      style="font-family:Arial,Helvetica,sans-serif;font-size:small">
                                                      <p
                                                        class="MsoNormal"><b><span
style="font-size:10pt;color:rgb(51,51,51)"><span>Emmanuel</span> Afang </span></b></p>
                                                      <p
                                                        class="MsoNormal"><b><span
style="font-size:10pt;color:rgb(51,51,51)"><br>
                                                          </span></b></p>
                                                      <p
                                                        class="MsoNormal"><span
style="font-size:10pt;color:rgb(51,51,51)">Mobile </span><span
                                                          style="font-size:10pt;color:rgb(36,64,97)">+2347084280332<br>
                                                          Email:  <u><a
href="mailto:cuzomba@dial-mobile.com" style="color:rgb(17,85,204)"
                                                          target="_blank"
moz-do-not-send="true">a</a><a href="mailto:fang.emmanuel@gmail.com"
                                                          target="_blank"
moz-do-not-send="true">fang.emmanuel@gmail.com</a></u></span></p>
                                                      <p
                                                        class="MsoNormal"><span
style="color:rgb(36,64,97);font-size:13.3333px">Skype: </span><u
                                                          style="color:rgb(36,64,97);font-size:13.3333px"><a
href="mailto:cuzomba@dial-mobile.com" style="color:rgb(17,85,204)"
                                                          target="_blank"
moz-do-not-send="true">a</a>fang.emmanuel</u><br>
                                                      </p>
                                                    </div>
                                                  </div>
                                                </div>
                                                <div><br>
                                                </div>
                                              </div>
                                            </div>
                                          </div>
                                        </div>
                                      </div>
                                    </div>
                                    <br>
                                  </div>
                                  <br>
                                  <div class="gmail_quote">
                                    <div dir="ltr">On Fri, Nov 9, 2018
                                      at 3:11 PM EMMANUEL AFANG <<a
                                        href="mailto:afang.emmanuel@gmail.com"
                                        target="_blank"
                                        moz-do-not-send="true">afang.emmanuel@gmail.com</a>>
                                      wrote:<br>
                                    </div>
                                    <blockquote class="gmail_quote"
                                      style="margin:0 0 0
                                      .8ex;border-left:1px #ccc
                                      solid;padding-left:1ex">
                                      <div dir="ltr">
                                        <div dir="ltr">Hi<br>
                                          I use the free edition of 3CX
                                          and I am able to do
                                          Registrations with a Peering
                                          Partner with the following
                                          settings (changed):</div>
                                        <div><b>IN 3CX This Works:</b></div>
                                        <blockquote style="margin:0 0 0
                                          40px;border:none;padding:0px">
                                          <div>
                                            <div>Registrar/Server/Gateway
                                              Hostname or IP   ==   <a
                                                href="http://sytypeer.com"
                                                target="_blank"
                                                moz-do-not-send="true">sytypeer.com</a> 
                                               (port 5096)</div>
                                          </div>
                                          <div>
                                            <div>Outbound Proxy         
                                                                       
                                                      ==   1.1.1.244   
                                               (port 5096)</div>
                                          </div>
                                          <div>
                                            <div>Type of Authentication 
                                                                       
                                                    ==   Register</div>
                                          </div>
                                          <div>
                                            <div>Authentication ID (aka
                                              SIP User ID)           
                                               ==   11111uuuuu22222</div>
                                          </div>
                                          <div>
                                            <div>Authentication
                                              Password                 
                                                          == 
                                               11111ppppp22222</div>
                                          </div>
                                        </blockquote>
                                        <div dir="ltr">
                                          <div><br>
                                          </div>
                                          <div>To configure the
                                            equivalence of this on
                                            sipwise, I did this:</div>
                                          <div><b>IN SIPWISE CE GUI
                                              Peering Servers:</b></div>
                                        </div>
                                        <blockquote style="margin:0 0 0
                                          40px;border:none;padding:0px">
                                          <div>
                                            <div>IP Address   == 
                                              1.1.1.244  (port 5096)</div>
                                          </div>
                                          <div>
                                            <div>Probing      == 
                                              (checked the box)</div>
                                          </div>
                                        </blockquote>
                                        <div dir="ltr">
                                          <div><b>IN </b><b>SIPWISE CE </b><b>GUI
                                              Peering Server
                                              Preferences:</b></div>
                                        </div>
                                        <blockquote style="margin:0 0 0
                                          40px;border:none;padding:0px">
                                          <div>
                                            <div>peer_auth_user      == 
                                              11111uuuuu22222</div>
                                          </div>
                                          <div>
                                            <div>peer_auth_pass      == 
                                              11111ppppp22222</div>
                                          </div>
                                          <div>
                                            <div>peer_auth_realm     == 
                                              <a
                                                href="http://sytypeer.com"
                                                target="_blank"
                                                moz-do-not-send="true">sytypeer.com</a></div>
                                          </div>
                                          <div>
                                            <div>peer_auth_register  == 
                                              (checked the box)</div>
                                          </div>
                                        </blockquote>
                                        <div dir="ltr">
                                          <div><b>IN SIPWISE
                                              CE /etc/ngcp-config/templates/etc/ngcp-sems/etc/reg_agent.conf.tt2</b></div>
                                        </div>
                                        <blockquote style="margin:0 0 0
                                          40px;border:none;padding:0px">
                                          <div>
                                            <div>domain=<a
                                                href="http://sytypeer.com"
                                                target="_blank"
                                                moz-do-not-send="true">sytypeer.com</a></div>
                                          </div>
                                          <div>
                                            <div>user=11111uuuuu22222</div>
                                          </div>
                                          <div>
                                            <div>pwd=11111ppppp22222</div>
                                            <div>(the description says:
                                              'Only set "domain", "user"
                                              and "pwd", and leave
                                              "proxy" and "contact"
                                              EXACTLY')</div>
                                          </div>
                                        </blockquote>
                                        <div dir="ltr">
                                          <div><br>
                                          </div>
                                          <div>With the above SIPWISE
                                            settings, I still am not
                                            able to REGISTER with
                                            partner. In fact, SIPWISE is
                                            NOT sending REGISTRATIONS.
                                            The callflow is like this:</div>
                                          <div>sipwise sends INVITE
                                            ---->>  Provider</div>
                                          <div>sipwise receives 100
                                            Trying <<----- 
                                            Provider  <br>
                                          </div>
                                          <div>sipwise receives 403
                                            Forbidden <<----- 
                                            Provider  </div>
                                          <div>
                                            <div>sipwise sends ACK
                                              ---->>  Provider</div>
                                            <div><br>
                                            </div>
                                            <div>What I am thinking is
                                              whether sipwise was
                                              expecting to get a <i>407
                                                Proxy Authentication
                                                Required</i> before it
                                              performs the REGISTRATION,
                                              if so, how do I make
                                              sipwise REGISTER with peer
                                              partner like 3CX does?</div>
                                            <br
class="m_-8360971307790954012m_-634657826060765868m_-5328731140551696315m_-2416281065770717801m_7541390431507244687gmail-Apple-interchange-newline">
                                          </div>
                                          <div><br>
                                          </div>
                                          <div>
                                            <div dir="ltr"
class="m_-8360971307790954012m_-634657826060765868m_-5328731140551696315m_-2416281065770717801m_7541390431507244687gmail_signature">
                                              <div dir="ltr">
                                                <div>
                                                  <div dir="ltr">
                                                    <div dir="ltr">
                                                      <div>
                                                        <div
                                                          style="font-family:sans-serif;font-size:13px">
                                                          <p
                                                          class="MsoNormal"
style="font-family:Arial,Helvetica,sans-serif;font-size:small">Best
                                                          Regards</p>
                                                          <p
                                                          class="MsoNormal"
style="font-family:Arial,Helvetica,sans-serif;font-size:small"> </p>
                                                          <div
                                                          style="font-family:Arial,Helvetica,sans-serif;font-size:small">
                                                          <p
                                                          class="MsoNormal"><b><span
style="font-size:10pt;color:rgb(51,51,51)"><span>Emmanuel</span> Afang </span></b></p>
                                                          <p
                                                          class="MsoNormal"><b><span
style="font-size:10pt;color:rgb(51,51,51)"><br>
                                                          </span></b></p>
                                                          <p
                                                          class="MsoNormal"><span
style="font-size:10pt;color:rgb(51,51,51)">Mobile </span><span
                                                          style="font-size:10pt;color:rgb(36,64,97)">+2347084280332<br>
                                                          Email:  <u><a
href="mailto:cuzomba@dial-mobile.com" style="color:rgb(17,85,204)"
                                                          target="_blank"
moz-do-not-send="true">a</a><a href="mailto:fang.emmanuel@gmail.com"
                                                          target="_blank"
moz-do-not-send="true">fang.emmanuel@gmail.com</a></u></span></p>
                                                          <p
                                                          class="MsoNormal"><span
style="color:rgb(36,64,97);font-size:13.3333px">Skype: </span><u
                                                          style="color:rgb(36,64,97);font-size:13.3333px"><a
href="mailto:cuzomba@dial-mobile.com" style="color:rgb(17,85,204)"
                                                          target="_blank"
moz-do-not-send="true">a</a>fang.emmanuel</u><br>
                                                          </p>
                                                          </div>
                                                        </div>
                                                      </div>
                                                      <div><br>
                                                      </div>
                                                    </div>
                                                  </div>
                                                </div>
                                              </div>
                                            </div>
                                          </div>
                                        </div>
                                      </div>
                                    </blockquote>
                                  </div>
                                </div>
                              </blockquote>
                              <blockquote type="cite">
                                <div dir="ltr"><span>_______________________________________________</span><br>
                                  <span>Spce-user mailing list</span><br>
                                  <span><a
                                      href="mailto:Spce-user@lists.sipwise.com"
                                      target="_blank"
                                      moz-do-not-send="true">Spce-user@lists.sipwise.com</a></span><br>
                                  <span><a
                                      href="https://lists.sipwise.com/listinfo/spce-user"
                                      target="_blank"
                                      moz-do-not-send="true">https://lists.sipwise.com/listinfo/spce-user</a></span><br>
                                </div>
                              </blockquote>
                            </div>
                          </div>
                          <br>
                          <span
style="color:rgb(34,34,34);font-family:sans-serif;background-color:rgb(255,255,255)"><font
                              size="1"><span style="font-family:Arial;color:rgb(102,102,102);font-style:italic;vertical-align:baseline;white-space:pre-wrap">The contents of this email and any attachments are confidential and may also be privileged. You must not disseminate the contents of this email and any attachments without permission of the sender. If you have received this email by mistake, please delete all copies and inform the sender immediately. You may refer to our company's Privacy Policy </span><span style="color:rgb(102,102,102);font-family:Arial;font-style:italic;vertical-align:baseline;white-space:pre-wrap"><a href="https://myrepublic.net/sg/legal/terms-of-use-policies/privacy-policy/" target="_blank" moz-do-not-send="true">here</a></span><span style="font-family:Arial;color:rgb(102,102,102);font-style:italic;vertical-align:baseline;white-space:pre-wrap">.</span></font></span></blockquote>
                      </div>
                      <br>
                      <fieldset
class="m_-8360971307790954012m_-634657826060765868m_-5328731140551696315mimeAttachmentHeader"></fieldset>
                      <pre class="m_-8360971307790954012m_-634657826060765868m_-5328731140551696315moz-quote-pre">_______________________________________________
Spce-user mailing list
<a class="m_-8360971307790954012m_-634657826060765868m_-5328731140551696315moz-txt-link-abbreviated" href="mailto:Spce-user@lists.sipwise.com" target="_blank" moz-do-not-send="true">Spce-user@lists.sipwise.com</a>
<a class="m_-8360971307790954012m_-634657826060765868m_-5328731140551696315moz-txt-link-freetext" href="https://lists.sipwise.com/listinfo/spce-user" target="_blank" moz-do-not-send="true">https://lists.sipwise.com/listinfo/spce-user</a>
</pre>
                    </blockquote>
                    <br>
                  </div>
                  _______________________________________________<br>
                  Spce-user mailing list<br>
                  <a href="mailto:Spce-user@lists.sipwise.com"
                    target="_blank" moz-do-not-send="true">Spce-user@lists.sipwise.com</a><br>
                  <a href="https://lists.sipwise.com/listinfo/spce-user"
                    rel="noreferrer" target="_blank"
                    moz-do-not-send="true">https://lists.sipwise.com/listinfo/spce-user</a><br>
                </blockquote>
              </div>
            </blockquote>
            <br>
          </div>
        </blockquote>
      </div>
    </blockquote>
    <br>
  </body>
</html>