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

2013-02-06 Thread kiran bhosale
Hi we have developed the custom module which stores the registered users in a file.now we are trying to remove the expired contacts using the rtimer module.while saving the registered users to the file we also store the expires values in static array.but when we try to decrement

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

2013-02-06 Thread kiran bhosale
he array values that we are modifying and the function that we call periodically are from our module . to exemplify i have put the code below .our requirement is that we want to delete the expired contacts without relying on usrloc module as "we have not used any DB for contact

[SR-Users] Need help in rewriting the Request URI

2013-02-06 Thread Ajay Sabat
Hi, I use Kamailio for basic call setup with one exception where it has to route call to another server by seeing the domain name in the Request URI. If the Request uri in the received INVITE message looks like "sip12345@video-conf", then it should route the INVITE request to the video-conf ser

Re: [SR-Users] Kamailio-Java Integration

2013-02-06 Thread Konstantin M.
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 the modules? Maybe it > should be more explicit, eventually with an example. I h

Re: [SR-Users] Kamailio-Java Integration

2013-02-06 Thread 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 the modules? Maybe it should be more explicit, eventually with an example. I haven't looked at the code, just mentioning

Re: [SR-Users] Kamailio-Java Integration

2013-02-06 Thread Konstantin M.
I just published. Here is a link: http://voipgroup.org.ua/kamailio/dev/kamailio_app_java_v0.1a-README.txt 2013/2/7 Daniel-Constantin Mierla > Hello, > > is the readme or other documentation available directly on the web? I am > not a java user, but I (and others) can look over and spot if there

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

2013-02-06 Thread Daniel-Constantin Mierla
Hello, the static array is stored on the private memory per process, thus cannot be updated by the timer. You should allocate the array in shared memory at startup, then it should work to update it from different application processes. Be sure you synchronize (with locks/mutexes) the operati

Re: [SR-Users] Kamailio-Java Integration

2013-02-06 Thread Daniel-Constantin Mierla
Hello, is the readme or other documentation available directly on the web? I am not a java user, but I (and others) can look over and spot if there is something to make it coherent in with the rest of embedded interpreters. Cheers, Daniel On 2/6/13 6:10 PM, Konstantin M. wrote: Hello. I've

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

2013-02-06 Thread Kristian Kielhofner
While not strictly Kamailio related this issue could certainly affect some of you: http://blog.krisk.org/2013/02/packets-of-death.html I'm hearing initial reports that this issue is fairly widespread. -- Kristian Kielhofner ___ SIP Express Router (SE

Re: [SR-Users] Kamailio-Java Integration

2013-02-06 Thread Konstantin M.
Hello. I've build an application app_java - Java Native Interface support for Kamailio. It is an alpha version. Works with kamailio >= 3.2. A code isn't in main release right now. You can download it: http://voipgroup.org.ua/kamailio/dev/kamailio_app_java_v0.1a.tar.gz I would be a very grateful

Re: [SR-Users] Update existing module or create new?

2013-02-06 Thread Henning Westerholt
Am Dienstag, 5. Februar 2013, 13:55:41 schrieb Charles Chance: >> as the original author of the module I'd think that changing or replacing >> the existing module would be the way to go. So far I'd not recieved that >> much of bug reports against the existing module. And as Alex Balashov also >> me