[SR-Users] LCR - inconsistent return results for gateway selection.

2012-08-06 Thread Graham Wooden (personal)
Hello, I am noticing that some of the time (not always consistent) that load_gw() / next_gw() will not always return the gateway with the lowest priority number. For example, when I look up a route for 205595, I have three grp_ids (gateways) that services the destination; with them being

Re: [SR-Users] LCR - inconsistent return results for gateway selection.

2012-08-06 Thread Graham Wooden (personal)
Thanks for the reply Juha. I have a 3.3.0 system that I have been trying to get my routing logic converted over. I will keep working on that. Thanks again, -graham On 8/6/12 12:12 PM, Juha Heinanen j...@tutpro.com wrote: Graham Wooden (personal) writes: What kind of debugging can I do

Re: [SR-Users] limiting concurrent calls with dialog module

2011-10-02 Thread Graham Wooden
Hi Uri, I just got done tailoring this exact concept with the dialog module (you may have just read my posts). Here is how I am doing it, roughly, for me. I have two places where I am executing the 3rd section below (for outbound and inbound). Your mileage will vary. modparam(auth_db,

Re: [SR-Users] Setting avp from load_credentials

2011-10-01 Thread Graham Wooden
://www.evaristesys.com http://www.evaristesys.com / On Oct 1, 2011, at 9:24 AM, Graham Wooden gra...@g-rock.net wrote: Hi there, Just doing a quick test and this doesn¹t appear to be working. Kamailio 1.5.5-notls. Snippet of code: modparam(auth_db, load_credentials, username

[SR-Users] Handling quota/call limits - kamailio 1.5

2011-09-30 Thread Graham Wooden
Hi there, Finally getting around to introducing some call limits and starting with the inbound calls. However, I ran into an issue about how to get the in use count to be updated in my quota table. What is the best way to get s:in_use to update so it can be calculated? Here is my snippet of

Re: [SR-Users] Handling quota/call limits - kamailio 1.5

2011-09-30 Thread Graham Wooden
; } set_dlg_profile(callquota,$rU); if (get_profile_size(callquota,$var(SIZE))) { xlog(DEBUG: there are $var(SIZE) total calls for $rU\n); } On 9/30/11 8:36 PM, Graham Wooden gra...@g-rock.net wrote: I agree - I actually tried

[SR-Users] Use of $rU

2011-09-30 Thread Graham Wooden
Hi there, What is pv for the equivalent of $rU for outbound? My inbound use of $rU has the correct username. All my subscribers are multi-number trunks, so on the outbound I need to associate the subscriber. This is kamailio 1.5. Thanks, -graham

Re: [SR-Users] Use of $rU

2011-09-30 Thread Graham Wooden
, errors, and general sloppiness. Alex Balashov - Principal Evariste Systems LLC 260 Peachtree Street NW Suite 2200 Atlanta, GA 30303 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.com/ On Sep 30, 2011, at 11:09 PM, Graham Wooden gra...@g-rock.net wrote: Hi

Re: [SR-Users] new functionality: CDR-based accounting

