The same trouble with:
completely updated Centos 5
the last Kamailio RPM from
http://download.opensuse.org/repositories/home:/kamailio:/telephony/RedHat_…
and
postgresql-libs.x86_64.8.1.23-5.el5_8
several month ago I try
postgresql84-libs.x86_64
with the same result.
It's not possible to use Kamailio RPM with postgres backend. Need to
assemble it manually.
Bruno Bresciani wrote:
> Hi,
>
> I configure the Kamailio 3.1.2 with postgres but I cann't start. In the
> log file is generated the following error:
>
> //
>
> ERROR: load_module: could not open module
> </home2/local/kamailio/lib/kamailio/modules/db_
> postgres.so>: /home2/local/kamailio/lib/kamailio/modules/db_postgres.so:
> undefined symbol: PQdescribePrepared
Have you built Kamailio yourself? Looks like db_postgres.so can not find
the postgresql libraries, or it was built with a different library version.
Maybe ldd can give you some details:
ldd /home2/local/kamailio/lib/kamailio/modules/db_postgres.so
regards
Klaus
On Wed, Aug 8, 2012 at 12:13 PM, JR Richardson <jmr.richardson(a)gmail.com> wrote:
> Hi All,
>
> I'm running redundant kamailio 3.0.4 servers in production, have been
> for a long time with great success. They were installed on debian
> Lenny. One of my servers crashed. I can't seem to do a debian lennyy
> install because that version is archived now. I'm trying to install
> on debian squeeze but still using kamailio 3.0.4 for compatibility
> reasons. The install went pretty normal except during boot up,
> kamailio starts before mysql and networking so it starts then exists.
>
> Once the server is fully booted, kamailio starts with the init script
> without error.
>
> I have adjusted the init script to check for networking and mysql to
> start first and performed an 'update-rc.d kamailio defaults' but still
> no luck.
>
> Any help will be appreciated.
>
> Thanks.
>
> JR
> --
> JR Richardson
> Engineering for the Masses
Yep, this is an
http://wiki.debian.org/LSBInitScripts/DependencyBasedBoot issue.
Thanks Alex.
The old init scrip that ships with Kamailio 3.0.4 that I am using is
not 100% compatible so I pulled a hack out of the hat and inserted
'sleep 20' before of 'check_fork ()' in the kamailio init script.
Kamailio now waits long enough for all services to start before
launching, simple but effective.
Thanks.
JR
--
JR Richardson
Engineering for the Masses
Hi All,
I'm running redundant kamailio 3.0.4 servers in production, have been
for a long time with great success. They were installed on debian
Lenny. One of my servers crashed. I can't seem to do a debian lennyy
install because that version is archived now. I'm trying to install
on debian squeeze but still using kamailio 3.0.4 for compatibility
reasons. The install went pretty normal except during boot up,
kamailio starts before mysql and networking so it starts then exists.
Once the server is fully booted, kamailio starts with the init script
without error.
I have adjusted the init script to check for networking and mysql to
start first and performed an 'update-rc.d kamailio defaults' but still
no luck.
Any help will be appreciated.
Thanks.
JR
--
JR Richardson
Engineering for the Masses
Thanks for the hint. What is the file name in /etc/modprob.d/ where i am supposed to enter this module name to disable it.
Thanks
Vijay Tha
Message: 1
Date: Mon, 06 Aug 2012 09:01:03 -0400
From: Richard Fuchs<rfuchs(a)sipwise.com>
Subject: Re: [SR-Users] Kernel Droping SIP packet
To:sr-users@lists.sip-router.org
Message-ID:<501FC00F.6000604(a)sipwise.com>
Content-Type: text/plain; charset="iso-8859-1"
On 08/06/12 06:08, Vijay Thakur wrote:
> Hi all,
>
> I have configure Kamailio 3.1.5 Server. All things are working fine.
> When i make a call from Soft phone (X-Lite) to iphone, all is working
> fine. But in other case call from iphone to Softphone is not working,
> even not ringing. During checking the logs i am getting the error:
>
> Aug 3 04:36:09 localhost kernel: nf_ct_sip: dropping packetIN=eth0 OUT=
> MAC=f2:3c:91:ae:92:36:c8:4c:75:f5:c4:ff:08:00 SRC=122.xxx.xxx.77
> DST=xx.116.xx.23 LEN=1482 TOS=0x00 PREC=0x00 TTL=51 ID=50183 DF
> PROTO=TCP SPT=15587 DPT=5060 SEQ=3285635734 ACK=3113844065 WINDOW=5763
> RES=0x00 ACK URGP=0 OPT (0101080A000E20610932B25A)
This is coming from nf_conntrack_sip, which is a netfilter connection
tracking kernel module for SIP. I've never used it, but judging from
what Google brings up, it seems to be very buggy. You should be able to
just unload it by issuing "rmmod nf_conntrack_sip". If that doesn't work
and/or if you want to keep it from auto-loading, you can blacklist it in
/etc/modprobe.d/ and then reboot.
HTH
copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited.
-----------------------------------------------------------------------------------------------------------------
Hello,
I am curious if there is any documentation on how AVP's processing works
in the following scenario below.
UAC 1 -> KAMAILIO -> KAMAILIO -> DEST
It seems that AVP's I set between UAC 1 -> KAMAILIO are lost once I relay
back to the same KAMAILIO proxy (self)?
Is there any documentation on why or when this would occur?
Is there a better way to handle such a scenario? i.e. more dynamic
internal routing, vs relaying to self.
Thanks as always in advance!
Sincerely,
Brandon Armstead
Hi,
Occasionally I can see the following log output from Kamailio in our systems:
WARNING: <core> [local_timer.c:97]: WARNING: local_timer: add_timeout: 0 expire timer added
Can someone explain what it means?
Many thanks.
Mit freundlichen Grüßen / Best regards
Marco Barthel
Robert Bosch GmbH
(CI/AFU1)
www.bosch.com<http://www.bosch.com>
Tel. +49 711 811-3602341
marco.barthel(a)de.bosch.com<mailto:marco.barthel@de.bosch.com>
Sitz: Stuttgart, Registergericht: Amtsgericht Stuttgart, HRB 14000;
Aufsichtsratsvorsitzender: Franz Fehrenbach; Geschäftsführung: Volkmar Denner, Siegfried Dais;
Stefan Asenkerschbaumer, Bernd Bohr, Rudolf Colm, Dirk Hoheisel, Christoph Kübel, Uwe Raschke,
Wolf-Henning Scheider, Werner Struth, Peter Tyroller
As your first solution with UAC module:
"As a plan B we instead opted for sending via uac module the invite to an
oversip instance (it's open-source since a week or two), which triggers
an HTTP request towards APNS, and on kamailio check with inv-timers
every few seconds whether the client came online in the meanwhile, then
complete the call. The drawback is that you can wait only for so many
loop interations due to the max branch limitation in kamailio (you'd
need to recompile it to set it higher)."
I read about the UAC module but feeling very hard to implement it as
your suggestion,
http://kamailio.org/docs/modules/3.3.x/modules_k/uac.html
Please give me and others more details about this?
Which functions those we need ?
Are they in: UAC module, Exec module, tm module ??
Thanks
Hi,
I'm trying to use Kamailio as an outbound proxy behind a NAT (all
clients and kamailio itself are behind the same NAT):
UACs -> Kamailio -> NAT router -> PBX (hosted, public server)
I figured I could detect the external source port used by the router by
periodically sending an OPTIONS request to the public server, then
capture the rport value in the reply, and use that port as an input to
set_advertised_port. Because I'm doing this periodically, it should have
the added value of keeping the NAT mapping alive. Otherwise, I should be
able to detect it, as the rport value will change.
I managed to periodically send the OPTIONS request, read the rport value
on the reply message and store it on a pseudovariable using:
$var(rport) = $sel(v.rport);
But when I try to use that value to set the advertised port, I get an
error, as if set_advertised_port only accepted literal values:
if( $var(rport) != 0)
{
set_advertised_port($var(rport));
}
Not starting Kamailio: invalid configuration file!
-e
0(4692) : <core> [cfg.y:3591]: parse error in config file
/usr/local/etc/kamailio/kamailio.cfg, line 504, column 24-34: syntax error
0(4692) : <core> [cfg.y:3594]: parse error in config file
/usr/local/etc/kamailio/kamailio.cfg, line 504, column 35: bad argument,
string expected
ERROR: bad config file (2 errors)
So, am I missing something or does set_advertised_port actually only
accept literal values?
Thanks
Neven Boric
Thanks all of your for reply. Here is the output of command:
root@li496-23:~# lsmod | grep -i sip
root@li496-23:~#
This command is giving blank output.
This is linnode server. So the zcat /proc/config.gz command reveals the
kernel loaded modules.
You can see complete output at pastebin:
http://pastebin.com/a0iqpc4D.
Thanks in advance
Vijay Th.
On Monday 06 August 2012 08:26 PM, sr-users-request(a)lists.sip-router.org
wrote:
> Send sr-users mailing list submissions to
> sr-users(a)lists.sip-router.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
> or, via email, send a message with subject or body 'help' to
> sr-users-request(a)lists.sip-router.org
>
> You can reach the person managing the list at
> sr-users-owner(a)lists.sip-router.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of sr-users digest..."
>
>
> Today's Topics:
>
> 1. Re: Kernel Droping SIP packet (Richard Fuchs)
> 2. Re: Kernel Droping SIP packet (Alex Balashov)
> 3. Re: Kernel Droping SIP packet (Konstantin M.)
> 4. Re: Kernel Droping SIP packet (Alex Balashov)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 06 Aug 2012 09:01:03 -0400
> From: Richard Fuchs <rfuchs(a)sipwise.com>
> Subject: Re: [SR-Users] Kernel Droping SIP packet
> To: sr-users(a)lists.sip-router.org
> Message-ID: <501FC00F.6000604(a)sipwise.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> On 08/06/12 06:08, Vijay Thakur wrote:
>> Hi all,
>>
>> I have configure Kamailio 3.1.5 Server. All things are working fine.
>> When i make a call from Soft phone (X-Lite) to iphone, all is working
>> fine. But in other case call from iphone to Softphone is not working,
>> even not ringing. During checking the logs i am getting the error:
>>
>> Aug 3 04:36:09 localhost kernel: nf_ct_sip: dropping packetIN=eth0 OUT=
>> MAC=f2:3c:91:ae:92:36:c8:4c:75:f5:c4:ff:08:00 SRC=122.xxx.xxx.77
>> DST=xx.116.xx.23 LEN=1482 TOS=0x00 PREC=0x00 TTL=51 ID=50183 DF
>> PROTO=TCP SPT=15587 DPT=5060 SEQ=3285635734 ACK=3113844065 WINDOW=5763
>> RES=0x00 ACK URGP=0 OPT (0101080A000E20610932B25A)
> This is coming from nf_conntrack_sip, which is a netfilter connection
> tracking kernel module for SIP. I've never used it, but judging from
> what Google brings up, it seems to be very buggy. You should be able to
> just unload it by issuing "rmmod nf_conntrack_sip". If that doesn't work
> and/or if you want to keep it from auto-loading, you can blacklist it in
> /etc/modprobe.d/ and then reboot.
>
> HTH
>
>
Hello,
I am noticing that some of the time (not always consistent) that load_gw()
/ next_gw() will not always return the gateway with the lowest priority
number.
For example, when I look up a route for 205595, I have three grp_ids
(gateways) that services the destination; with them being separated with
1, 2, and 3 priorities:
id prefix from_uri grp_id priority
7468 205595 NULL 1 1
7469 205595 NULL 2 2
7470 205595 NULL 7 3
About 1/2 of the time, it will chose the priority 1 gateway, as it should.
But randomly, it will choose the other gateways on the first try. In this
particular case, all three gateways are going to the same destination IP
(just using different hostnames in the "gw" mySQL table) - so I know the
gateways are up. Also, I am not noticing any failures and going to the
next gateway, like it choosing #1, it failing and then going to #2.
What kind of debugging can I do on this gateway selection process? I am
running 1.5.5 notls, and have approximately 425K routes. Kamailio is
started with "-m 512" for the additional memory.
Thanks,
-graham