Re: [SR-Users] Failure Route and Reply Routes

2011-02-17 Thread Brandon Armstead
Alex, Thank you for this information! This is now making some more sense as to the results I am seeing. Thanks again! Sincerely, Brandon Armstead On Thu, Feb 17, 2011 at 2:13 PM, Alex Balashov wrote: > On 02/17/2011 05:07 PM, Brandon Armstead wrote: > >> Hello, >> >>Is there any speci

Re: [SR-Users] Failure Route and Reply Routes

2011-02-17 Thread Alex Balashov
On 02/17/2011 05:07 PM, Brandon Armstead wrote: Hello, Is there any specific information / documentation as to what kind of response causes the failure_route to trigger over the reply_route. For example, it seems that 486 response triggers the failure route while as a 408 triggers the reply

[SR-Users] Failure Route and Reply Routes

2011-02-17 Thread Brandon Armstead
Hello, Is there any specific information / documentation as to what kind of response causes the failure_route to trigger over the reply_route. For example, it seems that 486 response triggers the failure route while as a 408 triggers the reply_route. Perhaps I am over looking something? I wo

Re: [SR-Users] Bad File Descriptor

2011-02-17 Thread Daniel-Constantin Mierla
Please keep the mailing list cc-ed. My previous email had other comments/questions inline, can you answer them as well? They are relevant in troubleshooting. Thanks, Daniel On 2/17/11 7:57 PM, David J. wrote: version: kamailio 3.1.1 (x86_64/linux) 88bda8 flags: STATS: Off, USE_IPV6, USE_TCP,

Re: [SR-Users] Bad File Descriptor

2011-02-17 Thread Daniel-Constantin Mierla
Hello, what is the version you are using? On 2/17/11 7:35 PM, David J. wrote: 5(20390) ERROR: [udp_server.c:586]: ERROR: udp_send: sendto(sock,0x7f67f7f94d14,4,0,69.117.34.101:2048,16): Bad file descriptor(9) 5(20390) ERROR: nathelper [nathelper.c:1722]: udp_send failed I see this error

[SR-Users] Bad File Descriptor

2011-02-17 Thread David J.
5(20390) ERROR: [udp_server.c:586]: ERROR: udp_send: sendto(sock,0x7f67f7f94d14,4,0,69.117.34.101:2048,16): Bad file descriptor(9) 5(20390) ERROR: nathelper [nathelper.c:1722]: udp_send failed I see this error when I try to restart kamailio after crash; I see the cause of this problem is '

Re: [SR-Users] Kamailio 1.5.5 No TLS Segmentation Fault

2011-02-17 Thread Timo Reimann
Hey Stagg, On 17.02.2011 17:41, Stagg Shelton wrote: > I have not tried the latest SVN yet. My system just did another core again > today. The backtrace seems to show it at the same location. Below is the > backtrace from today. If grabbing the latest SVN is the only chance of > stopping t

Re: [SR-Users] Failover with UCARP and Monit

2011-02-17 Thread Hugh Waite
Thanks for the responses, We wish the server to be a hot standby, so the kamailio service is running and is ready to take traffic as soon as the virtual IP is assigned. Kamailio is bound to a fixed IP and DNAT/SNAT is used to convert the IP of incoming traffic. Monit is there to make sure that

Re: [SR-Users] Kamailio 1.5.5 No TLS Segmentation Fault

2011-02-17 Thread Daniel-Constantin Mierla
Hello, On 2/17/11 7:01 PM, Stagg Shelton wrote: Thanks Daniel. I've downloaded the source from subversion for the 1.5 branch. I am planning on building it tonight, and performing a maintenance on my production server late tomorrow night. I noticed in the svn code that TLS comes down with it

Re: [SR-Users] Kamailio 1.5.5 No TLS Segmentation Fault

2011-02-17 Thread Stagg Shelton
Thanks Daniel. I've downloaded the source from subversion for the 1.5 branch. I am planning on building it tonight, and performing a maintenance on my production server late tomorrow night. I noticed in the svn code that TLS comes down with it. I have always used the -notls released source.

Re: [SR-Users] Kamailio 1.5.5 No TLS Segmentation Fault

2011-02-17 Thread Daniel-Constantin Mierla
Hello, On 2/17/11 5:41 PM, Stagg Shelton wrote: Hi Timo, I have not tried the latest SVN yet. My system just did another core again today. The backtrace seems to show it at the same location. Below is the backtrace from today. If grabbing the latest SVN is the only chance of stopping thi

Re: [SR-Users] Kamailio 1.5.5 No TLS Segmentation Fault

2011-02-17 Thread Stagg Shelton
When the system core dumps, there are usually two core dump files. Below is the backtrace from the core file with the earliest time stamp. #0 0x7f85626fe275 in raise () from /lib64/libc.so.6 Missing separate debuginfos, use: debuginfo-install bzip2-libs-1.0.5-5.fc11.x86_64 db4-4.7.25-11.f

Re: [SR-Users] Kamailio 1.5.5 No TLS Segmentation Fault

