FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

11956 questions

14231 answers

22442 comments

35495 members

0 votes
123 views 0 comments
by
is there a way to edit phone numebers via a script or txt file upload as i have to do it frequently

1 Answer

0 votes
by

Hi,

You should be able to edit a lot of configurations in CLI by using UCI commands.

Use uci show or uci show | grep 00370.... with the phone number to find the uci setting that you want to change and use:

uci set command to edit the line.

After that just do uci commit and luci-reload to save the changes you've done.

You can implement these commands in the script too.

https://openwrt.org/docs/guide-user/base-system/uci#command-line_utility

EB.