Nmcli & scripts

I'm able to successfully change my network connection using the Terminal and executing each script, but for some reason I am still not able to execute via DTMF. How do I edit the sudoers file (where in the file, and what is the correct syntax)?

After typing visudo, I placed this:

User privilege specification

root ALL=(ALL:ALL) ALL
asterisk ALL=(ALL:ALL) NOPASSWD: ALL

I'm still extremely green with Linux-based stuff...