Re: [SR-Users] Music on hold with freeswitch as SBC

2011-12-20 Thread Olle E. Johansson
20 dec 2011 kl. 22:40 skrev Gautam Batra: > Hi, > > Thanks for your replies. Is it possible to play an audio file in the case of > a re-invite directly from kamailio instead of freeswitch by using > rtpproxy_stream2uac() or something similar? Kamailioi is still a proxy and from the endpoint p

[SR-Users] 回复: Why? there isn't a syslog.conf under mykamailiodirectory?

2011-12-20 Thread sunny_day
Elena, your advice is very useful for me. Thank you very much. :-) However,i think i should introduce the environment I now used. First, there are 3 users on the linux, and one kamailio.cfg for each user. I am not the root user. So i don't have the priviledge to write the diretory>/var/l

[SR-Users] Who can tell me how to get the dialog-based CDRs ?

2011-12-20 Thread sunny_day
My object:get the dialog-based CDRs SIP proxy: kamailio-3.2.0 My script: loadmodule "dialog.so" .. modparam("dialog","dlg_flag",4)#Must be set to create the dialog associated to an initial request. modparam("dialog","db_url","mysql://xxx:xxx@localhost/albert") modparam("di

[SR-Users] Issue when SRTP enabled in the SIP clients

2011-12-20 Thread Jonathan Martin
Hi, I followed this web article to install Kamailio 3.2 and RTPProxy on Debian Squeeze x64: http://kb.asipto.com/kamailio:skype-like-service-in-less-than-one-hour The system is running on a public IP address outside of our corporate LAN. I have been testing it using pjsua v2 alpha 2 from t

Re: [SR-Users] TLS performance testing

2011-12-20 Thread Daniel-Constantin Mierla
On 12/20/11 11:55 PM, Kristian Kielhofner wrote: On Tue, Dec 20, 2011 at 5:20 PM, Daniel-Constantin Mierla wrote: Hello, with tls the limit is usually the cpu or memory, due to encryption/decryption, but you say they look ok. What log level are you using in config? Is the test tool keepin

Re: [SR-Users] TLS performance testing

2011-12-20 Thread Kristian Kielhofner
On Tue, Dec 20, 2011 at 5:20 PM, Daniel-Constantin Mierla wrote: > Hello, > > with tls the limit is usually the cpu or memory, due to > encryption/decryption, but you say they look ok. > > What log level are you using in config? > > Is the test tool keeping the tls connections open or they are clo

Re: [SR-Users] TLS performance testing

2011-12-20 Thread Daniel-Constantin Mierla
Hello, On 12/20/11 10:27 PM, Kristian Kielhofner wrote: Hello everyone, I'm doing some TLS performance testing on Kamailio 3.2.1. Here's my setup: kamailio -V version: kamailio 3.2.1 (x86_64/linux) 31c991 flags: STATS: Off, USE_IPV6, USE_TCP, USE_TLS, TLS_HOOKS, USE_RAW_SOCKS, USE_STUN, DI

Re: [SR-Users] Music on hold with freeswitch as SBC

2011-12-20 Thread Gautam Batra
Hi, Thanks for your replies. Is it possible to play an audio file in the case of a re-invite directly from kamailio instead of freeswitch by using rtpproxy_stream2uac() or something similar? Gautam On Mon, Dec 12, 2011 at 4:50 AM, Olle E. Johansson wrote: > > 12 dec 2011 kl. 10:45 skrev Daniel

[SR-Users] TLS performance testing

2011-12-20 Thread Kristian Kielhofner
Hello everyone, I'm doing some TLS performance testing on Kamailio 3.2.1. Here's my setup: kamailio -V version: kamailio 3.2.1 (x86_64/linux) 31c991 flags: STATS: Off, USE_IPV6, USE_TCP, USE_TLS, TLS_HOOKS, USE_RAW_SOCKS, USE_STUN, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_

Re: [SR-Users] 回复: Why? there isn't a syslog.conf under mykamailiodirectory?

2011-12-20 Thread Elena-Ramona Modroiu
Hi, regarding the configuration of syslog to write kamailio log messges in a special file, you can find couple of tutorials on kamailio.org wiki sites. One is: http://www.kamailio.org/wiki/tutorials/3.2.x/syslog Regards, Ramona On 12/20/11 10:35 AM, sunny_day wrote: I got it . Thank you

Re: [SR-Users] lcr module and IPv6

2011-12-20 Thread Andreas Granig
Hello Juha, On 12/15/2011 01:22 PM, Juha Heinanen wrote: >> Just realized that lcr module does not support IPv6 yet. Is there >> already any work going on here? Otherwise we'd take this task over. > > i don't know of such work. if you decide to do it, try to not cause any > performance hit for c

Re: [SR-Users] Database connections

