Re: [SR-Users] sipcapture logging

2012-06-12 Thread Alexandr Dubovikov
Hi Konstantin, what do you mean in "huge data" ? Currently you can easy capture 3K m/s on the middle size server. anyway, if you want to save the sipcapture data to the plain file, just change DB type. Wbr, Alexandr 6/12/2012 9:07 PM, Konstantin M. wrote: Hello Daniel, 2012/6/12 Daniel-C

Re: [SR-Users] Kamailio Unexpectedly Terminating

2012-06-12 Thread Akan
I tested the patch and got different results. A core dump was still produced but in a different program. I have included the full backtrace. Thanks Nathaniel On 6/12/2012 1:10 PM, Akan wrote: Yes, this is a 64bit system Thanks Nathaniel On 6/12/2012 1:50 AM, Daniel-Constantin Mierla wrot

Re: [SR-Users] sipcapture logging

2012-06-12 Thread Konstantin M.
Hello Daniel, 2012/6/12 Daniel-Constantin Mierla > Hello, > > I am a bit confused now. sipcapture role is to store the SIP signaling > messages in database for the purpose of later analysis -- you can export > pcap from the database later. > Well, I don't have enough experience with sipcapture

Re: [SR-Users] Kamailio Unexpectedly Terminating

2012-06-12 Thread Akan
Yes, this is a 64bit system Thanks Nathaniel On 6/12/2012 1:50 AM, Daniel-Constantin Mierla wrote: Hello, is it 64bit architecture? Cheers, Daniel On 6/11/12 9:12 PM, Akan wrote: Here is the information requested: System = SunOS Node = -f Release = 5.10 KernelID = Generic_141444-09 Machi

Re: [SR-Users] Kamailio Unexpectedly Terminating

2012-06-12 Thread Nathaniel L. Keeling III
Yes, This is a 64bit system T-Mobile. America’s First Nationwide 4G Network Jason Penton wrote: >from the logs he has sent the mem addresses all look 64 bit. Sparc AFAIK is >only 64 bit anyway > >Cheers >Jason > >On Tue, Jun 12, 2012 at 8:50 AM, Daniel-Constantin Mierla > wrote: > >> Hello, >>

Re: [SR-Users] drouting module: can I use non-digit prefix?

2012-06-12 Thread Yufei Tao
Hi Daniel Thanks for the reply! I tried it again and the log seems to suggest it crashed when loading the dr_rules table that contains non-digit prefix, e.g. prefix bing 'abc.': 1. First crash when doing MI command "dr_reload": " Jun 12 15:19:07 myserver2 /usr/sbin/kamailio[2293]: INFO: drouting

Re: [SR-Users] High availability design with Kamailio

2012-06-12 Thread SamyGo
Infact if kamailio goes down heartbeat restarts it again !! how do I stop heartbeat doing it and let the other node take over the resource! On Tue, Jun 12, 2012 at 6:05 PM, SamyGo wrote: > Hi again, > > Some progress.. I have configured heartbeat and with the crm option to set > kamailio as res

Re: [SR-Users] High availability design with Kamailio

2012-06-12 Thread SamyGo
Hi again, Some progress.. I have configured heartbeat and with the crm option to set kamailio as resource i.e crm(test-conf)configure# *primitive Kamailio lsb::kamailio op monitor interval=15s* I can see that if I put the primary node on standby the kamailio instance starts on secondary node ! b

Re: [SR-Users] About xcap xuid in kamailio

2012-06-12 Thread Min Wang
HI Daniel: thanks a lot for the explaination. I have tried the jitsi and bria. jitsi use this kind of xcap uri: /xcap/resource-lists/users/sip:w102@192.168.51.20/index while bria/eyebeam use: /xcap/org.openmobilealliance.pres-rules/users/w103@192.168.51.20/pre

Re: [SR-Users] sipcapture logging

2012-06-12 Thread Daniel-Constantin Mierla
Hello, I am a bit confused now. sipcapture role is to store the SIP signaling messages in database for the purpose of later analysis -- you can export pcap from the database later. What is the obsolete logging system you think about? If you look to log custom info messages, then see the xlog

Re: [SR-Users] About xcap xuid in kamailio

2012-06-12 Thread Daniel-Constantin Mierla
Hello, On 6/12/12 11:28 AM, Min Wang wrote: Hi I am trying to use kamailio xcap server, saw the sample code: if($xcapuri(u=>xuid)=~"^sip:.+@.+") $var(uri) = $xcapuri(u=>xuid); else $var(uri) = "sip:"+ $xcapuri(u=>xuid) + "@" + $Ri; why should the

Re: [SR-Users] Dispatcher alg:7 not working accordingly

