OpenSER modules can be included while compiling by using the
"include_modules"
statement. Thus, the perl module (not "mod_perl", as Daniel already
pointed
out) can be compiled along with OpenSER by using
make include_modules="perl"
You will need your distribution's perl development packages installed
while
compiling.
Yes, I have it compiled with no problems, but when i try to load a perl
script, i get this:
0(0) perl: Setting lib path: '/usr/local/lib/openser/perl/'
0(0) perl error: Can't locate OpenSER/Utils/PhoneNumber.pm in @INC (@INC
contains: /usr/local/lib/openser/perl/ /etc/perl /usr/local/lib/perl/5.8.8
/usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5
/usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at
/usr/local/etc/openser/openser.pl line 4.
0(0) perl error: Can't locate OpenSER/Utils/PhoneNumber.pm in @INC (@INC
contains: /usr/local/lib/openser/perl/ /etc/perl /usr/local/lib/perl/5.8.8
/usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5
/usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at
/usr/local/etc/openser/openser.pl line 4.
BEGIN failed--compilation aborted at /usr/local/etc/openser/openser.pl line
4.
Can't locate OpenSER/Utils/PhoneNumber.pm in @INC (@INC contains:
/usr/local/lib/openser/perl/ /etc/perl /usr/local/lib/perl/5.8.8
/usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5
/usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at
/usr/local/etc/openser/openser.pl line 4.
BEGIN failed--compilation aborted at /usr/local/etc/openser/openser.pl line
4.
Although modules are there in:
me@server:/usr/local/lib/openser/perl# ls -l /usr/local/lib/openser/perl/
total 4
drwxrwx--- 4 root root 168 2007-12-03 14:00 OpenSER
-rwxrwx--- 1 root root 1354 2007-12-03 14:00 OpenSER.pm
me@server:/usr/local/lib/openser/perl# ls -l
/usr/local/lib/openser/perl/OpenSER
total 12
-rw-r--r-- 1 root root 4844 2007-12-03 14:00 Constants.pm
drwxr-xr-x 2 root root 120 2007-12-03 14:00 LDAPUtils
-rw-r--r-- 1 root root 1602 2007-12-03 14:00 Message.pm
drwxr-xr-x 2 root root 80 2007-12-03 14:00 Utils
me@server:/usr/local/lib/openser/perl# ls -l
/usr/local/lib/openser/perl/OpenSER/Utils/
total 8
-rw-r--r-- 1 root root 6096 2007-12-03 14:00 PhoneNumbers.pm
Feel free to ask if you have any concrete questions.
- Is there a tutorial for using MySQL as a
backend? How about a
cluster?
MySQL backend for what?
I have it working as a MySQL backend for users. What i need is the logging
of cdrs... i understand that there are several records for each call. But,
how do i configure this? is it possible with MySQL? thanks a lot.
Bastian
thanks much for your help!
David
--
DVG
--
Imagination is more important than knowledge
Albert Einstein