2011-02-17 Thread Stagg Shelton
Hi Timo, I have not tried the latest SVN yet. My system just did another core again today. The backtrace seems to show it at the same location. Below is the backtrace from today. If grabbing the latest SVN is the only chance of stopping this behavior I can do that, but I have to be as caref

Re: [SR-Users] Kamailio and Asterisk Realtime Integration using Asterisk Database

2011-02-17 Thread Daniel-Constantin Mierla
Hello, On 2/15/11 3:10 PM, Pavel Miskov wrote: Hi all, I am trying to integrate Kamailio and Asterisk as explained in http://kb.asipto.com/asterisk:realtime:kamailio-3.0.x-asterisk-1.6.2-astdb document but I have some problems. 1. When Asterisk sends the call back to Kamailio, Asterisk generat

Re: [SR-Users] ERROR: failover functions used, but AVPs paraamters required are NULL

2011-02-17 Thread Gary Chen
Never mind. I used wrong kamailio.cfg file. From: Daniel-Constantin Mierla [mailto:mico...@gmail.com] Sent: Thursday, February 17, 2011 8:51 AM To: Gary Chen Cc: sr-users@lists.sip-router.org Subject: Re: [SR-Users] ERROR: failover functions used, but AVPs paraamters required are NULL   Hello,

Re: [SR-Users] Mediaproxy 2.4.4 sessions

2011-02-17 Thread Daniel-Constantin Mierla
Hello, I am using the rtpproxy, so I cannot really answer your question, but for tracking active calls you can just use dialog module. There are other options to do it manually in the config wusing some htable or db table, but easiest is with dialog module. Then you can see them via rpc/mi w

Re: [SR-Users] Failover with UCARP and Monit

2011-02-17 Thread Klaus Darilion
AFAIK the current "Linux approach" (RedHat, Suse) it to use pacemaker+corosync and OCF resource scripts. Pacemaker is the cluster resource manager: control all resources and monitors services by usage of the OCF scripts Corosync provides the cluster communication: communication between the v

Re: [SR-Users] Kamailio 3.0.4: Segfault at 4 [..] error 4 in dialog.so

2011-02-17 Thread Henning Westerholt
On Thursday 17 February 2011, Klaus Feichtinger wrote: > does anybody have an idea, what this error messages could mean? > > Feb 16 11:23:27 SipSrvLstI1 kernel: [429767.707165] kamailio[10758]: > segfault at 4 ip b78ba6e5 sp bfacece0 error 4 in dialog.so[b78a+32000] > Feb 16 13:40:42 SipSrvLst

[SR-Users] Kamailio 3.0.4: Segfault at 4 [..] error 4 in dialog.so

2011-02-17 Thread Klaus Feichtinger
Hello, does anybody have an idea, what this error messages could mean? Feb 16 11:23:27 SipSrvLstI1 kernel: [429767.707165] kamailio[10758]: segfault at 4 ip b78ba6e5 sp bfacece0 error 4 in dialog.so[b78a+32000] Feb 16 13:40:42 SipSrvLstI1 kernel: [438003.071797] kamailio[24880]: segfault at 4

Re: [SR-Users] ACC og ACC_RADIUS module

2011-02-17 Thread Daniel-Constantin Mierla
Hello, On 2/16/11 9:33 PM, Morten Isaksen wrote: Hi, We have a OpenSER 1.1 platform running with radius accounting and I am in the progress of updating it to Kamailio 3.1. I am trying to decide if I should do accounting via Radius or directly to MySQL on the new platform. The only benefits a

Re: [SR-Users] Failover with UCARP and Monit

2011-02-17 Thread Daniel-Constantin Mierla
An option is to use in the UCARP VIP up/down scripts the commands: monit start kamailio monit stop kamailio Then monit will stop kamailio and no longer do options ping when the server is standby. Cheers, Daniel On 2/17/11 2:05 PM, Klaus Feichtinger wrote: Hi, I have built a similar solutio

Re: [SR-Users] ERROR: failover functions used, but AVPs paraamters required are NULL

2011-02-17 Thread Daniel-Constantin Mierla
Hello, can you send all log messages printed by: kamailio -E -ddd Thanks, Daniel On 2/17/11 2:42 PM, Gary Chen wrote: kamailio version 3.1.2 I am trying to setup dispatcher to use its failover feature. Here is dispatcher part of configure file: loadmodule "dispatcher.so" modparam("dispat

[SR-Users] ERROR: failover functions used, but AVPs paraamters required are NULL

2011-02-17 Thread Gary Chen
kamailio version 3.1.2 I am trying to setup dispatcher to use its failover feature. Here is dispatcher part of configure file: loadmodule "dispatcher.so" modparam("dispatcher", "db_url", DBURL) modparam("dispatcher", "table_name", "dispatcher") modparam("dispatcher", "ds_ping_interval", 30) mod

Re: [SR-Users] Failover with UCARP and Monit

2011-02-17 Thread Klaus Feichtinger
Hi, I have built a similar solution with only one difference: I am using HEARTBEAT instead of ucarp. In heartbeat it is possible moving "haresources" from one active host to another. So, I activate MONIT (and mysql + kamailio) only when the resources (e.g. virtual IP address) are switched from one