2012-06-12 Thread SamyGo
Thanks Sir, Doing a static or even a run-time mapping of same UID calls to destination server is what I thought about this type of case almost an year ago. What I am thinking is : create a table for UID/Destination Mapping; for a unique UID see if there is any destination in that table. If it exis

Re: [SR-Users] sipcapture logging

2012-06-12 Thread Konstantin M.
Hello Daniel, No I don't want to store in pcap format, I have it already. I would like to have a text logs instead of database. About log format, I would like to have a functionality like log4cpp, for example: # Call Logging log4cplus.appender.CALL_LOG_APPENDER=log4cplus::NullAppender log4cplus.

Re: [SR-Users] drouting module: can I use non-digit prefix?

2012-06-12 Thread Daniel-Constantin Mierla
Hello, On 6/1/12 4:57 PM, Yufei Tao wrote: Hi I'm using drouting module and seems that it only allows digit-only prefixes. Also all the number of digits to be stripped ('strip' defined in dr_gateways) must be all digits too. When I used non-digits in these, Kamailio crashed. Is there any way i

Re: [SR-Users] Making dialog module work for me !!

2012-06-12 Thread SamyGo
Yes, I saw the event routes in new version and that seems relevant. Yes deleting entries from hash table is definitely logical but what about hash entries for calls which are in-call for like 4~10 hours !! will hashtable delete those entries ! So I was thinking that I definitely need a mechanism i

Re: [SR-Users] Dispatcher alg:7 not working accordingly

2012-06-12 Thread Daniel-Constantin Mierla
Hello, if you are using integer UID, I would suggest you use modulo operation to select the destination address -- this will require config operations only. Another option you can map an UID to a dispatcher set id (e.g., via mtree or htable) and then you can do the alg 8. Cheers, Daniel O

Re: [SR-Users] Making dialog module work for me !!

2012-06-12 Thread Daniel-Constantin Mierla
Hello, On 6/7/12 1:34 PM, SamyGo wrote: Hi, sure, I'll give that debug messages a try tonight, Also I was thinking of alternative approach and like you said, you are using htable. If I've to use that htable entry manually how do I make sure that any call data gets only deleted/erased after t

Re: [SR-Users] sipcapture logging

2012-06-12 Thread Daniel-Constantin Mierla
Hello, On 6/9/12 8:59 PM, Konstantin M. wrote: Hello, Is it possible to log SIP sessions using sipcapture module to log files by log format instead of database ? what do you mean by log format? If you just want to store pure pcap files, then you can use tools such as ngrep, wireshark/tshar

Re: [SR-Users] Shared memory fragmentation

2012-06-12 Thread Daniel-Constantin Mierla
Hello, On 6/11/12 10:03 AM, Morten Isaksen wrote: Hi Daniel and Marius, Thanks for your feedback. I hope I have solved the issue. Due to a bug in the perl script that generated the route table some destinations got added instead of updated to the table. The result of this bug was that about 50

[SR-Users] About xcap xuid in kamailio

2012-06-12 Thread Min Wang
Hi I am trying to use kamailio xcap server, saw the sample code: if($xcapuri(u=>xuid)=~"^sip:.+@.+") $var(uri) = $xcapuri(u=>xuid); else $var(uri) = "sip:"+ $xcapuri(u=>xuid) + "@" + $Ri; why should the xuid have sip:x...@domain.com format? Th

Re: [SR-Users] maddr parameter in contact header and fix_nated_contact

2012-06-12 Thread Daniel-Constantin Mierla
Hello, thanks for feedback, the patch was backported to 3.2 Cheers, Daniel On 6/11/12 10:30 AM, Morten Isaksen wrote: Hi Daniel, Sorry for the late reply. The patch is working ok. /Morten On Fri, Jun 1, 2012 at 1:25 PM, Morten Isaksen wrote: Hi Daniel, Thanks for a very quick response. T

Re: [SR-Users] Kamailio Unexpectedly Terminating

2012-06-12 Thread Jason Penton
from the logs he has sent the mem addresses all look 64 bit. Sparc AFAIK is only 64 bit anyway Cheers Jason On Tue, Jun 12, 2012 at 8:50 AM, Daniel-Constantin Mierla wrote: > Hello, > > is it 64bit architecture? > > Cheers, > Daniel > > > On 6/11/12 9:12 PM, Akan wrote: > >> Here is the informa

[SR-Users] Install Kamailio v3.3.x from GIT

2012-06-12 Thread Daniel-Constantin Mierla
Hello, now that the branch 3.3 is available, I created the tutorial about how to install Kamailio v3.3.x from GIT: * http://www.kamailio.org/wiki/install/3.3.x/git Feedback and improvements are welcome! Cheers, Daniel -- Daniel-Constantin Mierla - http://www.asipto.com http://twitter.com/