2011-08-10 Thread Graham Wooden
Hi Timo, I would be interested in the 1.5 backported module. Is that available for the masses? Thanks! -graham On 8/4/11 1:08 AM, Timo Reimann timo.reim...@1und1.de wrote: Hi all, as announced quite a while ago, I finally checked in code that allows to produce CDRs (Call Data

Re: [SR-Users] LCR Routes and memory allocations

2011-03-13 Thread Graham Wooden
Thanks Stagg and Iñaki. I already had the -m 512 in my init file, so it appears I am ok there. I went ahead and recompiled with PKG_MEM_POOL_SIZE to 16MB and I'll see how it goes. Thanks again, -graham On 3/13/11 7:39 AM, Iñaki Baz Castillo i...@aliax.net wrote: 2011/3/13 Graham Wooden gra

[SR-Users] LCR Routes and memory allocations

2011-03-12 Thread Graham Wooden
Hi there, I have now approximately 400,000 routes defined in my LCR table and I would like to make sure that I have enough memory allocated for it. I read somewhere (a non official Kamailio site) about PKG_MEM_POOL_SIZE and SHM_MEM_SIZE needing to be altered to handle the increased routes.

Re: [SR-Users] Handling timers from an Avaya PBX (throwing 404s)

2011-02-07 Thread Graham Wooden
The SIP Timer, no? When I do a sip trace, that is what I see come across from avaya system in the options packets. Supported: timer -graham On 2/7/11 2:16 AM, Klaus Darilion klaus.mailingli...@pernau.at wrote: Am 06.02.2011 15:48, schrieb Graham Wooden: The issue is that I am throwing

Re: [SR-Users] Handling timers from an Avaya PBX (throwing 404s)

2011-02-07 Thread Graham Wooden
Thanks Klaus. -graham On 2/7/11 7:13 AM, Klaus Darilion klaus.mailingli...@pernau.at wrote: Am 07.02.2011 13:47, schrieb Graham Wooden: The SIP Timer, no? When I do a sip trace, that is what I see come across from avaya system in the options packets. If it is an OPTIONS request I

[SR-Users] Handling timers from an Avaya PBX (throwing 404s)

2011-02-06 Thread Graham Wooden
Hi there, I turned up a few new sip trunk customers this past week, from which one of them was an Avaya system. The customer wasn¹t able to do a username/password auth, so I set them up as a permanent entry in the location table. I am running Kamailio 1.5.5. The issue is that I am throwing back

[SR-Users] LCR next_gw() - certain GW, source from other IP address

2011-01-29 Thread Graham Wooden
Hi there, I have a requirement now that for one of my GW¹s in my LCR, needs to be sourced from another IP address (two different rate-decks with the carrier). This ratedeck will always be at least 2nd inline ... I was thinking something along the sorts ... Some pseudo code: failure_route [2] {

Re: [SR-Users] LCR next_gw() - certain GW, source from other IP address

2011-01-29 Thread Graham Wooden
); }; route(2); } else { xlog(No gateways found!); Stagg On 1/29/11 9:10 AM, Graham Wooden wrote: Hi there, I have a requirement now that for one of my GW¹s in my LCR, needs to be sourced from another IP address (two different rate-decks

Re: [SR-Users] LCR next_gw() - certain GW, source from other IP address

2011-01-29 Thread Graham Wooden
, Graham Wooden gra...@g-rock.net wrote: Stagg, While the Ips are the same, the suggestion to use “rd” along with an entry in the “hostname” column appears to be what I want. I assigned in my DNS some testing hostnames to the single IP in question. When debugging, I see that rd contains

Re: [SR-Users] SIP CE vmware and vbox image

2010-12-30 Thread Graham Wooden
Sounds like your VM Host (the physical machine) doesn't have the VT bit (I believe that is what it's called) set on the CPU's. VMWare needs this so it can pass down x86_64 down to the guests. I know, it's very misleading as your CPUs may indeed be 64bit, but without the VT bit, the guests will

Re: [SR-Users] Can't Auth against Kamailio 3.1.1 - fresh install

2010-12-14 Thread Graham Wooden
...@gmail.com wrote: Hello, On 12/14/10 6:31 AM, Graham Wooden wrote: Hi folks, Getting ready to stage my 1.4.2 upgrade to 3.1.1 - but apparently I am missing something pretty basic here as I can't get a test subscriber registered. Turned up debug and viewed the 401 Unauthorized repeating

Re: [SR-Users] Can't Auth against Kamailio 3.1.1 - fresh install

2010-12-14 Thread Graham Wooden
Graham Wooden gra...@g-rock.net: Thanks for the reply Daniel. That was one of the docs that I was referred to, and those defines were added. I have this towards the top of the cfg file (above the if/elses): #!define WITH_MYSQL #!define WITH_AUTH #!define WITH_USRLOCDB #!define WITH_DEBUG

Re: [SR-Users] Can't Auth against Kamailio 3.1.1 - fresh install

2010-12-14 Thread Graham Wooden
Hello, run kamailio from console with -E -ddd command line parameters and read the printed log messages. You should be able to figure out whether is reaching authentication part of configuration file. Also, adding xlog(...) calls in config file might be useful for you to troubleshoot. From

[SR-Users] Variables for UNIX timestamps and acc/callid?

2010-07-20 Thread Graham Wooden
Hi there, Hopefully there are two simple answers for these. Running Kamailio 1.4.2. 1. Is there a variable that holds the current UNIX timestamp? Either when called in a route() or method. 2. What is the variable that is equivalent to the callid in the ACC module? Or better yet, what is the

Re: [SR-Users] Variables for UNIX timestamps and acc/callid?

2010-07-20 Thread Graham Wooden
Ah - perfect. Thank you Alex. -graham On 7/20/10 9:15 PM, Alex Balashov abalas...@evaristesys.com wrote: On 07/20/2010 10:12 PM, Graham Wooden wrote: 1. Is there a variable that holds the current UNIX timestamp? Either when called in a route() or method. Yep: http