<div dir="ltr">You only need to add the Signaling IPs as peers. The Media IPs only need to be whitelisted in your firewall.<div><br></div><div>Furthermore, you can actually trim the list down to only one region by following their instructions here <a href="https://www.twilio.com/docs/sip-trunking#OriginationURI-region">https://www.twilio.com/docs/sip-trunking#OriginationURI-region</a></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 12 Dec 2019 at 13:26, 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"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr">Regards,<div>John Runyon</div><div>Simply NUC</div><div>512-766-0401 x1110</div><div>495 Round Rock West Dr, Round Rock, TX 78681</div></div></div></div></div>