On Mon, Sep 05, 2011 at 12:15:16PM +0530, virendra bhati wrote:
> Hi Sammy,
> 
> Ans of 1st question:-
> 
> As per my experiance Asterisk realtime(DB) based data will lost when your
> server is creash and you may not take backup of your server's DB.
> If any one know  then plese guide me so that I will start working on it.

You can probably get better consistency from a properly-built database.
I suggest you try some stress-testing of concurrent edits through the
manager interface. I don't think that the manager interface attempts to
provide any sort of "transaction". That is: you read the configuration,
modify it, and write it. What happens if someone else modified it in the
mean time?

> 
> Ans of 2nd question:-
> 
> Your question is correct if more then one user will access these
> configuration files then might be some problem will come.
> 
> For this issue I am just make a connection with server then close it after
> finishing the job. So problem will be avoided ....

In a multi-tennant scenario, giving users direct access to the
configuration files normally means giving them shell access (as the
Asterisk user) to the system, and hence the ability to change the
configuration. This is obviously the issue with the dialplan (System and
such). But there are plenty of other places. You meantioned
musiconhold.conf: try mode=custom and set 'application' to whatever
command you want. Put the phone on hold to run that command.

Which is to say: you need some logic to decide what can go in the
configuration Asterisk will use.

-- 
               Tzafrir Cohen
icq#16849755              jabber:[email protected]
+972-50-7952406           mailto:[email protected]
http://www.xorcom.com  iax:[email protected]/tzafrir

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to