Telium Technical Support
2019-May-04 19:43 UTC
[asterisk-users] using CIDR for hosts entry in sip.conf
I am setting up a system with a large number of trusted trunks (by IP). I find that I have to make one entry sip.conf for each trunk becauses the host= line requires a single IP. Does asterisk support a CIDR or wildcard or multi-ip format for the hostline in sip.conf? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20190504/19a49a4c/attachment.html>
Joshua C. Colp
2019-May-04 22:35 UTC
[asterisk-users] using CIDR for hosts entry in sip.conf
On Sat, May 4, 2019, at 4:44 PM, Telium Technical Support wrote:> I am setting up a system with a large number of trusted trunks (by IP). > I find that I have to make one entry sip.conf for each trunk becauses > the host= line requires a single IP. > > > Does asterisk support a CIDR or wildcard or multi-ip format for the > host= line in sip.conf?The chan_sip module does not support this. The chan_pjsip module supports this in the identify section. -- Joshua C. Colp Digium - A Sangoma Company | Senior Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: www.digium.com & www.asterisk.org