<div dir="ltr">Yes this works BUT... I have a problem.  Nothing works unless the domain is an internal address (ie. 10.214.2.80).  I cannot get sipwise to work when I use my external address.  So in this senario I have to use my internal IP address  in the fromdomain= portion.  How can I get sipwise to use my external WAN address instead of needing to use my internal LAN address for the domain?  Still having a heck of a time learning this thing... but I thank you all for your help!<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 29, 2017 at 11:30 PM, Koot Pienaar <span dir="ltr"><<a href="mailto:koot@ntelecom.co.za" target="_blank">koot@ntelecom.co.za</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div link="blue" vlink="purple" lang="AF"><div class="m_2124833717102173210WordSection1"><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Add the following line to your asterisk config<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Fromdomain= IP.of.your.spce<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Then it should work.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="m_2124833717102173210MsoNormalCxSpMiddle"><span style="font-size:11.0pt;font-family:"Arial Narrow","sans-serif";color:#404040" lang="EN-US">Koot Pienaar<u></u><u></u></span></p><p class="m_2124833717102173210MsoNormalCxSpMiddle"><span style="font-size:11.0pt;font-family:"Arial Narrow","sans-serif";color:#404040" lang="EN-US">VoIP Coordinator<u></u><u></u></span></p><p class="m_2124833717102173210MsoNormalCxSpMiddle"><span style="font-size:11.0pt;font-family:"Arial Narrow","sans-serif";color:#404040" lang="EN-US">Ntelecom Central<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US"> Spce-user [mailto:<a href="mailto:spce-user-bounces@lists.sipwise.com" target="_blank">spce-user-bounces@<wbr>lists.sipwise.com</a>] <b>On Behalf Of </b>Matt Schwinn<br><b>Sent:</b> 30 June 2017 04:20 AM<br><b>To:</b> <a href="mailto:spce-user@lists.sipwise.com" target="_blank">spce-user@lists.sipwise.com</a><br><b>Subject:</b> [Spce-user] Outbound Calls Rejected<u></u><u></u></span></p><div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">My attempt is to connect a subscriber which is an Asterisk box that sits in another location.  I'm successfully able to make inbound calls, but my outbound calls are rejected.  What am I doing wrong.  I've included my log and Asterisk config.  I'm having a heck of a time learning!<br><br>Log:<br>Jun 30 04:12:22 spce proxy[3603]: NOTICE: <script>: New request on proxy - M=INVITE R=<a href="http://sip:1209620xxx@10.214.2.80:5060" target="_blank">sip:1209620xxx@10.214.2.80:<wbr>5060</a> F=sip:209627xxx@x.x.x.x:50610 T=<a href="http://sip:1209620xxx@10.214.2.80:5060" target="_blank">sip:1209620xxx@10.214.2.80:<wbr>5060</a> IP=x.x.x.x:50610 (<a href="http://127.0.0.1:5060" target="_blank">127.0.0.1:5060</a>) <a href="mailto:ID=4fefc6ff7120caf23ed367252adeebf1@x.x.x.x:50610" target="_blank">ID=<wbr>4fefc6ff7120caf23ed367252adeeb<wbr>f1@x.x.x.x:50610</a> UA='FPBX-13.0.190.7(13.11.2)'<br>Jun 30 04:12:22 spce proxy[3603]: NOTICE: <script>: Authentication failed, no credentials - R=<a href="http://sip:1209620xxx@10.214.2.80:5060" target="_blank">sip:1209620xxx@10.214.2.80:<wbr>5060</a> <a href="mailto:ID=4fefc6ff7120caf23ed367252adeebf1@x.x.x.x:50610" target="_blank">ID=<wbr>4fefc6ff7120caf23ed367252adeeb<wbr>f1@x.x.x.x:50610</a> UA='FPBX-13.0.190.7(13.11.2)'<br><br><br><br>Asterisk Configuration:<br>username=companyb_fpbx-test<br>nat=yes<br>type=friend<br>secret=secretpassword<br>qualify=yes<br>Insecure=invite,port<br>host=x.x.x.x<br>dtmfmode=rfc2833<br>disallow=all<br>context=from-trunk<br>allow=ulaw<br clear="all"><u></u><u></u></p><div><p class="MsoNormal"><br>-- <u></u><u></u></p><div><div><div><div><div><div><div><div><div><div><div><p class="MsoNormal">Enjoy the day!<br>Matt Schwinn<br>TCG Technologies LLC <u></u><u></u></p></div><div><p class="MsoNormal">      and<u></u><u></u></p></div><div><p class="MsoNormal">Company B<u></u><u></u></p></div><div><p class="MsoNormal">209-202-3329<u></u><u></u></p></div><div><p class="MsoNormal"><a href="http://www.TCGTechLLC.com" target="_blank">www.TCGTechLLC.com</a><u></u><u></u></p></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Enjoy the day!<br>Matt Schwinn<br>TCG Technologies LLC <br></div><div>      and<br></div><div>Company B<br></div><div>209-202-3329<br></div><div><a href="http://www.TCGTechLLC.com" target="_blank">www.TCGTechLLC.com</a><br></div></div></div></div></div></div></div></div></div></div></div>
</div>