On Donnerstag, 16. Juli 2009, Uriel Rozenbaum wrote:
I downloaded 1.5.2-notls and installed it.
Hello Uriel,
The issue was fixed but I get the following: Jul 16 16:56:52 sbci1pri /opt/kamailio/sbin/kamailio[3921]: INFO:core:init_mod: initializing module exec Jul 16 16:56:52 sbci1pri /opt/kamailio/sbin/kamailio[3921]: ERROR:carrierroute:domain_fixup: could not find domain name '0' in map
you need to specify the domain name, not the id. The id is used internally, the name is what is visible external.
[..] In domain_name table i have this configured: id domain 0 domain0 1 domain1
Just try "domain0" as parameter.
Cheers,
Henning
Henning,
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)?
On Fri, Jul 17, 2009 at 4:59 AM, Henning Westerholt < henning.westerholt@1und1.de> wrote:
On Donnerstag, 16. Juli 2009, Uriel Rozenbaum wrote:
I downloaded 1.5.2-notls and installed it.
Hello Uriel,
The issue was fixed but I get the following: Jul 16 16:56:52 sbci1pri /opt/kamailio/sbin/kamailio[3921]: INFO:core:init_mod: initializing module exec Jul 16 16:56:52 sbci1pri /opt/kamailio/sbin/kamailio[3921]: ERROR:carrierroute:domain_fixup: could not find domain name '0' in map
you need to specify the domain name, not the id. The id is used internally, the name is what is visible external.
[..] In domain_name table i have this configured: id domain 0 domain0 1 domain1
Just try "domain0" as parameter.
Cheers,
Henning
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
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