Authorizing SIP (ATA Box at residence) Linux Ubuntu 14

Hello everyone, I used to be able to do this fairly easily with the following commands…

update cc_sip_buddies set permit=“XXX.0.0.0/;XX.0.0.0/”;

Then quit and reload Asterisk:
asterisk -r

However – none-- of this is now working.

Hoping someone can tell me the exact commands to
update my SIP
then reload asterisks
then exit

I read somewhere core reload
There just seems to be new commands with my new server to do the same job.

Thank You for any help you can provide.

Quit serves no useful purpose here.

You could use sip reload.