I'm always using AVP containing a number and numbers on the DB. So number it will be.

Thanks!

On Fri, Jul 17, 2009 at 9:52 AM, Henning Westerholt <henning.westerholt@1und1.de> wrote:
On Freitag, 17. Juli 2009, Uriel Rozenbaum wrote:
> I tried the name and got it running, but as per my cfg's logic I changed
> the table to have id and name 0.
>
> Just a question, the name is to be used on the cfg or in the DB
> (carrierroute/carrierfailureroute)?


Hi Uriel,


if you use a static string in the configuration file, then you need to use the name. If you use a PV or an AVP which is evaluated during runtime then you could use the string name, or a integer value for the id (which is a bit faster).


Cheers,


Henning