Isn&#39;t this a limitation that can be surpassed with some configuration that I&#39;m lacking in my sip.conf or extensions.conf of my asterisk?<div><br></div><div>Ricardo.</div><div><br></div><div><br></div><div><br></div>
<div><br><br><div class="gmail_quote">On Wed, Feb 16, 2011 at 4:54 PM, Faisal Hanif <span dir="ltr">&lt;<a href="mailto:faisal@vopium.com">faisal@vopium.com</a>&gt;</span> wrote:<br><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="font-size:10.0pt;color:#1F497D">Well a quick n easy fix for you is you can configure you call sending peers to use username &amp; secret in INVITE. As far as I know it possible in almost all CISCO, Avaya and all other standard Gateway and SBCs which follows full SIP RFCs.</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1F497D"> </span></p><p class="MsoNormal"><span style="font-size:10.0pt;color:#1F497D">If you can’t do it then you need to use curl as realtime engine instead of MySQL. It will call a URL for each SIP request which you can handle with flexibility in your CGI scripts with apache. But be careful as per my experience asterisk 1.6 with curl as realtime engine can handle a max of 120 registration in parallel if registration refresh time is 120 seconds.</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1F497D"> </span></p><p class="MsoNormal"><span style="font-size:10.0pt;color:#1F497D">Faisal Hanif</span></p><p class="MsoNormal"><span style="font-size:10.0pt;color:#1F497D"> </span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt">From:</span></b><span style="font-size:10.0pt"> <a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a> [mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>] <b>On Behalf Of </b>Ricardo Carvalho<br>
<b>Sent:</b> Wednesday, February 16, 2011 9:41 PM<br><b>To:</b> Asterisk Users Mailing List - Non-Commercial Discussion<br><b>Subject:</b> [asterisk-users] trunk not working if I register a phone at the same IP as the trunk peer&#39;s IP</span></p>
<div><div></div><div class="h5"><p class="MsoNormal"> </p><p class="MsoNormal">How should I configure my asterisk server so that I can receive calls from an unregistered peer from whom I also receive registrations of sip phones?</p>
<div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">I&#39;m asking you this, because with my actual configuration, when I register a contact from that peer&#39;s IP, no more inbound calls are accepted from that peer, as my asterisk rejects those INVITEs with &quot;407 Proxy Authentication Required&quot;, I assume because they don&#39;t carry the registered contact registration!!!</p>
</div><div><p class="MsoNormal">My SIP contacts have type=friend and all inbound calls not coming from my registered phones fall in the default context without authentication, so that someone in the Internet be able to call freely through the Internet anyone in my server&#39;s dial plan.</p>
</div><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">Some ideas?</p></div><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">Regards,</p></div><div><p class="MsoNormal">Ricardo Carvalho.</p></div>
</div></div></div></div><br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
               <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br></div>