Re: [SR-Users] SIP Router 3.03 topoh

2011-01-13 Thread marius zbihlei
On 01/13/2011 02:51 AM, dotnetdub wrote: On 29 November 2010 09:33, marius zbihlei > wrote: On 11/26/2010 12:38 AM, dotne Hi Marius, Will apply tomorrow and recompile.. I don't have a dump of the attack traffic but I'm sure it won

Re: [SR-Users] Dispatcher Setting

2011-01-13 Thread Carsten Bock
Hi Bernhard, that is simply up to you. But for my production setups so far, i used to catch 408, 5xx and 6xx. - 408 of course, it is a timeout (others were always valid responses in my case) - 5xx is, according to the RFC, a server failure, so that particular server cannot process the request. - 6

Re: [SR-Users] OpenIMSCore and Kamalio Integration

2011-01-13 Thread Carsten Bock
Removed some old content due to size limitations... ;-) Hi Andrés, I have updated our repository. The packages are now signed, so you may want to install the Key: wget http://repository.ng-voice.com/ngvoice-debian-gpg.key apt-key add ngvoice-debian-gpg.key Then add our repository to your “/etc/

Re: [SR-Users] Reconnection to db

2011-01-13 Thread Javier Gallart
Hi Daniel I have just tested it and I'm getting the same results. This is the kamailio version I'm testing: root@kam-test:/usr/local/kamailio/sbin# ./kamailio -V version: kamailio 3.2.0-dev2 (x86_64/linux) 35568f Thanks! Javi On Tue, Jan 4, 2011 at 3:46 PM, Javier Gallart wrote: > Hi list >

Re: [SR-Users] Dispatcher Setting

2011-01-13 Thread Bernhard Suttner
Hi, thanks for your response. It's like that how I handle it currently but some "500 Internal server error" from freeswitch will result, that the message is send to all the other freeswitch server, too. They will of course respond in the same way than the first does. All the freeswitch server s

Re: [SR-Users] Reconnection to db

2011-01-13 Thread Daniel-Constantin Mierla
Can you send the log messages (debug=3) for that moment (restart of pg server and making a new call/registration)? Daniel On 1/13/11 12:00 PM, Javier Gallart wrote: Hi Daniel I have just tested it and I'm getting the same results. This is the kamailio version I'm testing: root@kam-test:/usr

[SR-Users] How to test xhttp with wget or curl

2011-01-13 Thread mayamatakeshi
Hello, can someone give me a sample of calling to xhttp from curl or wget? I have this in my kamailio.cfg: listen=tcp:192.168.2.105:80 loadmodule "xhttp.so" event_route[xhttp:request] { xhttp_reply("200", "OK", "text/html", "OK - [$si:$sp]"); } But when I try wget or curl, kamail

Re: [SR-Users] How to test xhttp with wget or curl

2011-01-13 Thread mayamatakeshi
On Fri, Jan 14, 2011 at 12:14 AM, mayamatakeshi wrote: > Hello, > can someone give me a sample of calling to xhttp from curl or wget? > > I have this in my kamailio.cfg: > > > listen=tcp:192.168.2.105:80 > > loadmodule "xhttp.so" > > event_route[xhttp:request] { > xhttp_reply("200", "OK", "tex

Re: [SR-Users] How to test xhttp with wget or curl

2011-01-13 Thread Mikko Lehto
Hi I think you are not succeeding because of missing Content-Length header. Try to add Content-Length to your HTTP request or you can use tcp_accept_no_cl=no in sip-router.cfg. -- Mikko ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users m

Re: [SR-Users] How to test xhttp with wget or curl

2011-01-13 Thread mayamatakeshi
On Fri, Jan 14, 2011 at 12:24 AM, Mikko Lehto wrote: > Hi > > I think you are not succeeding because of missing Content-Length header. > > Try to add Content-Length to your HTTP request or > you can use tcp_accept_no_cl=no in sip-router.cfg. > Thanks. You are right. This works too: wget --heade

[SR-Users] manual dispatching

2011-01-13 Thread Klaus Darilion
Hi! I would like to use probing implementation in dispatcher module to keep track of the state of the gateways, but I want to choosing a gateway manually in the config. For example I defined a dispatcher set with 6 entries. Then in .cfg I want to retrieve a certain entry from the set (by ind

Re: [SR-Users] manual dispatching

2011-01-13 Thread Klaus Darilion
Am 13.01.2011 17:32, schrieb Klaus Darilion: Hi! I would like to use probing implementation in dispatcher module to keep track of the state of the gateways, but I want to choosing a gateway manually in the config. For example I defined a dispatcher set with 6 entries. Then in .cfg I want to r

[SR-Users] Merging nathelper modules

2011-01-13 Thread Ovidiu Sas
Hello all, The nathelper module in modules_k was split in two: - nathelper (dealing with signaling); - rtpproxy (dealing with rtpproxy protocol). I would like to move the rtpproxy module from "modules_k" into "modules" and remove rtpproxy functionality from nathelper (s). This will give to (s)

Re: [SR-Users] manual dispatching

2011-01-13 Thread Klaus Darilion
Klaus Darilion wrote: Just as an idea - do you think that will work? - use htable for storage of the GW-list and their state - use rtimer to execute 'probe' route every few seconds - in probe route iterate over GW-list and send OPTIONS requests (with short timeout) to the GWs - use response_rout

Re: [SR-Users] Bug in LDAP module?

2011-01-13 Thread Mikko Lehto
On Tue, Dec 28, 2010 at 11:50:22AM +0100, Daniel-Constantin Mierla wrote: > Seemed to be a feature -- ldap module had it this way from its > beginning. I committed the update that should create connection to Ldap > server from timer processes, so the functions should work now in failure > ro

[SR-Users] IP Address

2011-01-13 Thread Bernhard Suttner
Hi, I have a very short question: Kamailio does listen to many IP Addresses and does forward messages to the peer with t_relay. Which IP address will kamailio use for the outgoing traffic as source-ip, if there are many IP addresses on the interface? Is it possible to specify this somehow? Th