<p dir="ltr">Hi William</p>
<p dir="ltr">Just to check. Asterisk will make calls via spce? </p>
<p dir="ltr">I don't understand the thread of that you posted. We do exactly the same without trusted ips and still use normal register and authentication. </p>
<p dir="ltr">Most of our asterisk subscribers are dynamic ips. Having clients register to Recieve and use authentication for outbound calls solves this problem. It is the recommended way. </p>
<p dir="ltr">Ip authentication is recommended for peer  authentication.</p>
<p dir="ltr">Maybe explain why you are trying to do it. And one of the guys who are more knowledgeable than I am will reply with the most suitable solution. </p>
<p dir="ltr">Regards Matthew</p>
<div class="gmail_quote">On 14 Feb 2015 9:45 AM, "William Fulton" <<a href="mailto:wfulton@thirdhatch.com">wfulton@thirdhatch.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="color:#1f497d">Without the trusted peer configuration I get this error in the kamailio-proxy log:<u></u><u></u></span></p><p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="color:#1f497d">Feb 13 23:42:11 relay1 proxy[4316]: NOTICE: <script>: New request on proxy - M=INVITE R=sip:<a href="tel:12064532921" value="+12064532921" target="_blank">12064532921</a>@<a href="http://relay1.thirdhatch.com" target="_blank">relay1.thirdhatch.com</a> F=sip:<a href="tel:12065679177" value="+12065679177" target="_blank">12065679177</a>@<a href="http://24.18.227.106" target="_blank">24.18.227.106</a> T=<a href="mailto:sip%3A12064532921@relay1.thirdhatch.com" target="_blank">sip:12064532921@relay1.thirdhatch.com</a> IP=<a href="http://24.18.227.106:5060" target="_blank">24.18.227.106:5060</a> (<a href="http://127.0.0.1:5060" target="_blank">127.0.0.1:5060</a>) ID=<a href="http://369a603d122f03b52e62e90a69019ffa@24.18.227.106:5060" target="_blank">369a603d122f03b52e62e90a69019ffa@24.18.227.106:5060</a><u></u><u></u></span></p><p class="MsoNormal"><span style="color:#1f497d">Feb 13 23:42:11 relay1 proxy[4316]: NOTICE: <script>: Authentication failed, invalid user - R=sip:<a href="tel:12064532921" value="+12064532921" target="_blank">12064532921</a>@<a href="http://relay1.thirdhatch.com" target="_blank">relay1.thirdhatch.com</a> ID=<a href="http://369a603d122f03b52e62e90a69019ffa@24.18.227.106:5060" target="_blank">369a603d122f03b52e62e90a69019ffa@24.18.227.106:5060</a><u></u><u></u></span></p><p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="color:#1f497d">It looks like authentication is failing, but I definitely have the credentials in the trunk config.  Is there a different format or different setting SPCE needs to accept authentication from asterisk?<u></u><u></u></span></p><p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="color:#1f497d">Thanks,<u></u><u></u></span></p><p class="MsoNormal"><span style="color:#1f497d">William<u></u><u></u></span></p><p class="MsoNormal"><a name="14b870c4e9350ac8__MailEndCompose"><span style="color:#1f497d"><u></u> <u></u></span></a></p><div><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Spce-user [mailto:<a href="mailto:spce-user-bounces@lists.sipwise.com" target="_blank">spce-user-bounces@lists.sipwise.com</a>] <b>On Behalf Of </b>William Fulton<br><b>Sent:</b> Friday, February 13, 2015 11:23 PM<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] Trunk for Asterisk on dynamic IP<u></u><u></u></span></p></div></div><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I’ve dug through the list to find a few posts on using Sipwise with asterisk PBXs as clients.  This was the most useful.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><a href="https://lists.sipwise.com/pipermail/spce-user/2014-October/007319.html" target="_blank">https://lists.sipwise.com/pipermail/spce-user/2014-October/007319.html</a><u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I was wondering if it was possible to make this work in a case where the asterisk PBX was not on a static public ip address.  Not all broadband offers this as an option and I was hoping there was an alternate configuration that would allow whichever IP Address registers to be a trusted IP, or at least be able to make calls from the PBX through the sipwise spce.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Any thoughts?<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Thank you,<u></u><u></u></p><p class="MsoNormal">William<u></u><u></u></p></div></div><br>_______________________________________________<br>
Spce-user mailing list<br>
<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br>
<a href="https://lists.sipwise.com/listinfo/spce-user" target="_blank">https://lists.sipwise.com/listinfo/spce-user</a><br>
<br></blockquote></div>