Re: [SR-Users] Broadcasting message to users...

2011-11-22 Thread Daniel-Constantin Mierla
Hello, On 11/20/11 8:41 PM, Krishna Kurapati wrote: Hi, During planned down time of Kamailio, I would like to send a Notice to all the users currently registered on the system. It would be nice if it appears in their Chat windows. I am thinking if I could loop through user_location table

Re: [SR-Users] Core compiled with Sctp support

2011-11-22 Thread Daniel-Constantin Mierla
Hello, On 11/18/11 2:44 PM, Stefan Ljung wrote: Just one more question. Iget these warnings: CC (gcc) [ser] sctp_server.o sctp_server.c:504:2: warning: #warning no sctp lib support for SCTP_FRAGMENT_INTERLEAVE, consider upgrading sctp_server.c:550:2: warning: #warning no sctp lib

Re: [SR-Users] Broadcasting message to users...

2011-11-22 Thread Alex Balashov
I interpreted the question to be whether there is an event route/callback on graceful shutdown of Kamailio, such as with the receipt of SIGTERM or SIGINT. I assume there is not, but it could be a nice feature. The OP's request could then be satisfied with uac_req_send(). -- This message was

Re: [SR-Users] FW: db_mysql - unhandled data type column

2011-11-22 Thread Stephen Dodge (Bistech)
Thanks Daniel, I just needed to cast the NULL before returning it from my MySQL function. cast(NULL as unsigned integer) Regards Steve From: Daniel-Constantin Mierla [mailto:mico...@gmail.com] Sent: 18 November 2011 09:40 To: SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) -

[SR-Users] LCR weight parameter

2011-11-22 Thread Fabian Borot
Hello On kamailio 1.5.2, I need to choose the gw from a group according to its weight. After trying unsuccessfully with different values I realized that the help guide says that the load_gw functions can return gateways according to gateway's randomized weight within its group. So, I

[SR-Users] LCR weight parameter

2011-11-22 Thread Juha Heinanen
Fabian Borot writes: 1- since it is randomized, does this mean that the weight parameter actually can not guarantee that the weight value can decide how gateways are ordered? it is a randomized weight, not an absolute priority. 2- once I have the gws on the avp, is it posible to re-order

Re: [SR-Users] strange behavior when trying to reach PSTN gateway via TCP

2011-11-22 Thread Dmitry Petrakoff
Hi Andrei, hi list! Of course! Will try it tomorrow morning and will report accordingly! On 22.11.11 13:07, Andrei Pelinescu-Onciul wrote: On Nov 15, 2011 at 14:43, Dmitry Petrakoff di...@dprs-consulting.com wrote: Hi List! I'm running Kamailio for about 1 year without any serious problems.

[SR-Users] Problem to relay sip message recieved port 9090 to asterisk port 7160

2011-11-22 Thread arif tuhin
I'm Trying to relay sip messages from sip client to asterisk. Kamailio should accept the msg on 9090 udp port and it will forward the sip message to 7160 udp port of Asterisk. I thought the default cfg file will be enough to accomplish this simple task. But kamailio is receiving the msg ok but

Re: [SR-Users] LCR weight parameter

2011-11-22 Thread Fabian Borot
Thanks Juha, I figured that the avp reordering would be something like that. The help file for versions 3.1 and 3.2 also says randomized weight, does it really work on those versions? this is from 3.2 *** When the function load_gws() is called, matching gateways (that

Re: [SR-Users] Problem to relay sip message recieved port 9090 to asterisk port 7160

2011-11-22 Thread Sammy Govind
Hi, Can you capture a sip trace on Kamailio server for this, also paste your configuration file ! so someone can figure out. Regards, Sammy. On Tue, Nov 22, 2011 at 5:14 PM, arif tuhin etothepowe...@hotmail.comwrote: I'm Trying to relay sip messages from sip client to asterisk. Kamailio

Re: [SR-Users] LCR weight parameter

2011-11-22 Thread Juha Heinanen
Fabian Borot writes: The help file for versions 3.1 and 3.2 also says randomized weight, does it really work on those versions? yes it does. or do you mean the priority column on the lcr_rule_target table instead? yes. This may be a dumb question but since I don't get it I have to ask:

Re: [SR-Users] LCR weight parameter

2011-11-22 Thread Fabian Borot
thank you Juha, I understand the purpose and that is how I intend to use it, [more weights for gws with more capacity] but I guess I should have rephrase my question as: what is the purpose of the randomized weight value then? when you randomize it then the weight parameter becomes useless.

Re: [SR-Users] LCR weight parameter

2011-11-22 Thread Juha Heinanen
Fabian Borot writes: 3 gws inside same group, and assuming the higher the weight the higher the capacity gw 1 with weight 20 gw 2 with weight 30 gw 3 with weight 60 I would like to send more calls to gw 3, then gw 2 then gw 1 but if when I do a load_gws, and I randomize the weight

[SR-Users] (no subject)

2011-11-22 Thread Charles Wang
http://functioncatering.co.za/modules/mod_wdbanners/blog.php?html143 ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

[SR-Users] Kamailio best performance

2011-11-22 Thread Ricardo Martinez
Hello list. I’m having some issues with the Kamailio versión 3.2.0. I want to ask if someone could give some hints how to optimize the performance of my kamailio server. For some reason and from time to time the kamailio process start to answer slower than usual, making calls fail and register

[SR-Users] parse 503 message

2011-11-22 Thread Robert R
Hi, How can I set a filter for receiving 5xx messages, i.e. how can I parse 503 messages received by the proxy? I have tried the following and none works: t_check_status(503) is_method(503) Thanks, R ___ SIP Express Router (SER) and Kamailio

Re: [SR-Users] parse 503 message

2011-11-22 Thread Ovidiu Sas
You need to use t_check_status inside a failure_route.Take a look at the default config to see how a failure_route is enabled. Regards,Ovidiu Sas On Tue, Nov 22, 2011 at 3:20 PM, Robert R rob1...@gmail.com wrote: Hi, How can I set a filter for receiving 5xx messages, i.e. how can I parse 503

[SR-Users] kamailio 3.1.0 crash on ssl-dos attack

2011-11-22 Thread Jijo
Hi All, Kamailio is resetting when we do TLS renegotiation dos attack using the tool available at http://www.thc.org/thc-ssl-dos/. Anybody looked at this issue? How we could resolve it. Any idea? The core generated for 3 pid's as below Pid 1: Core was generated by `/usr/sbin/kamailio -u

[SR-Users] simple proxy

2011-11-22 Thread Iurii Andamasov
Hello list. First of all sorry for dump question, i'm pretty new to kamailio so i hope someone point me in right direction currently i have one sip device which can handle sip request only from one ip, my goal is to put kamailio in front of it so i can proxy requests from several ips i added

Re: [SR-Users] simple proxy

2011-11-22 Thread Daniel-Constantin Mierla
Hello, On 11/23/11 4:02 AM, Iurii Andamasov wrote: Hello list. First of all sorry for dump question, i'm pretty new to kamailio so i hope someone point me in right direction currently i have one sip device which can handle sip request only from one ip, my goal is to put kamailio in front of

Re: [SR-Users] Kamailio best performance

2011-11-22 Thread Daniel-Constantin Mierla
Hello, On 11/22/11 8:56 PM, Ricardo Martinez wrote: Hello list. I'm having some issues with the Kamailio versión 3.2.0. I want to ask if someone could give some hints how to optimize the performance of my kamailio server. For some reason and from time to time the kamailio process start