<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Hi Emmanuel,<div><br></div><div>I’ll leave the Sipwise guys to answer this as I wouldn’t know how. <br><br><div id="AppleMailSignature" dir="ltr">Yours sincerely,<div>Walter</div></div><div dir="ltr"><br>On 12 Nov 2018, at 5:35 PM, EMMANUEL AFANG <<a href="mailto:afang.emmanuel@gmail.com">afang.emmanuel@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div dir="ltr"><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="gmail_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<u></u><u></u></p><p class="MsoNormal" style="font-family:Arial,Helvetica,sans-serif;font-size:small"><u></u> <u></u></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">a</a><a href="mailto:fang.emmanuel@gmail.com" target="_blank">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">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">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_-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">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">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">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">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_-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<u></u><u></u></p><p class="MsoNormal" style="font-family:Arial,Helvetica,sans-serif;font-size:small"><u></u> <u></u></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">a</a><a href="mailto:fang.emmanuel@gmail.com" target="_blank">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">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">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">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">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">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_-2416281065770717801m_7541390431507244687gmail-Apple-interchange-newline"></div><div><br></div><div><div dir="ltr" class="m_-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<u></u><u></u></p><p class="MsoNormal" style="font-family:Arial,Helvetica,sans-serif;font-size:small"><u></u> <u></u></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">a</a><a href="mailto:fang.emmanuel@gmail.com" target="_blank">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">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">Spce-user@lists.sipwise.com</a></span><br><span><a href="https://lists.sipwise.com/listinfo/spce-user" target="_blank">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">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>
</div></blockquote></div></body></html>
<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">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>