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

2011-12-21 Thread Gautam Batra
I'm not able to set up the rtp proxy module. I have entered the following: loadmodule "rtpproxy.so" modparam ("rtpproxy", "rtpproxy_sock", "udp:X.Y.Z.W:2"); Where X.Y.Z.W is the IP address of my machine (same as that of my SIP server). But the log shows the following errors: Dec 21 13:11:12

Re: [SR-Users] TLS performance testing

2011-12-21 Thread Kristian Kielhofner
On Wed, Dec 21, 2011 at 2:56 PM, Daniel-Constantin Mierla wrote: > > it has to be at least the message printed by: > >        LOG(L_CRIT, "BUG: qm_free: freeing already freed pointer," >                " first free: %s: %s(%ld) - aborting\n", >                f->file, f->func, f->line); > > Can yo

Re: [SR-Users] TLS performance testing

2011-12-21 Thread Daniel-Constantin Mierla
Hello, On 12/21/11 8:26 PM, Kristian Kielhofner wrote: On Wed, Dec 21, 2011 at 4:36 AM, Daniel-Constantin Mierla wrote: Hello, can you send also the last log messages (especially the ones before the crash, printed by the same pid that wrote the core, there should be a 'BUG...' message)? Loo

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

2011-12-21 Thread Gautam Batra
I am using Freeswitch as an SBC behind Kamailio, and my external calls are routed via freeswitch. In those calls the music on hold works as it is handled by freeswitch. Ideally I would like to somehow redirect when a call is put on hold to the MOH extension. The other option is by using rtpproxy. I

Re: [SR-Users] TLS performance testing

2011-12-21 Thread Kristian Kielhofner
On Wed, Dec 21, 2011 at 4:36 AM, Daniel-Constantin Mierla wrote: > Hello, > > can you send also the last log messages (especially the ones before the > crash, printed by the same pid that wrote the core, there should be a > 'BUG...' message)? > > Looks like a double free in the libssl, what is you

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

2011-12-21 Thread Timo Reimann
Hey there, I added the list to CC as others may be interested in your findings as well. "sunny_day" <416415...@qq.com> schrieb: > Thank you very much for your detailed analysis ! > According to your analysis I have been getting more understand the > kamailio. :-) > After submitting the issue

Re: [SR-Users] lcr module and IPv6

2011-12-21 Thread Andreas Granig
On 12/21/2011 03:47 PM, Juha Heinanen wrote: >> Well, the question was not where to store the IPv6 address, rather than >> in which format. As it is now, it'll allow it both with and without >> surrounding square brackets. That's where I have no strong opinions. > > ok, then push also change to lc

Re: [SR-Users] carrierroute issue with rewrite host

2011-12-21 Thread Marius Zbihlei
On 10/25/2011 03:28 PM, Uri Shacked wrote: Hi, I am using kamailio (only one) as routing engine. I have 2 gateways. Both of them sending calls to kamailio. When i use the carrierroute module i need to change (and succeed) the user ($rU). But, i need to send the call (the invite) back to the

Re: [SR-Users] lcr module and IPv6

2011-12-21 Thread Juha Heinanen
Andreas Granig writes: > Well, the question was not where to store the IPv6 address, rather than > in which format. As it is now, it'll allow it both with and without > surrounding square brackets. That's where I have no strong opinions. ok, then push also change to lcr_gw schema and include an u

Re: [SR-Users] carrierroute issue with rewrite host

