Re: [SR-Users] Multiple radius responses on a missed call

2013-02-08 Thread Daniel-Constantin Mierla
On 2/8/13 11:07 AM, Efelin Novak wrote: I'm little bit confused about a usage of radius acc_radius module. Parameters from acc_radius module can also be found in acc module after recompiling it with ENABLE_RADIUS_ACC=true. Which one should I use? Which one is more up to date? What is the differ

Re: [SR-Users] dlg_manage and engage_media_proxy

2013-02-08 Thread Daniel-Constantin Mierla
On 2/8/13 12:15 PM, Eduardo Lejarreta wrote: Yes it's the correct order. We call dlg_manage() prior to engage_media_proxy(): The correct order could be the other one, as mediaproxy might need some callbacks from dialog module. Usually the dlg_manage() should be executed just before relaying,

Re: [SR-Users] kamctl restart and mediaproxy

2013-02-08 Thread Victor Seva
We use mediaproxy and kamailio and using the init.d script from the Debian package to restart kamailio has no effect on mediaproxy process. 2013/2/8 Eduardo Lejarreta : > Good morning Daniel. > > I send you the "messages" log which is a bit filtered. The flow is: > > Start a call, engage_mediaprox

Re: [SR-Users] Reg. functions in custom modules

2013-02-08 Thread madhumanjusha
Yeah Thanks a lot, I got the way to do. On Fri, February 8, 2013 4:54 am, Daniel-Constantin Mierla wrote: > Hello, > > > you have to implement a callback mechanism. Perhaps you can extend the sr > event framework. One point to start with is to look at how core is > executing functions from the d

[SR-Users] dlg_manage and engage_media_proxy

2013-02-08 Thread Eduardo Lejarreta
Yes it's the correct order. We call dlg_manage() prior to engage_media_proxy(): route[INVITE_MANAGE] { if (is_method("INVITE")) { $dlg_var(si) = $si; $dlg_var(tU) = $tU; $dlg_ctx(timeout_bye) = 1; dlg_manage();

[SR-Users] Handling 302 redirect on group ringing

2013-02-08 Thread Mark Boyce
Hi All Got a problem handling redirects when more than one phone is ringing. The setup is this; Phone1 - Extension 100 Phone 2 - Extension 101 Phone 3 - Extension 102 & 101 When Phone 1 rings Extension 101 Phones 2 & 3 ring correctly as you would expect. If Phone 2 now sets the on phone forw

Re: [SR-Users] Kamailio-Java Integration

2013-02-08 Thread Konstantin M.
Ok, I will review this part a soon. Thank you. 2013/2/8 Daniel-Constantin Mierla > > On 2/6/13 11:39 PM, Konstantin M. wrote: > > > > 2013/2/7 Daniel-Constantin Mierla > >> As expected, a consistent list of dependencies, but I guess that people >> using java would have those installed anyhow :

[SR-Users] kamctl restart and mediaproxy

2013-02-08 Thread Eduardo Lejarreta
Good morning Daniel. I send you the "messages" log which is a bit filtered. The flow is: Start a call, engage_mediaproxy on ports (50156, 50157, 50158, 50159) and then "kamctl restart". As you see it seems that an instruction from kamailio tells mediaproxy to drop the ports. We have tried to scri

Re: [SR-Users] Multiple radius responses on a missed call

2013-02-08 Thread Efelin Novak
I'm little bit confused about a usage of radius acc_radius module. Parameters from acc_radius module can also be found in acc module after recompiling it with ENABLE_RADIUS_ACC=true. Which one should I use? Which one is more up to date? What is the difference? Cheers, Efelin 2013/2/8 Efelin Nova

Re: [SR-Users] Reg. functions in custom modules

2013-02-08 Thread Daniel-Constantin Mierla
Hello, you have to implement a callback mechanism. Perhaps you can extend the sr event framework. One point to start with is to look at how core is executing functions from the debugger module. Cheers, Daniel On 2/8/13 10:08 AM, madhumanju...@integramicro.com wrote: Hello All, Is it possib

Re: [SR-Users] Kamailio-Java Integration

