I'm always using AVP containing a number and numbers on the DB. So number it will be.
Thanks!
On Freitag, 17. Juli 2009, Uriel Rozenbaum wrote:Hi Uriel,
> 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)?
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