<div dir="ltr"><div><div>Ira,<br><br></div>What version of Asterisk are you using, and what channel driver?<br><br></div>There has to be a better way than to create hundreds of peer entries. <br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Dec 12, 2019 at 12:26 PM Ira <<a href="mailto:ira@extrasensory.com">ira@extrasensory.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">


<div>
<span style="font-family:"Arial";font-size:12pt">Hello Jan,<br>
<br>
Tuesday, December 3, 2019, 8:49:28 PM, you wrote:<br>
<br>
Jan> The next thing to look at is firewall rules.<br>
<br>
<br>
So it wasn't the firewall. I eventually fixed it by creating 512 entries for Twilio so no matter what IP they sent it from it had a peer to match. They seem to randomly use one of their range of IPs when sending me calls.  I had allowed calls from the suggested.<br>
<br>
<a href="http://MyDomain.pstn.twilio.com" target="_blank">MyDomain.pstn.twilio.com</a><br>
<br>
Which worked for about 1 out of 10 or 20 calls, as soon as I added all 512 possible Twilio IPs it all started working fine. Before this I had only 10 Peers and now I have 520 which is really annoying as now the sip show inuse and sip show peers commands are essentially useless because there is to much data.<br>
<br>
Anyway, thanks so much for trying to help. I found a hint somewhere on the web and then learned how to do templates which at least makes sip.conf reasonable with all those entries.<br>
<br>
And if you know of a way to make one peer accept a range of IPs, Id love to know that.<br>
<br>
-- Ira</span></div>


-- <br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
<br>
Check out the new Asterisk community forum at: <a href="https://community.asterisk.org/" rel="noreferrer" target="_blank">https://community.asterisk.org/</a><br>
<br>
New to Asterisk? Start here:<br>
      <a href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started" rel="noreferrer" target="_blank">https://wiki.asterisk.org/wiki/display/AST/Getting+Started</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" rel="noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a></blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature">A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects.<br>---Heinlein</div>