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 to

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 it

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

2011-11-22 Thread Dmitry Petrakoff
Hi Andrei! As promised, I recompiled kamailio with your patch applied. First quick tests shows that error has gone. Server now able to initiate TCP session and communicate with remote. Will see how it'll behave under load ( after 14:00 CET ). I will inform you if we'll face with stability proble

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

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

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 wrote: > Hi, > > How can I set a filter for receiving 5xx messages, i.e. how can I parse 503 > messages receiv

[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 (Open

[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] (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

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

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: > 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

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 wrote: > I'm Trying to relay sip messages from sip client to asterisk. Kamailio > should accept the msg on 90

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 a

[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] 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 wrote: >> Hi List! >> >> I'm running Kamailio for about 1 year without any serious problems. >> When it works wi

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

2011-11-22 Thread Andrei Pelinescu-Onciul
On Nov 15, 2011 at 14:43, Dmitry Petrakoff wrote: > Hi List! > > I'm running Kamailio for about 1 year without any serious problems. > When it works with UDP only, it runs perfectly well for us. Without any > major issues. > > But now we have a customer who wants to connect Lync to our network.

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

[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

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) - Use

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

2011-11-22 Thread Daniel-Constantin Mierla
On 11/22/11 10:45 AM, Alex Balashov wrote: 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. Since it was about planned down time, I guess there is an admin that can trigger (or schedule

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 pa

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 suppo

Re: [SR-Users] Trouble with SERVICE

2011-11-22 Thread Daniel-Constantin Mierla
Hello, the right mailing list for asking questions about iptel.org voip service is: http://lists.iptel.org/mailman/listinfo/services Cheers, Daniel On 11/19/11 9:33 PM, jermaine.b...@gmail.com wrote: Greetings: I am mailing around trouble with the product attaching service to a STANDARD sip

Re: [SR-Users] How long (in bytes) is an AVP which reads an Integer from DB?

2011-11-22 Thread Iñaki Baz Castillo
2011/11/22 Daniel-Constantin Mierla : > On 11/21/11 4:33 PM, Iñaki Baz Castillo wrote: >> >> Hi, I need to read from a MySQL table a 32 bits long Integer column. >> My question is: how many bytes does Kamailio use for storing integer >> values fetched from a DB query? does it depend on the 32/64 bi

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 and

Re: [SR-Users] How to

2011-11-22 Thread Daniel-Constantin Mierla
Hello, On 11/21/11 3:26 PM, Sébastien Boutet wrote: Hello, In the features of kamailio, I can see 'replication for High Availability (HA)' But I can't find any tutorials for HA install. Could you help me or did you have any book wich explain how to do that ? what kind of data you need for rep

Re: [SR-Users] How long (in bytes) is an AVP which reads an Integer from DB?

2011-11-22 Thread Daniel-Constantin Mierla
Hello, On 11/21/11 4:33 PM, Iñaki Baz Castillo wrote: Hi, I need to read from a MySQL table a 32 bits long Integer column. My question is: how many bytes does Kamailio use for storing integer values fetched from a DB query? does it depend on the 32/64 bits architecture? the integer is 4 bytes in

Re: [SR-Users] Siremis installation problem

2011-11-22 Thread Jonny Klompas
I do. Thanks Jonny From: Elena-Ramona Modroiu To: Jonny Klompas ; SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users Mailing List Sent: Tuesday, November 22, 2011 10:57 AM Subject: Re: [SR-Users] Siremis installation problem Hi, On 1

Re: [SR-Users] Siremis installation problem

2011-11-22 Thread Elena-Ramona Modroiu
Hi, On 11/20/11 6:47 PM, Jonny Klompas wrote: Hi, When trying to access the Siremis home page to login after the installation, I receive the following error: The requested URL /siremis/index.php/user/login was not found on this server. do you have mod_rewrite enabled on apache web server?