2011-12-21 Thread Abdul Hakeem
Hello Uri, Did you get any sort of response from the list.or were you able to figure this out ? Regards, Abdul Hakeem From: sr-users-boun...@lists.sip-router.org [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Uri Shacked Sent: Tuesday, October 25, 2011 1:28 PM To: SIP Router - Kamai

Re: [SR-Users] lcr module and IPv6

2011-12-21 Thread Andreas Granig
On 12/21/2011 02:43 PM, Juha Heinanen wrote: >> We could argue whether to not support square brackets and just allow >> plain IP format, I've no strong opinions on that. We just wanted to make >> it as flexible as possible. > > i cannot comment on storing ipv6 address, because i don't know anythin

Re: [SR-Users] lcr module and IPv6

2011-12-21 Thread Juha Heinanen
Andreas Granig writes: > Exactly. Sorry, forgot that part. Since the patch supports optional > surrounding square brackets, the max. length of an IPv6 address is 47. > > So it's either 8*4+7+2 for normal IPv6, like > "[:::::::]", or (6*4+5)+1+(4*3+3)+2 for > tunnel

Re: [SR-Users] lcr module and IPv6

2011-12-21 Thread Andreas Granig
Hi Juha, On 12/21/2011 02:11 PM, Juha Heinanen wrote: > based on the patch i got impression that it uses current ip_addr column > of lcr_gw table to store also ipv6 address? if so, then also the schema > file would need to be changed. Exactly. Sorry, forgot that part. Since the patch supports op

Re: [SR-Users] lcr module and IPv6

2011-12-21 Thread Juha Heinanen
Andreas Granig writes: > Please find attached the patch against git master, courtesy of my > colleague Richard Fuchs . > > Please review and apply if acceptable. andreas, based on the patch i got impression that it uses current ip_addr column of lcr_gw table to store also ipv6 address? if so,

Re: [SR-Users] No memory left in send_subscribe (PUA) from update_pua while building the tm dlg_t structure

2011-12-21 Thread Daniel-Constantin Mierla
Hello, pkg.stats was added in 3.2.0, iirc. For 3.1, you can walk the packets in memory with gdb -- 3.1 has memory debug on, so you don't need to recompile (unless you turned it off). Just attach to the pid of a sip worker (gdb /path/to/kamailio _pid_value_) and run the gdb script. Cheers,

[SR-Users] ERROR: slow timer too slow: overflow (1048 - 25 = 1023) repeat a lot

2011-12-21 Thread laura testi
Hi, sometime we get the following error after we restart the kamailio for a while: ERROR: [timer.c:972]: ERROR: slow timer too slow: overflow (1048 - 25 = 1023) ... last message repeated 138times ERROR: [timer.c:972]: ERROR: slow timer too slow: overflow (1048 - 25 = 1023) last message r

Re: [SR-Users] No memory left in send_subscribe (PUA) from update_pua while building the tm dlg_t structure

2011-12-21 Thread laura testi
Hi Daniel, I try the sercmd for pkg memory but it return 500 error: # sercmd sercmd 0.2 Copyright 2006 iptelorg GmbH This is free software with ABSOLUTELY NO WARRANTY. For details type `warranty'. sercmd> pkg.stats error: 500 - command pkg.stats not found sercmd> Is it available only for 3.2.x

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

2011-12-21 Thread Timo Reimann
Hey, Am 21.12.2011 um 07:03 schrieb 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("dia

Re: [SR-Users] No memory left in send_subscribe (PUA) from update_pua while building the tm dlg_t structure

2011-12-21 Thread Daniel-Constantin Mierla
Hello, you can see the available pkg via sercmd, sending command pkg.stats (match the entry for the pid printing the error). If there is no free memory, then might be a leak. You can attach with gdb to the pid printing these errors and walk to pkg, you see the commands for gdb at: http://w

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

2011-12-21 Thread Daniel-Constantin Mierla
Hello, On 12/21/11 7:49 AM, Olle E. Johansson wrote: 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? Kama

[SR-Users] No memory left in send_subscribe (PUA) from update_pua while building the tm dlg_t structure

2011-12-21 Thread laura testi
Hi, we are using the PUA_XMPP and PUA modules from the master branch. When the modules are started, everything are ok, the presence events from XMPP are sent to kamailio SIP servers (PUBLISH/SUBSCRIBE) and cached in the hash. But when there are several thousands records in the hash tabel, the updat

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

2011-12-21 Thread Daniel-Constantin Mierla
Hello, have you enabled the nat traversal in kamailio's config file? From the respective tutorial, the config file should contain: #!KAMAILIO #!define WITH_MYSQL #!define WITH_AUTH #!define WITH_USRLOCDB #!define WITH_NAT #!define WITH_TLS plus update to rtpproxy module parameter: modparam("

Re: [SR-Users] TLS performance testing

2011-12-21 Thread Daniel-Constantin Mierla
Hello, can you send also the last log messages (especially the ones before the crash, printed by the same pid that wrote the core, there should be a 'BUG...' message)? Looks like a double free in the libssl, what is your libssl version? Cheers, Daniel On 12/21/11 2:58 AM, Kristian Kielhofne

Re: [SR-Users] KAMAILIO

2011-12-21 Thread Sammy Govind
Yes On Tue, Dec 20, 2011 at 10:50 PM, Ahmed Yousef wrote: > > > is KAMAILIO work as registrar server > > > ___ > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list > sr-users@lists.sip-router.org > http://lists.sip-router.org/cgi-

[SR-Users] KAMAILIO

2011-12-21 Thread Ahmed Yousef
is KAMAILIO work as registrar server ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users