Re: [SR-Users] decode_mime_type error

2011-08-17 Thread Bucur Marius
Hello Jijo, It seems like the decode_mime_type is a somehow broken. The comma is very well allowed in boundary, as you said. The BNF specified in RFC2046 permits it. But, the decode_mime_type function ignores everything coming after comma. More than that, it notifies the function caller that thi

Re: [SR-Users] The not so simple Kamailio Load Balancing of Asterisk

2011-08-17 Thread Stefan Sayer
Wouldn't it make more sense to add current load information to some headers of all messages coming from asterisk? most probably, the app/media server/gateway is sending messages to the proxy very often anyway, and if not, some options pinging can be done if there's no traffic for a while (pro

[SR-Users] decode_mime_type error

2011-08-17 Thread Jijo
Hi All, The function parse_content_type_hdr() is failing in decode_mime_type() when Content-Type parameter "boundary" has value comma as below. The error message is "ERROR:parse_content_type_hdr: CONTENT_TYPE hdr contains " "more then one mime type :-(! Content Type Header is as below

[SR-Users] LCR Modules Comparison

2011-08-17 Thread Juha Heinanen
Spencer Thomason writes: > Can anyone shed some light into the differences between the available > LCR modules? We have migrated our config from OpenSIPS where we used > the drouting module to Kamailio where we are using the lcr module. > Our ruleset is not crazy huge, about 100k entries. Are th

Re: [SR-Users] lookup for specified user

2011-08-17 Thread Efelin Novak
Thanks, the branch route worked well. Efelin 2011/8/12 Klaus Darilion : > > > Am 12.08.2011 14:31, schrieb Efelin Novak: >> Hi thanks for answers, >> >> unfortunately I need to send original RURI username (rU) to the user. >> Setting up aliases_db I came to this situation: >> > > 0. $var(temp) =

[SR-Users] LCR Modules Comparison

2011-08-17 Thread Spencer Thomason
Hello all, Can anyone shed some light into the differences between the available LCR modules? We have migrated our config from OpenSIPS where we used the drouting module to Kamailio where we are using the lcr module. Our ruleset is not crazy huge, about 100k entries. Are there compelling reas

Re: [SR-Users] The not so simple Kamailio Load Balancing of Asterisk

2011-08-17 Thread Edson - Lists
Couldn't this be already doable through Lua or other external way? Something like "ask all asterisk box about their load and return the next to receive the call"? Edson. Em 17/08/2011 07:17, Daniel-Constantin Mierla escreveu: On 8/17/11 12:07 PM, Olle E. Johansson wrote: At some point I wo

Re: [SR-Users] Dumping Online Users stops at 2000 records

2011-08-17 Thread Daniel-Constantin Mierla
Hello, On 8/17/11 1:41 PM, Sebastian Damm wrote: Hi Henning, On Wed, Aug 17, 2011 at 11:33 AM, Henning Westerholt mailto:henning.westerh...@1und1.de>> wrote: On Wednesday 17 August 2011, Sebastian Damm wrote: > we have a script running on our Kamailio servers which dumps all onli

Re: [SR-Users] Dumping Online Users stops at 2000 records

2011-08-17 Thread Sebastian Damm
Hi Henning, On Wed, Aug 17, 2011 at 11:33 AM, Henning Westerholt < henning.westerh...@1und1.de> wrote: > On Wednesday 17 August 2011, Sebastian Damm wrote: > > we have a script running on our Kamailio servers which dumps all online > > users with kamctl ul show, parses it and then sends it to dat

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

2011-08-17 Thread Henning Westerholt
On Wednesday 17 August 2011, Daniel-Constantin Mierla wrote: > [..] > I would prefer no commit on the mainstream SVN branches, so we do not > open past releases, that will create lot of confusion. Hello, I'd like to second this, especially as we're not planning to maintain this special backport,

Re: [SR-Users] The not so simple Kamailio Load Balancing of Asterisk

2011-08-17 Thread Daniel-Constantin Mierla
On 8/17/11 12:07 PM, Olle E. Johansson wrote: At some point I would love integrating Asterisk AMI feedback into the scheme. If we do that, we can get proper load balancing for Asterisk, based on current usage and capacity of each server, not just calls sent to them from Kamailio. That would

Re: [SR-Users] siptrace loosing an ACK

2011-08-17 Thread Daniel-Constantin Mierla
Hello, indeed the outgoing ACK was not captured. I did a commit in the last days that should address this issue: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=9d8df2527d13878cee23af5b14f142a0cc4cd878 You have to use the onsend_route block for it, like: onsend_route {

Re: [SR-Users] E2E ACK is not logged with siptrace modul kamailio

2011-08-17 Thread Daniel-Constantin Mierla
Hello, I have committed the feature to be able to use sip_trace() from onsend_route, therefore you can catch forwarded ACKs: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=9d8df2527d13878cee23af5b14f142a0cc4cd878 An example of usage would be: onsend_route { if(method=

Re: [SR-Users] The not so simple Kamailio Load Balancing of Asterisk

2011-08-17 Thread Olle E. Johansson
At some point I would love integrating Asterisk AMI feedback into the scheme. If we do that, we can get proper load balancing for Asterisk, based on current usage and capacity of each server, not just calls sent to them from Kamailio. /O ___ SIP Expre

Re: [SR-Users] The not so simple Kamailio Load Balancing of Asterisk

2011-08-17 Thread Daniel-Constantin Mierla
Hello, the example in README of dispatcher module in devel branch has a better example of using it for load balancing: http://kamailio.org/docs/modules/devel/modules_k/dispatcher.html#id2523016 Cheers, Daniel On 8/17/11 4:20 AM, Nick Khamis wrote: Hello Everyone, I saw the simple load bala

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

2011-08-17 Thread Daniel-Constantin Mierla
Hello, On 8/11/11 10:12 AM, Timo Reimann wrote: Hey Graham, On 10.08.2011 14:27, Graham Wooden wrote: I would be interested in the 1.5 backported module. Is that available for the masses? I personally wouldn't mind publishing the backport code. One interesting question, however, is in what f

Re: [SR-Users] Dumping Online Users stops at 2000 records

2011-08-17 Thread Henning Westerholt
On Wednesday 17 August 2011, Sebastian Damm wrote: > we have a script running on our Kamailio servers which dumps all online > users with kamctl ul show, parses it and then sends it to database. (For > explanation, we started doing it this way because we noticed at least with > an older (open)ser r

[SR-Users] Dumping Online Users stops at 2000 records

2011-08-17 Thread Sebastian Damm
Hi, we have a script running on our Kamailio servers which dumps all online users with kamctl ul show, parses it and then sends it to database. (For explanation, we started doing it this way because we noticed at least with an older (open)ser release that SER would completely stop working for a co