Hi You can achieve this with either permit/deny or contactpermit/contactdeny
Single IP should be defined like : deny=0.0.0.0/0.0.0.0 permit=192.168.2.1/255.255.255.255 And networks in similar way with appropriate subnet mask deny=0.0.0.0/0.0.0.0 permit=192.168.2.0/255.255.255.0 You can also specify multiple subnets with ';' like: permit=192.168.2.0/255.255.255.0;192.168.1.0/255.255.255.0 Regards, Zohair Raza On Mon, Nov 19, 2012 at 4:12 PM, bilal ghayyad <bilmar...@yahoo.com> wrote: > Hi; > > How I can make my configuration to allow the sip phones only from specific > IP addresses range (for example from 192.168.10.1 - 192.168.10.50) to be > allowed to connect for asterisk? > > In other words, in addition to be authenticated based on the username and > password, it is required that the IP address of the Phone to be from this > range. How? > > Regards > Bilal > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users