Jump to content

Mass changes to extension settings


impiantitel

Recommended Posts

Well you can do only things that you can set from the web interface. The options for "cw" are "false", "internal", "external".

To set other settings, the easiest is to take a look at the PBX web page and then open the web browser inspector - there you will see the name of the parameters that are sent to the PBX. I know this is not very convenient but as stated before, it is very powerful.

Link to comment
Share on other sites

Check the attached image, this is for Google Chrome. You get there with right-click and then select "Inspect". You can see that the name id "mb_enable", and you can also see the possible options because this is a HTML select element with a list of choices.

image.png

Link to comment
Share on other sites

Modification on the above example:

type,alias,cw,codecs
extensions,123,false,0 8 9

Numbers 0, 8 and 9 are for codecs G711U, G711A, G722 respectively. 

And this is how we found out the answer to your question so that you can find it  by yourself faster next time. All this comes from "inspect element" on google chrome as mentioned earlier.

1.png

Link to comment
Share on other sites

Thank you,
Honestly, I found all the voices I needed except for the one about codecs.
it's a rather cumbersome system :)Hi thanks to you I was able to get the csv with the settings that I needed,
The only thing I can't find is how to associate only the G711A/G711U codecs to all the csv extensions,
How can I do that?

Link to comment
Share on other sites

It's not cumbersome at all, once you get to know your way around it like we explained above (which was the first time for us as well).

You will have to use the same setting given above for all the extensions. So just create a huge csv file with these settings which includes all of your extensions. Giving you an eg. again for only those 2 codecs.

type,alias,codecs
extensions,123,0 8

extensions,234,0 8

extensions,456,0 8

.

.

.

extensions,xxx,0 8

You can keep finding the new variables that you want to change (as explained before via image)and keep adding or modifying this for all extensions that you want all in one go.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...