I have found that in some cases the serctl function doesn't function in mode 2 but does in mode 1, so I have had to write scripts that modify the database directly. As to the advantages and disadvantages, I don't know. My ser is running quite nicely now that I am not writing a lot of comments to the logs. In production, try to keep ser as quiet as possible.
RickT
-----Original Message----- From: serusers-bounces@iptel.org [mailto:serusers-bounces@lists.iptel.org] On Behalf Of Nick Hoffman Sent: Friday, March 03, 2006 2:24 AM To: seruser Mailing List Subject: [Serusers] Modify SER via serctl or DB?
Hi guys, I'm going to be writing a script to make modifications to SER (Eg: add/modify/delete users/aliases, etc). I'm wondering whether it's "better" to 1) use /usr/sbin/serctl or 2) directly modify the MySQL SER database
What advantages/disadvantages are there for each method? Are there any reasons why it's not advisable to directly modify the MySQL SER database to accomplish tasks such as adding a user?
Thanks for your input! -- Nick e: nick.hoffman@altcall.com p: +61 7 5591 3588 f: +61 7 5591 6588
If you receive this email by mistake, please notify us and do not make any use of the email. We do not waive any privilege, confidentiality or copyright associated with it.
_______________________________________________ Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
On Sat March 4 2006 03:31, "Richard C. Thompson" rthompson@vir2com.com wrote:
Hi Rick. What are "mode 1" and "mode 2"? -- Nick e: nick.hoffman@altcall.com p: +61 7 5591 3588 f: +61 7 5591 6588
If you receive this email by mistake, please notify us and do not make any use of the email. We do not waive any privilege, confidentiality or copyright associated with it.