2011-12-20 Thread Mariana Arduini
Hello Daniel, Thanks for the explanation, it helped me a lot! Rgds, Mariana. On Tue, Dec 20, 2011 at 12:27 PM, Daniel-Constantin Mierla < mico...@gmail.com> wrote: > Hello, > > > On 12/20/11 12:52 PM, Mariana Arduini wrote: > >> Hello all, >> >> I'm running some performance tests and need to kn

Re: [SR-Users] Database connections

2011-12-20 Thread Daniel-Constantin Mierla
Hello, On 12/20/11 12:52 PM, Mariana Arduini wrote: Hello all, I'm running some performance tests and need to know how does the database connections work. Are they open when we start OpenSER and are kept open for each process or they just open before a query and closed afterwards? Does anyon

[SR-Users] Database connections

2011-12-20 Thread Mariana Arduini
Hello all, I'm running some performance tests and need to know how does the database connections work. Are they open when we start OpenSER and are kept open for each process or they just open before a query and closed afterwards? Does anyone know where I can find such info? Thanks in advance! Ma

Re: [SR-Users] Dispatcher does not trigger the event_route

2011-12-20 Thread Peter Dunkley
Once your destination has failed (and after you expect to see the output from the event_route), what is the output of kamctl fifo ds_list? Do you see anything else in /var/log/messages at this point? Peter On Tue, 2011-12-20 at 11:05 +0100, Mino Haluz wrote: > nightly build 3.2.1. > > compiled

Re: [SR-Users] Dispatcher does not trigger the event_route

2011-12-20 Thread Mino Haluz
nightly build 3.2.1. compiled on 05:08:17 Dec 19 2011 with gcc 4.4.5 On Tue, Dec 20, 2011 at 10:49 AM, Peter Dunkley < peter.dunk...@crocodile-rcs.com> wrote: > ** > Hello, > > What version of Kamailio are you using? > > The dispatcher "event_route"s were added in Kamailio 3.2.0 so this will > o

Re: [SR-Users] Dispatcher module with call load balancing

2011-12-20 Thread Daniel-Constantin Mierla
Hello, On 12/15/11 12:06 PM, Mino Haluz wrote: Hi, I would like to use the dispatcher module with algorithm 10 - call load balancing. But there are multiple things that are a bit unclear to me. I have multiple gateways that can serve different maximum number of calls. 1) Can I somehow set

Re: [SR-Users] Dispatcher does not trigger the event_route

2011-12-20 Thread Peter Dunkley
Hello, What version of Kamailio are you using? The dispatcher "event_route"s were added in Kamailio 3.2.0 so this will only work in Kamailio 3.2.0 and later. Regards, Peter On Tue, 2011-12-20 at 10:06 +0100, Mino Haluz wrote: > Hi, > > I have two gateways pinged by kamailio. The both are AP

[SR-Users] 回复: Why? there isn't a syslog.conf under mykamailiodirectory?

2011-12-20 Thread sunny_day
I got it . Thank you Michal :) -- albert.gu -- 原始邮件 -- 发件人: "Michal Matyska"; 发送时间: 2011年12月20日(星期二) 下午5:20 收件人: "SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - UsersMailing List"; 主题: Re: [SR-Users] Why? the

Re: [SR-Users] Why? there isn't a syslog.conf under my kamailiodirectory?

2011-12-20 Thread Michal Matyska
Hi, use -E option and you'll get all the logs on the sterr. Michal sunny_day píše v Út 20. 12. 2011 v 17:10 +0800: > Olle , Thank you very much for your reply! > I am not the root user on the unix system. but I want to customize the > log file for the function: xlog. > Now, I don't know where t

Re: [SR-Users] Why? there isn't a syslog.conf under my kamailiodirectory?

2011-12-20 Thread sunny_day
Olle , Thank you very much for your reply! I am not the root user on the unix system. but I want to customize the log file for the function: xlog. Now, I don't know where to see the content what xlog writes. It can help me to debug the script of kamailio.cfg i edited. what i do is collect

[SR-Users] Dispatcher does not trigger the event_route

2011-12-20 Thread Mino Haluz
Hi, I have two gateways pinged by kamailio. The both are AP (active/probing), when I cut the one gateway off, it becomes IP(inactive/probing) but the event_route is not fired up. Am I missing something ? event_route[dispatcher:dst-down] { xlog("L_ERR", "Destination down: $rm $ru ($du)\n")

Re: [SR-Users] Why? there isn't a syslog.conf under my kamailio directory?

2011-12-20 Thread Olle E. Johansson
20 dec 2011 kl. 05:57 skrev sunny_day: > There should be a syslog.conf file under the kamailio directory. > But I haven't. > > I only want to see the contents generated by "xlog" Syslog is a daemon in your operating system. The configuration file is propably in the /etc directory. Try runnin