Hi,
Can you please help me in resolving this issue while setting OpenIMSCore
setup.
Error :
[root@hss OpenIMSCore]# sh icscf.sh
* 0(18935) ERROR: load_module: could not open module
</opt/OpenIMSCore/ser_ims/modules/mysql/mysql.so>:
/opt/OpenIMSCore/ser_ims/modules/mysql/mysql.so: undefined symbol: log
* 0(18935) parse error (30,13-14): failed to load module
ERROR: bad config file (1 errors)
0(18935) INFO:cdp:cdp_exit(): CDiameterPeer stoping ...
icscf.sh: line 5: 18935 Segmentation fault /opt/OpenIMSCore/ser_ims/ser
-f /opt/OpenIMSCore/icscf.cfg -D -D
please help me to resolve this problem.
--
thanks & regards,
Abdul Khadar
Hello,
The script in the source scripts/mysql/my_create.sql uses the the
following definition
CREATE TABLE domain (
did VARCHAR(64) NOT NULL,
domain VARCHAR(128) NOT NULL,
flags INT UNSIGNED NOT NULL DEFAULT '0',
UNIQUE KEY domain_idx (domain),
KEY did_idx (did)
);
The script in the source utils/kamctl/mysql/domain-create.sql uses the
following definition
CREATE TABLE domain (
id INT(10) UNSIGNED AUTO_INCREMENT PRIMARY KEY NOT NULL,
domain VARCHAR(64) DEFAULT '' NOT NULL,
last_modified DATETIME DEFAULT '1900-01-01 00:00:01' NOT NULL,
CONSTRAINT domain_idx UNIQUE (domain)
) ENGINE=MyISAM;
Which table definition is the correct definition to be used.
Thanks
Stagg Shelton
Hi all
I'm trying to do a "followme" from the proxy side, so I receive a request to
some SIP URI and that URI have configured it's followme function that in this
case means ... progress a call to the original URI + a call to a new URI,
just a parallel branching, but I'm no luck ... :-(
if(is_avp_set($avp(s:followme))
{
append_branch($avp(s:followme));
}
That doesn't run, because append_branch does not accept a PV as param, so ...
...
$var(s:tmp_ru) = $ru;
append_branch();
$ru = $avp(s:followme);
...
But now ... only one of the branches progress ..., the new created branch
(after the append_branch call) ... must go to a PSTN number ... but no way,
because I must "mark" the branch in some way that I could send it directly to
the go_to_pstn route block ...
any clue or example about how to work with the new branch ONLY ? ... because
branch 1 works ok, I need to do changes only on branch 2
Best regards
--
Raúl Alexis Betancor Santana
Dimensión Virtual
It sounds like what you need is to do branch-specific logic in a
branch route:
http://www.kamailio.org/dokuwiki/doku.php/core-cookbook:3.0.x#branch_route
Not all functions can be used in a branch route, but those that can be
operate only on that branch.
On 07/25/2010 07:07 PM, Raúl Alexis Betancor Santana wrote:
>
> Hi all
>
> I'm trying to do a "followme" from the proxy side, so I receive a request to
> some SIP URI and that URI have configured it's followme function that in this
> case means ... progress a call to the original URI + a call to a new URI,
> just a parallel branching, but I'm no luck ... :-(
>
> if(is_avp_set($avp(s:followme))
> {
> append_branch($avp(s:followme));
> }
>
> That doesn't run, because append_branch does not accept a PV as param, so ...
>
> ...
> $var(s:tmp_ru) = $ru;
> append_branch();
> $ru = $avp(s:followme);
> ...
>
> But now ... only one of the branches progress ..., the new created branch
> (after the append_branch call) ... must go to a PSTN number ... but no way,
> because I must "mark" the branch in some way that I could send it directly to
> the go_to_pstn route block ...
>
> any clue or example about how to work with the new branch ONLY ? ... because
> branch 1 works ok, I need to do changes only on branch 2
>
> Best regards
--
Alex Balashov - Principal
Evariste Systems LLC
1170 Peachtree Street
12th Floor, Suite 1200
Atlanta, GA 30309
Tel: +1-678-954-0670
Fax: +1-404-961-1892
Web: http://www.evaristesys.com/
Hello,
I am trying to match a multi-line psuedo variable, i.e. $rb
However I am wishing to pull out the payload values
i.e.
"0 18 101"
"18 101"
etc.. etc...
I am having trouble matching this. Any help would be appreciated.
One part that is giving me trouble is that it seems xlog prints out \r\n as
\015\012
I am not able to successfully just pull out the "payloads"
I have tried many different variations, however here is one of my latest:
xlog("L_INFO", "[$ci] $(rb{re.subst,/^(.*)m=audio ([0-9]+) ([0-9
]+)\015\012(.*)$/\3/s})");
Any help / input is greatly appreciated, thank you ahead of time!
Happy 4th of July (for those who celebrate)
Sincerely,
Brandon Armstead
Friend
you know tell me if it is possible to make the packets sniffer sip with SER
or SEMS?
thanks,
--
Atenciosamente,
Fernando Pessoa
ITIntegration
Diretor
85-34865449
85-99222598
I'm trying to set up my account so outbound calls will go through a proxy:
free.sipout.com:161
I've set it up under OTHER in my iptel.org account so I access pbxes.com and
put free.sipout.com:161 into a trunk and set it as an outbound route. I
then dial +001 area code and number but it doesn't work. What am I doing
wrong?
Thanks,
Alan
Hello,
I try to execute some PERL-code within kamailio v3 for some research due to my thesis. I'm using debian lenny, kamailio_3.0.0 and perl_5.10.0.
I added the follwoing lines to "kamailio.cfg":
loadmodule "perl.so"
modparam("perl", "filename", "/opt/kamailio-3.0.0/PERL/myperl.pl")
modparam("perl", "modpath", "/opt/kamailio-3.0.0/lib/kamailio/perl")
I added a subroutine called "myprint" to the file "myperl.pl" for testing.
I tried to exec the subroutine by adding the following line to "kamailio.cfg" just before "Routing Logic" (...even tried within "route{..}") as described in the perl_module description :
perl_exec_simple("myperl");
Unfortunately it seems the code isn't executed, as it should write some lines in a log-file.
What can I do?
Thank you!!
Cheers Nicolas
additional information:
=======================
Kamailio is starting without problems it just shows the follwing warning:
"0(28679) WARNING: <core> [sr_module.c:445]: /opt/kamailio-3.0.0/lib/kamailio/modules_k/perl.so: exports dlflags interface is deprecated and it will notbe supported in newer versions; consider using mod_register() instead 0(28679) DEBUG: <core> [mem/f_malloc.c:265]: fm_malloc_init: F_OPTIMIZE=16384, /ROUNDTO=2048"
--
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
>> try to play with mysql module timeout parameter in case the records are not
>> loaded fast enough:
>>
>> http://kamailio.org/docs/modules/stable/modules/db_mysql.html#id2928400
>>
>> Regards,
>> Ramona
>
> Ok, I figured out that sr was taking about 9-10 seconds to load 300K
> records so I increased:
> # ----- db_mysql params -----
> modparam("db_mysql", "timeout_interval", 20)
>
> And found that the table would load, so I started increasing the
> record count by 60K, then the fault condition occurred again at around
> 400K records, then went away by itself. I got all the way to 760K
> records without a problem then hit another wall at 800K records.
>
> I think there is something flaky going on, I can not reproduce it
> reliable, sometimes the table loads just fine and other times it does
> not load at all.
>
> I started monitoring mysqld. When I restart sr or issue pdt_reload
> and msqld has a load, the table seems to load fine, regardless of the
> table size or "timeout_interval" setting. When the problem is
> occurring, myslqd has zero usage. When the issue was occurring, I
> restarted the mysql process and the table loaded into sr. I'm now
> suspecting I have a buggy mysqld so I'm going to try to update that
> and see if I can reproduce the problem. So for now I can't isolate
> the issue, but I'm still working on it.
>
> I do see a difference with the "timeout_interval" during sr restarts,
> the longer the time the better it does. Also there is a time
> difference when loading the table, sometimes it takes 30 seconds,
> sometimes 90 seconds. I think maybe there is a combination of issues
> going on here. I need to rebuild a fresh install and test a bit more
> methodically to find a root cause. Also I want to grab a newer
> version of mysql-server.
>
> I'll update with my findings.
# ----- db_mysql params -----
modparam("db_mysql", "timeout_interval", 20)
Time interval (in seconds) after that an connection attempt, read or
write request is aborted. The value counts three times, as several
retries are done from the driver before it gives up.
"The values counts 3 times" this was my issue, as I was adjusting the
value between 10, 20, 30, 60, 120, and having inconsistent table load
times from mysqld. After a reboot, mysql started performing better,
more consistent with load times.
My table with 800K records was taking between 30-38 seconds to load.
With timeout_interval set to 10 (30 second timeout), I was right on
the edge of the table loading or not loading, sometimes it would and
other times it would not. So giving a bit of cushion on the
timeout_interval seems to resolve the problem. Adjusting this value I
could consistently reproduce the problem. So for large database
tables, this timeout value should be set to about 1 second per 20K
records.
As far as the other issue goes with using pdt_list and pkg memory
size, compileing mi using system mem solved this issue as well. Also
pdt_list has the option to search for prefixes which works in my case
without the need to increase pkg memory or system memory:
sip-router2:~# kamctl fifo pdt_list . 99999
PDT:: SDOMAIN=* PREFIX=999990 DOMAIN=2
PDT:: SDOMAIN=* PREFIX=999991 DOMAIN=2
PDT:: SDOMAIN=* PREFIX=999992 DOMAIN=2
PDT:: SDOMAIN=* PREFIX=999993 DOMAIN=2
PDT:: SDOMAIN=* PREFIX=999994 DOMAIN=2
PDT:: SDOMAIN=* PREFIX=999995 DOMAIN=2
PDT:: SDOMAIN=* PREFIX=999996 DOMAIN=2
PDT:: SDOMAIN=* PREFIX=999997 DOMAIN=2
PDT:: SDOMAIN=* PREFIX=999998 DOMAIN=2
PDT:: SDOMAIN=* PREFIX=999999 DOMAIN=2
Using the list prefix search option will pipe out about 10,000
records, but errors out with "no more pkg mem" past that.
Thanks for all your input on this thread to help me isolate the issue.
JR
--
JR Richardson
Engineering for the Masses