Re: [SR-Users] SIP application type

2010-10-28 Thread Daniel-Constantin Mierla
On 10/27/10 1:01 PM, Iñaki Baz Castillo wrote: 2010/10/27 Daniel-Constantin Mierlamico...@gmail.com: if you need to store video/audio, then you need to check the sdp of 200ok and look for videa media stream. If found, sent an AVP saying it is video call and configure acc module to store it

Re: [SR-Users] setdebug() and 3.X

2010-10-28 Thread Daniel-Constantin Mierla
On 10/26/10 2:22 PM, Sergey Okhapkin wrote: setdebug() function is no longer provided by core. How to change debug level dynamically in the script to trace execution of a few statements only? seems was lost in transition to 3.0, I will check to see what can be done with the new architecture.

Re: [SR-Users] About reply_code in 'carrierroute' module

2010-10-28 Thread Iñaki Baz Castillo
2010/10/28 marius zbihlei marius.zbih...@1and1.ro: No, it is not allowed. The restrictions are this. Length of reply_code in db table MUST be 3, and the only wildcard accepted is .. Thanks for the clarification. Could it be added to the module documentation? :) -- Iñaki Baz Castillo

[SR-Users] Problem with Kamailio not routing ACK to a 200 OK

2010-10-28 Thread Morten Isaksen
Hi, I have a strange problem with Kamailio 3.0.2. When one of our end users makes a call Kamailio does not route the ACK (in response to the 200 OK). For all other end users it works fine. For me it looks the the has_totag() checks for some reason fails and then t_check_trans() thinks it is a

Re: [SR-Users] setdebug() and 3.X

2010-10-28 Thread Sergey Okhapkin
I've found one more feature missed in 3.1 - error_route is eliminated and sanity module added. But if received SIP message is malformed and can't be parsed, routing script is not executed and I have no way to log the message to kamailio log. I did it in error_route before. This logging is

Re: [SR-Users] Billing party and radius accounting

2010-10-28 Thread Efelin Novak
Hello Juha thanks for answer. Yes, my server is proxy. Situation is like this: us...@domain -- us...@my_domain (redirect) us...@another_domain I have to bill call to another_domain to UserB. Regards, Efelin 2010/10/27 Juha Heinanen j...@tutpro.com Efelin Novak writes: I

Re: [SR-Users] Billing party and radius accounting

2010-10-28 Thread Juha Heinanen
Efelin Novak writes: The request uri after redirect will be us...@another_domain. I have to store the original request_uri(us...@my_domain) and after redirect, insert it to Billing Party header in radius message. yes, i had a typo in my answer. you, of course, need to use request uri before

Re: [SR-Users] Billing party and radius accounting

2010-10-28 Thread Efelin Novak
O, actually I have just found out that variables are stored across whole call. Thank you for your answers. Regards, Efelin 2010/10/28 Juha Heinanen j...@tutpro.com Efelin Novak writes: The request uri after redirect will be us...@another_domain. I have to store the original

[SR-Users] switch() - case: with intervals?

2010-10-28 Thread Nicolas Rüger
Hello, I wonder if there's a chance to use SWITCH in kamailio.cfg with intervals or ranges??? There's nothing to find in core cookbook about ranges with SWITCH. something like: switch ( $var(i) ){ case 1..10: # instructions... break; case [11-20]: #