2013-02-08 Thread Daniel-Constantin Mierla
On 2/6/13 11:39 PM, Konstantin M. wrote: 2013/2/7 Daniel-Constantin Mierla > As expected, a consistent list of dependencies, but I guess that people using java would have those installed anyhow :-) Is KamExec(...) running config functions exported by th

Re: [SR-Users] mysql: driver_error

2013-02-08 Thread Daniel-Constantin Mierla
Hello, did you get any error log message in syslog from mysql module? A quick check in the code shows that the counter is incremented on connection errors or fetching results. Cheers, Daniel On 2/5/13 11:29 AM, Uri Shacked wrote: Hi, I am doing some testing and i have trouble understandin

Re: [SR-Users] Somewhat OT: Specific SIP packets can cause ethernet controller reset

2013-02-08 Thread Daniel-Constantin Mierla
Hi Kristian, wow, a good catch. Thanks for sharing! I wonder what would be the effect in a virtualized environment, all VMs will be probably affected. You said that a firewall in front would catch the packets, but not the one running on the same physical host, right? Cheers, Daniel On 2/6/1

Re: [SR-Users] [Fwd: Re: Deleting the expired contacts using the Rtimer module]

2013-02-08 Thread Daniel-Constantin Mierla
The problem is that you declare the array in the private space of each process. Kamailio is a multi process application, a running instance starting several processes. Because you want to work on the same array from different processes, you must allocate that array in shared memory: When you

Re: [SR-Users] Multiple radius responses on a missed call

2013-02-08 Thread Efelin Novak
Thanks Daniel, I'll check it and post results here. Efelin 2013/2/8 Daniel-Constantin Mierla : > Hello, > > there are different event logged for accounting: > - missed call event which is sent from the point of view of callee > - transaction answered which is sent from the point of view of calle

[SR-Users] Reg. functions in custom modules

2013-02-08 Thread madhumanjusha
Hello All, Is it possible to call functions in custom modules say modules/my_module/my_file.c if my_file.c has a function and want to access/call it from kamailio core file ie., which is under /root/kamailio-3.3.2/receive.c ?? If not possible,what is the way to access functions in custom modules

Re: [SR-Users] dlg_manage and engage_media_proxy

2013-02-08 Thread Daniel-Constantin Mierla
Quick check in the code and discovered that the mediaproxy function set the dialog tracking flag. That is usually used when the dialog structure is wanted just before the forwarding of the message. dlg_manage() creates the dialog immediately. What is the order you use the two functions in conf

Re: [SR-Users] sr-users Digest, Vol 93, Issue 13

2013-02-08 Thread madhumanjusha
Yes,Yes I did it the way tm and mediaproxy modules are added... when i check /usr/local/lib/kamailio/modules I found my module and $stat module time is effected. SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list >> sr-users@lists.sip-router.org >> http://lists.sip-router.or

Re: [SR-Users] kamctl restart and mediaproxy

2013-02-08 Thread Daniel-Constantin Mierla
Hello, not using mediaproxy, but have you looked at its logs to see if prints some messages? Cheers, Daniel On 2/7/13 5:03 PM, Eduardo Lejarreta Langarica SARENET wrote: Good evening again. Kamailio 3.2.2 and mediaproxy 2.5.2 An long-time issue for us: kamctl restart stops mediaproxy audi

Re: [SR-Users] Reg. shared library linking during compiling time

2013-02-08 Thread Daniel-Constantin Mierla
Hello, some guidelines to write a new module are available at: - http://www.asipto.com/pub/kamailio-devel-guide/#c16_devel_new_module Cheers, Daniel On 2/8/13 8:06 AM, kiran bhosale wrote: madhumanju...@integramicro.com wrote: Hello All, Please find below steps...and kindly let me know the er

Re: [SR-Users] Multiple radius responses on a missed call

2013-02-08 Thread Daniel-Constantin Mierla
Hello, there are different event logged for accounting: - missed call event which is sent from the point of view of callee - transaction answered which is sent from the point of view of caller In db (eg mysql) accounting, each event in stored in a different table. I don't know how they are in r