Thanks Alex,
In my case it is ser.cfg, not kamilio.cfg.
I have made a single correction: I have changed this:
# ------------------ module loading ----------------------------------
#!ifdef LOCAL_TEST_RUN loadpath "modules:modules_s" #!else loadpath "/usr/lib/ser/modules:/usr/lib/ser/modules_s" #!endif
To this:
# ------------------ module loading ----------------------------------
#!ifdef LOCAL_TEST_RUN loadpath "modules:modules_s" #!else loadpath "/tmp/my/very/strange/path/lib/ser/modules:/tmp/my/very/strange/path/lib/ser/modules_s" #!endif
And the situation has improved. I have gone from:
» /tmp/my/very/strange/path/sbin/ser loading modules under /usr/lib/ser/modules:/usr/lib/ser/modules_s ERROR: bad config file (34 errors)
To:
» /tmp/my/very/strange/path/sbin/ser loading modules under /tmp/my/very/strange/path/lib/ser/modules:/tmp/my/very/strange/path/lib/ser/modules_s ERROR: bad config file (2 errors)
But still two errors, which I can not find. How can I tell the ser binary to help me with pinpointing the errors? I have tried to start with -ddd, but it has not helped.
By the way, the other configuration files are:
etc/ `-- ser |-- dictionary.sip-router |-- ser-advanced.cfg |-- ser-basic.cfg `-- ser.cfg
And they seem to be fine. There was a correct reference to the right installation path in ser-basic.cfg:
# ------------------ module loading ----------------------------------
#!ifdef LOCAL_TEST_RUN loadpath "modules:modules_s" #!else loadpath "/tmp/my/very/strange/path/lib/ser/modules:/tmp/my/very/strange/path/lib/ser/modules_s" #!endif
On Sat, Apr 7, 2012 at 9:54 PM, Alex Balashov abalashov@evaristesys.com wrote:
The prefix only specifies the destination for the build targets. As far as things like module paths, they are not affected. You will have to change them manually in kamailio.cfg. However, the good news is that there aren't a whole lot of paths to change; you really only need to change it in kamailio,cfg, and in any init scripts.
-- Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur, GA 30030 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.com/, http://www.alexbalashov.com
Daniel Gonzalez gonvaled@gonvaled.com wrote:
Hello,
This is my first message to this list.
I have installed sip-router as follows (my system is Ubuntu 10.04):
cd /tmp git clone --depth 1 git://git.sip-router.org/sip-router sip-router cd sip-router git checkout -b 3.1 origin/3.1 local prefix=/tmp/my/very/strange/path mkdir -p $prefix sudo apt-get install -y flex sudo apt-get install -y docbook2x make proper make cfg prefix=$prefix make all prefix=$prefix make install prefix=$prefix
And this has worked as expected.
Now I try to start the daemon:
$ /tmp/my/very/strange/path/sbin/ser loading modules under /usr/lib/ser/modules:/usr/lib/ser/modules_s
What can I do so that my non-standard path is fully recognized by all sip router tools?
Thanks, Daniel Gonzalez
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users