Page 1 of 1

adding extensions and trunks on admin interface

PostPosted: Tue Dec 19, 2006 11:31 am
by Op3r
Guys,

I've been thinking how can I integrate the editing of extensions.conf and sip or iax.conf . i am thinking like doing what freepbx is doing.

here is the basic idea.

I want to add a voip provider. now I have to add it to sip or iax and extensions.conf right? but I want to do it on the admin page. so big deal right? now I just click on the phone tab and just put there the voip provider trunk. it will automatically add it to the extensions.conf and iax or sip.conf.

now supposedly I want to add a sip extension. I go to the phone tab and click add a sip extension. easy doesnt it?

let me have your input if you think this is worth a try.

Edwin

PostPosted: Tue Dec 19, 2006 11:56 am
by ramindia
Hi


thats i was projecting in my last mail

ram

PostPosted: Tue Dec 19, 2006 12:59 pm
by Op3r
youre talking about postgresql :D

but whats your opinion about this?

PostPosted: Tue Dec 19, 2006 11:05 pm
by mflorell
I have thought about doing this for some time, the thing is that the admin.php interface can administrate multiple servers, so any solution must work for all servers on a system.

Also, you must not disturb the customizations that have been made in the conf files.

What I was thinking about doing is having a script run on each VICIDIAL server and check for admin changes every minute, if there were changes in the database, then the appropriate conf files would be altered in a special section of each conf file and then a reload would be sent to the asterisk process.

This should work well in theory, but I just haven't had time to even begin thinking about programming it.

PostPosted: Tue Dec 19, 2006 11:53 pm
by ramindia
Hi

thats good idea

modification to be done at MySQL, using frontend
and reload changes realtime.

may be this also help people to create a seperate user to add this kind
activity, only add sip, trunks and sip users, modify extensions, and meetme and conference rooms config. by identify the login,
how will this idea works ?

iam also thinking in Admin page, create a seperate user, who
need to monitor only reports, rathere modify any content.

is this possible ?

ram

PostPosted: Wed Dec 20, 2006 7:28 am
by mflorell
All good ideas, can you post each one separately to the tracker?

PostPosted: Mon Dec 25, 2006 6:55 am
by ramindia
Hi

iam not used that tracker, how can i use that ?

ram

PostPosted: Tue Dec 26, 2006 7:55 am
by mflorell
create an account for yourself, create a new issue, select a type of "Feature" and create a new issue for each item you want to add.

PostPosted: Tue Dec 26, 2006 12:06 pm
by gerski
ramindia wrote:Hi

iam also thinking in Admin page, create a seperate user, who
need to monitor only reports, rathere modify any content.

is this possible ?

ram


Yes, Just create a user with level 7, i think. They cannot access the admin page but they can access the reports page.