Avneet Singh Posted August 14, 2018 Report Share Posted August 14, 2018 (edited) Hello everyone, How to register ip phones from only specific ip or register device using mac address Thanks Edited August 14, 2018 by Avneet Singh (see edit history) Link to comment Share on other sites More sharing options...
safarov Posted August 14, 2018 Report Share Posted August 14, 2018 Thin is easiest way - update kamailio config to add ACL check on REGISTER logic. I checked PCAP files. Yalink phones and other not send MAC during registration. But you can check MAC at provisioning state. Link to comment Share on other sites More sharing options...
2600Hz Employees mc_ Posted August 14, 2018 2600Hz Employees Report Share Posted August 14, 2018 You can setup a device to auth by IP address by setting the device's "sip.ip" and "sip.method" = "ip". Link to comment Share on other sites More sharing options...
Avneet Singh Posted August 16, 2018 Author Report Share Posted August 16, 2018 (edited) On 8/14/2018 at 10:39 PM, mc_ said: You can setup a device to auth by IP address by setting the device's "sip.ip" and "sip.method" = "ip". what credentials to pass,I am using cisco SPA504G Ip phone Edited August 16, 2018 by Avneet Singh (see edit history) Link to comment Share on other sites More sharing options...
safarov Posted August 16, 2018 Report Share Posted August 16, 2018 On client equipment may be used any password. This will not requested when used IP auth. Link to comment Share on other sites More sharing options...
Avneet Singh Posted August 16, 2018 Author Report Share Posted August 16, 2018 On 8/14/2018 at 10:37 PM, safarov said: Thin is easiest way - update kamailio config to add ACL check on REGISTER logic. I checked PCAP files. Yalink phones and other not send MAC during registration. But you can check MAC at provisioning state. which config file to be changed ,and what changes are to be made in the file please explain Link to comment Share on other sites More sharing options...
Avneet Singh Posted August 16, 2018 Author Report Share Posted August 16, 2018 2 hours ago, safarov said: On client equipment may be used any password. This will not requested when used IP auth. not working in my case , In Ui adding credentials like this Realm - sip.user.com Authentication Method - Ip IP Address - 192.168.1.131 Invite Format - E. 164 Link to comment Share on other sites More sharing options...
Recommended Posts