add extension to ringgroup programmatically

pun0r
Posts: 3
Member Since:
2010-10-28

Hi folks,

i was wondering if there is a way to add an existing extension to a ringgroup?
i already tried with updating the string in the mysql database:
mysql> update ringgroups set grplist='**ring groups go here**'where grpnum=**grpnum goes here**;
with a following reload of asterisk.
this didnt work, the device logged in to the extension doesnt ring at all, so i think theres another place where i have to make some changes to take effect?

any help is very welcome
thank you for your replies

regards
Johannes from Germany



SkykingOH
Posts: 9675
Member Since:
2007-12-17
You have to run the

You have to run the reload_amp script to write the changes from the database to the Asterisk dial plan.

--

Scott

aka "Skyking"



pun0r
Posts: 3
Member Since:
2010-10-28
Hi SkykingOH thanks for your

Hi SkykingOH

thanks for your reply.
Where can i find the reload_amp script?
i cant find a script with that name on my trixbox server, is this the exact name?

thanks
regards



SkykingOH
Posts: 9675
Member Since:
2007-12-17
It's retrieve_conf sorry I

It's retrieve_conf sorry I quoted the name off the top of my head.

If you are going to do all of this I suggest you read the FreePBX developer docs so you know all of the API's and function libraries.

--

Scott

aka "Skyking"



pun0r
Posts: 3
Member Since:
2010-10-28
Quote: It's retrieve_conf
Quote:
It's retrieve_conf sorry I quoted the name off the top of my head.

yes that worked

Quote:
If you are going to do all of this I suggest you read the FreePBX developer docs so you know all of the API's and function libraries.

yes will do that. thank you very much

regards



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.