[asterisk-users] using CIDR for hosts entry in sip.conf

Joshua C. Colp jcolp at digium.com
Sat May 4 17:35:04 CDT 2019


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



More information about the asterisk-users mailing list