[OpenSIPS-Users] Fwd: Storing modules parameters on AVP, as much as I can

DanB danb at sms4sip.com
Thu Jul 23 09:25:23 CEST 2009


Sorry, I forgot to put yesterday users list  on cc.
For the sake of transparency, doing it now ;-).

DanB

---------- Forwarded message ----------
From: DanB <danb at sms4sip.com>
Date: Wed, Jul 22, 2009 at 10:34 AM
Subject: Re: [OpenSIPS-Users] Storing modules parameters on AVP, as much as
I can
To: Ricardo Martins <rpoppi77 at gmail.com>


Hi Ricardo,
With the current architecture, you cannot load the params from the database.
The only "trick" you can do is write your own opensips.cfg script generator
which should read your database and edit opensips.cfg before starting up the
server (outdated example at http://www.sipwise.com/). Any parameter you will
change, it will require you to restart the opensips server. Depending on
your specific needs, should be possible to implement most of the flexibility
you want for your administrators out of avps or other database stored
settings but again, its all based on your specific needs.

DanB


On Tue, Jul 21, 2009 at 10:47 PM, Ricardo Martins <rpoppi77 at gmail.com>wrote:

> Hi all! Do anybody knows if there is a trick to store the modules
> parameters on database/avps? I want to give the opensips administrator
> all the flexibility I can without having to edit cfg text file.
>
> I know that there is some specific parameters where you can do that like
> fr_inv_timer or fr_timer for tm module but I'm talking about storing
> other parameters that don't have an specific avp enable mode like T1 and
> T2, for example.
>
> Do anybody has any clue?
>
> Regards! Ricardo.
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20090723/45a81a15/attachment.htm 


More information about the Users mailing list