[SR-Users] about tmx:inuse_transactions stat

2011-02-26 Thread Juha Heinanen
regarding tmx:inuse_transactions stat, it does not seem to exist among tm.stats: # sip-proxy_ctl tm.stats { current: 0 waiting: 0 total: 8 total_local: 0 replied_locally: 2 6xx: 0 5xx: 0 4xx: 1 3xx: 0 2xx: 7 cr

Re: [SR-Users] stats in kamailio

2011-02-26 Thread Juha Heinanen
Henning Westerholt writes: > "kamctl fifo get_statistics all" will show you all available statistics, > for a more simpler view try "kamctl moni". The closest thing you'll > find regards to the load are inuse transaction, or concurrent dialogs. tmx:inuse_transactions would be more useful if it wo

[SR-Users] how to route to new URI on failure

2011-02-26 Thread x-kamailio
I'm trying to route failed calls to a voicemail URI. The failure route couldn't be simpler: failure_route[FAIL_ONE] { if (t_is_canceled()) { exit; } if( t_check_status("486|408") { append_branch( "sip:foo@2.2.2.2"); t_relay(); } } But, it doesn't work. For example

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

2011-02-26 Thread x-kamailio
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 a call comes in to "home". I have set the append_branches