10934 questions

13039 answers

20335 comments

27479 members

0 votes
96 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.