Re: [SR-Users] Limit call duration

2011-03-02 Thread Joe Hart
You can use the dialog module to make that happen, Hans. Take a look at http://www.kamailio.org/docs/modules/1.5.x/dialog.html The dialog module is used to track the state of open dialogs in Kamailio and the module includes the option to impose a timeout. You do this by first setting a timeo

[SR-Users] Limit call duration

2011-03-02 Thread Hans Goossens
Hi, I'm wondering if there is a easy way to limit the call duration in Kamailio ? I would like to automaticaly end the call when the max. duration (for example 12 hours) is reached. In the feature overview of Kamailio 1.5 I found: "option to send BYE when dialog expires" but i'm can't figure

Re: [SR-Users] Question about time display in SIREMIS 2.0

2011-03-02 Thread Ricardo Martinez
Hello Ramona. It is odd. I have created a table in my openser database called “statistics”. The time_stamp column stores the $Ts from Kamailio. These are my last three entries : mysql> select id,time_stamp,ul_users,fwd_requests from statistics ORDER by id DESC limit 3; +--++

Re: [SR-Users] Question about time display in SIREMIS 2.0

2011-03-02 Thread Elena-Ramona Modroiu
Hi, for charts siremis uses the date() function to convert from unix timestamp that is written by kamailio to the displayed date. It might be possible to adjust the timezone from php.ini. Regards, Ramona On 2/28/11 10:30 PM, Ricardo Martinez wrote: Hello. Is there a way to adjust the time

Re: [SR-Users] problem unreferencing dialog in dialog module

2011-03-02 Thread Daniel-Constantin Mierla
Hello, looks like related to the callbacks for dialog module. Are you loading other modules that require dialog module? Checking the time staps from the acc and the crash log, the BYE for the dialog was before the crash but the To-tag is not printed from dlg_hash.c, although it is in the acc

[SR-Users] problem unreferencing dialog in dialog module

2011-03-02 Thread Anton Roman
Hi all, we are running Kamailio 3.1.2 in a production environment, using the dialog module, and it crashed two hours ago. Here you have the logs we got (addtional log fragments with the acc records involved in this call are appended at the end of the mail): Mar 2 14:43:05 kamailio2 /usr/local/

Re: [SR-Users] About RPM of Kamailio

2011-03-02 Thread Ovidiu Sas
Please post your questions to the mailing list. If you want to build an rpm, the location of the spec file is available in the source tree: ./pkg/kamailio/rpm/kamailio.spec.CenOS If you prefer a link: http://git.sip-router.org/cgi-bin/gitweb.cgi?p=sip-router;a=blob;f=pkg/kamailio/rpm/kamailio.spe

Re: [SR-Users] dispatcher confusion

2011-03-02 Thread Klaus Darilion
On 02.03.2011 11:52, Carsten Bock wrote: Hi everyone, the idea behind the probing mode was, to have three states for a gateway: - Active - In-Active: Administratively disabled - Probing (Active, but currently not responding) So, "inactive" should be the same as the newly introduced "disabled

Re: [SR-Users] dispatcher confusion

2011-03-02 Thread Carsten Bock
Hi everyone, the idea behind the probing mode was, to have three states for a gateway: - Active - In-Active: Administratively disabled - Probing (Active, but currently not responding) If you disable a gateway when it is in probing mode, it may end up with being enabled again due to some of Kamail

Re: [SR-Users] NAT Traversal

2011-03-02 Thread Spinov Evgeniy
On Wed, 2011-03-02 at 09:53 +0100, Daniel-Constantin Mierla wrote: > > On 3/2/11 9:32 AM, Spinov Evgeniy wrote: > > Unfortunately ngrep is unavailable right now, cause network was > > configured to use public IPs. May be I'll can do that on development > > network later. Right now development netw

Re: [SR-Users] NAT Traversal

2011-03-02 Thread Daniel-Constantin Mierla
On 3/2/11 9:32 AM, Spinov Evgeniy wrote: Unfortunately ngrep is unavailable right now, cause network was configured to use public IPs. May be I'll can do that on development network later. Right now development network using public`s also. I'll try to sort out ngrep anyway. I was giving FAEI

Re: [SR-Users] NAT Traversal

2011-03-02 Thread Spinov Evgeniy
Unfortunately ngrep is unavailable right now, cause network was configured to use public IPs. May be I'll can do that on development network later. Right now development network using public`s also. I'll try to sort out ngrep anyway. I was giving FAEI to INVITEs from UAC to Asterisk and FAIE to I

Re: [SR-Users] how to combine alias_db_lookup() with lookup()

2011-03-02 Thread Daniel-Constantin Mierla
Hello, On 2/27/11 3:46 AM, x-kamai...@sidell.org wrote: I'm trying to use the db_alias module as a way to define "generic" addresses that map to a set of actual phones. For example, I'd like the alias "h...@foo.bar" to map to "kitc...@foo.bar" and "off...@foo.bar", so that both phones ring when

Re: [SR-Users] Radius authentication

2011-03-02 Thread Daniel-Constantin Mierla
Hello, On 2/28/11 10:44 AM, Pablo Ros wrote: I am trying to authenticate through radius (info in LDAP database). I am using kamailio 3.1 First of all I would like to clear up an issue: As shown the way to do the authentication is done with: *Code:* if (! radius_www_authorize("uu.net

Re: [SR-Users] NAT Traversal

2011-03-02 Thread Daniel-Constantin Mierla
Hello, one option might be a bad ALG implementation in the router. Can you send a full ngrep of such case? You can obfuscate the IP addresses, use different ones for each point in the network and leave the ports. Seeing SIP headers and SDP can indicate the presence of an ALG or something brok