[asterisk-users] Network range in trunk definition

Leandro Dardini ldardini at gmail.com
Tue Sep 8 14:21:43 CDT 2015


I have some problem finding a smart way to add inbound trunks ip
authentication. I don't want to set allowguests=yes

Some of my providers just list some IP and I add them like:

[provider](!)
context=fromoutside
type=friend
insecure=port,invite
disallow=all
allow=g729
allow=ulaw
allow=alaw
canreinvite=no

[magrathea1](provider)
host=87.238.72.129
[magrathea2](provider)
host=87.238.72.130
[magrathea3](provider)
host=87.238.72.131
[magrathea4](provider)
host=87.238.72.132

But some providers are not giving single IP, but networks, like
37.157.52.128/25 and other also /24

How can I deal with them?

Leandro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20150908/50f74a64/attachment.html>


More information about the asterisk-users mailing list