Re: [SR-Users] HELP

2010-10-28 Thread Daniel-Constantin Mierla
Hello, run kamailio in higher debug mode to see the log messages with hints why is not authenticated. I see that you have double authentication, one for realm asterisk and one for realm aliasdomain.com. Is it what you want to have? One more hint, in 3.1 you can load debugger module and prin

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 Mierla: 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 via an extra account

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] PSTN call

2010-10-28 Thread Daniel-Constantin Mierla
Hello, On 10/25/10 3:49 PM, michel freiha wrote: Dear All, Can someone help me to connect my kamilio in order to make a PSTN call by rewriting host tp PSTN gateway? I changed my config in a manner to do that...The line is ringing but as soon as I open the line on other side the call will han

[SR-Users] Asterisk, Kamailio, Openfire and Social Media Integration

2010-10-28 Thread Daniel-Constantin Mierla
Hello, courtesy of Kelvin Chua, I received the slides he presented yesterday at Astricon 2010 to the session "Asterisk, Kamailio, Openfire and Social Media Integration". More details at: http://www.kamailio.org/w/2010/10/asterisk-kamailio-openfire-and-social-media-integration/ Cheers, Daniel

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

2010-10-28 Thread marius zbihlei
On 10/27/2010 02:32 AM, Iñaki Baz Castillo wrote: Hi, how is the syntax of the "reply_code" column in 'carrierroute' module? In the doc I some examples: 408 404 50. Obviously "50." means any code starting by "50", but is it a typical regular expression? For example, does it allow somet

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

2010-10-28 Thread Iñaki Baz Castillo
2010/10/28 marius zbihlei : > 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 __

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

2010-10-28 Thread marius zbihlei
On 10/28/2010 01:23 PM, Iñaki Baz Castillo wrote: 2010/10/28 marius zbihlei: 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 documentatio

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

2010-10-28 Thread Iñaki Baz Castillo
2010/10/28 marius zbihlei : >> Could it be added to the module documentation? :) > > Done in master and 3.1 Thanks a lot :) -- Iñaki Baz Castillo ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.o

[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 ACK

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 impor

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 > Efelin Novak writes: > > > I have a proble

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

2010-10-28 Thread Juha Heinanen
Efelin Novak writes: > 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. then you must make sure that your billing uri in the accounting rec

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

2010-10-28 Thread Efelin Novak
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. I need UserC not to be aware of the redirect. In this case I have to make a new call to UserC. This call 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 befor

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 > Efelin Novak writes: > > > The request uri after redirect will be us...@another_domain. I have to > store > > the original request_uri(us...@my_d

[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]: # instruction

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

2010-10-28 Thread Efelin Novak
Unfortunately I was wrong about variables ($var). They are same across whole kamailio process. Neither $avp is good for me as they are transaction aware. I need to store variable in the current dialog. I was looking into dialog module, but no luck. I wasn't able to make dialog variables $dlg and $d

[SR-Users] Kamailio Business Directory

2010-10-28 Thread Daniel-Constantin Mierla
Hello, I am please to announce the launch of Kamailio Business Directory. This is a web page hosted by the project site that will list companies and individuals offering products, services or solutions based on Kamailio or SER. It is an open directory that tries to enable more visibility to t