[asterisk-users] Site to site VPN problems

John Kiniston johnkiniston at gmail.com
Thu Dec 12 13:49:54 CST 2019


Ira,

What version of Asterisk are you using, and what channel driver?

There has to be a better way than to create hundreds of peer entries.

On Thu, Dec 12, 2019 at 12:26 PM Ira <ira at extrasensory.com> wrote:

> Hello Jan,
>
> Tuesday, December 3, 2019, 8:49:28 PM, you wrote:
>
> Jan> The next thing to look at is firewall rules.
>
>
> 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.
>
> MyDomain.pstn.twilio.com
>
> 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.
>
> 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.
>
> And if you know of a way to make one peer accept a range of IPs, Id love
> to know that.
>
> -- Ira
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> Check out the new Asterisk community forum at:
> https://community.asterisk.org/
>
> New to Asterisk? Start here:
>       https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users



-- 
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.
---Heinlein
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20191212/3576202f/attachment.html>


More information about the asterisk-users mailing list