Re: [SR-Users] need help for newbie in Kamailio

2012-03-20 Thread Rabary
Thank you all for the answers. Finally, there is not a very big problem if one side is disconnected because the other side will end dialog when phone will be hang up have a good day :) -- Inutile d'imprimer ce mail Le -10/01/-28163 22:59, Reda Aouad a écrit : Not also that the recommend se

Re: [SR-Users] LCR

2012-03-20 Thread Juha Heinanen
Jeff Russell writes: > We have a table with about 145,000 NPA/NXX's with differing rates and > carriers, I would like to use the LCR module to load this table and > rewrite the URI based on the best rate for dialled number and or a > default route. lcr module selects the gateways first based on l

[SR-Users] Kamailio NP module

2012-03-20 Thread Ahmed
Hi, I try to run this module, but unsuccesfully. Can you give me some advices? How I can start the pdb_server? I compile and install it, but don´t know how get it run. I must add loadmodule="pdb.so" in kamailio.cfg file? When I did it, kamailio didnt start. Starting end with error. I think that the

Re: [SR-Users] LCR

2012-03-20 Thread Jeff Russell
Details... We have a table with about 145,000 NPA/NXX's with differing rates and carriers, I would like to use the LCR module to load this table and rewrite the URI based on the best rate for dialled number and or a default route. The new 'in memory" LCR module should be efficient enough (we a

Re: [SR-Users] acc log in two databases

2012-03-20 Thread Daniel-Constantin Mierla
Hello, indeed it is no such feature embedded in acc module. On the other hand, acc do database is practically a SQL INSERT query done at the moment 200 ok for request is processed. So the same functionality can be achieved from config file via sqlops, module that can connect to many db server

Re: [SR-Users] Proxy Registrations offset port

2012-03-20 Thread Daniel-Constantin Mierla
Hello, On 3/20/12 10:36 PM, Robert wrote: I've spent a significant amount of time now jacking with configurations... Maybe I should re-state what I'm trying to do... I'm trying to establish an SBC / UpperRegistration SBC... The goal -- is to listen on a port other than 5060 and relay the reg

Re: [SR-Users] AVPs in timer-route

2012-03-20 Thread Daniel-Constantin Mierla
Hello, On 3/20/12 8:13 PM, Klaus Darilion wrote: Hi! I wonder what happens to AVPs defined in a route which is executed by rtimer? It seems (tests on Kamailio 1.5) that the AVPs, once they are defined, they life forever. This would be fine for my application. Are there any issues when usi

Re: [SR-Users] Proxy Registrations offset port

2012-03-20 Thread Robert
I've spent a significant amount of time now jacking with configurationsŠ Maybe I should re-state what I'm trying to doŠ I'm trying to establish an SBC / UpperRegistration SBCŠ The goal ­ is to listen on a port other than 5060 and relay the registration to the actual proxy. I.e. IP Phone ---> Ka

[SR-Users] AVPs in timer-route

2012-03-20 Thread Klaus Darilion
Hi! I wonder what happens to AVPs defined in a route which is executed by rtimer? It seems (tests on Kamailio 1.5) that the AVPs, once they are defined, they life forever. This would be fine for my application. Are there any issues when using AVPs in timer routes? Thanks Klaus ___

[SR-Users] Pdb module

2012-03-20 Thread Ahmed
Hi, I try to run this module, but unsuccesfully. Can you give me some advices? How I can start the pdb_server? I compile and install it, but don´t know how get it run. I must add loadmodule="pdb.so" in kamailio.cfg file? When I did it, kamailio didnt start. Starting end with error. I think

Re: [SR-Users] Request-URI in fail route

2012-03-20 Thread Jan Klepal
Hello Daniel, yes, it works fine. Thank you very much for the patch. Cheers, Jan On Monday 19 of March 2012 11:26:20 you wrote: > Hello, > > for convenience, I extended dispatcher module to be able to give the uri > value as parameter to add_diversion() function, see commit: > > http://git.sip

Re: [SR-Users] server overload mitigation

2012-03-20 Thread Henning Westerholt
On Tuesday 20 March 2012, Vineet Menon wrote: > Hi, > > does kamailio mitigate server overload???If yes how is that?? > Is there a setting for high water mark or something?? > > > Regards, > > Vineet Menon Hi Vineet, you can use the pike and ratelimit on e.g. a balancer server to limit the r

Re: [SR-Users] acc log in two databases

2012-03-20 Thread Carsten Bock
Hi, not at the moment. The best approach would probably be to implement this on database level (e.g. MySQL-replication). Carsten 2012/3/20 Johannes Wagner-Meingassner : > hi, > > is it possible configure accounting to log into 2 databases at the same time? > > thanks, > hannes > > modparam("acc"

[SR-Users] acc log in two databases

2012-03-20 Thread Johannes Wagner-Meingassner
hi, is it possible configure accounting to log into 2 databases at the same time? thanks, hannes modparam("acc", "db_url", "mysql://user:pw@localhost/ser") modparam("acc", "db_url", "mysql://user:pw@10.10.10.10/ser") modparam("acc", "db_flag", 1) modparam("acc", "db_missed_flag", 3) ___

Re: [SR-Users] FW: Unsuccessful call using DRouting - Request Timeout

2012-03-20 Thread Fatima Chahrour~Vanrise Support
Hello, The call is successful now after I connected it to C3x gateway. Kind Regards, F.Chahrour -Original Message- From: sr-users-boun...@lists.sip-router.org [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Fatima Chahrour~ Vanrise Technical Support Sent: Monday, March 19, 20

Re: [SR-Users] Kamailio Load Testing

2012-03-20 Thread Vineet Menon
check this linkhttp://www.kamailio.org/docs/openser-performance-tests/ Regards, Vineet Menon On 20 March 2012 16:42, Stephen Dodge (Bistech) < special.proje...@bistech.co.uk> wrote: > Hello, > > ** ** > > I am running Kamailio 3.1.5 with a MySQL backend on CentOS. A connection > t

[SR-Users] Kamailio Load Testing

2012-03-20 Thread Stephen Dodge (Bistech)
Hello, I am running Kamailio 3.1.5 with a MySQL backend on CentOS. A connection to MySQL (an off box MySQL cluster) is required for every call, sqlops is used to determine destinations and acc to record CDR information. I am planning to load test our server using SIPp to generate calls, I wa

Re: [SR-Users] ACCDB insert issues

2012-03-20 Thread Uri Shacked
no log on the msqld for it. there is the CDR server that collects the events every 5 min and deletes old once... i disabled it becoase i believed it was it. but, no the error apears again... a BI specialist told me it must have something to do with the number of columns and the data type... O

Re: [SR-Users] ACCDB insert issues

2012-03-20 Thread Daniel-Constantin Mierla
Do you have error messages in mysql server logs? Is there another application that may block the acc table? The error refers to unavailability of the mysql server... Cheers, Daniel On 3/20/12 11:03 AM, Uri Shacked wrote: ERROR: db_mysql [km_dbase.c:122]: driver error on query: Lost connection

Re: [SR-Users] ACCDB insert issues

2012-03-20 Thread Uri Shacked
ERROR: db_mysql [km_dbase.c:122]: driver error on query: Lost connection to MySQL server during query Mar 18 20:03:38 net-ivr-KamIN-J1 /usr/local/sbin/kamailio[2671]: ERROR: [db_query.c:186]: error while submitting query Mar 18 20:03:38 net-ivr-KamIN-J1 /usr/local/sbin/kamailio[2671]: ERROR: acc [

Re: [SR-Users] ACCDB insert issues

2012-03-20 Thread Daniel-Constantin Mierla
Hello, On 3/20/12 10:11 AM, Uri Shacked wrote: Hi, I am using the ACCDB with extra data. I collect the data to AVP's and set it on the db_extra. It gets to be 37 columns Pretty long... The problem I experience is that after a while (2-3 hours) with about 15 CAPS the MySQL ACC insert er

Re: [SR-Users] need help for newbie in Kamailio

2012-03-20 Thread Juha Heinanen
Reda Aouad writes: > But servers cost money to buy, host, and maintain. > This is why I would really love to see such functionality in Kamailio. fine with kamailio if you don't have any media based services (voicemail, announcements, conferencing, etc.), where you would need something like sems a

Re: [SR-Users] need help for newbie in Kamailio

2012-03-20 Thread Reda Aouad
Thanks Juha for the idea. But servers cost money to buy, host, and maintain. This is why I would really love to see such functionality in Kamailio. May I suggest that for the next release ? Reda On Tue, Mar 20, 2012 at 10:12, Juha Heinanen wrote: > Reda Aouad writes: > > > One solution if y

Re: [SR-Users] need help for newbie in Kamailio

2012-03-20 Thread Reda Aouad
Not also that the recommend session timer value that UACs generally use by default is 1800 seconds, or 30 minutes. Just in case you may accept it. To me, it's not acceptable when customers are billed. However, the risk is not so big. If one of the UACs is suddenly disconnected, the other party wil

Re: [SR-Users] need help for newbie in Kamailio

2012-03-20 Thread Juha Heinanen
Reda Aouad writes: > One solution if you really need to solve your problem would be to put a > B2BUA in the SIP path, such as Asterisk or FreeSwitch. They enforce a > maximum session timer which UACs can use to ping themselves every now and > then, and Asterisk can even ping the UACs and terminate

[SR-Users] ACCDB insert issues

2012-03-20 Thread Uri Shacked
Hi, I am using the ACCDB with extra data. I collect the data to AVP's and set it on the db_extra. It gets to be 37 columns…. Pretty long… The problem I experience is that after a while (2-3 hours) with about 15 CAPS the MySQL ACC insert error appears. And, I am loosing accounting data. Except

Re: [SR-Users] need help for newbie in Kamailio

2012-03-20 Thread Reda Aouad
Hello, In SIP, session timers can be used to periodically ping the UAC (using a re-INVITE or UPDATE) to know if it's alive or not. Then action can be taken - terminating the call. Kamailio has the SST (SIP Session Timer) module which only enforces a minimum session timer value for UACs, but not a

Re: [SR-Users] LCR

2012-03-20 Thread Alex Balashov
The quality of responses to your request would be increased by a brief statement of your objective. Despite its tantalising name, the 'lcr' module may not be the most appropriate solution to your problem, depending on what exactly your problem is. -- This message was painstakingly thumbed out

Re: [SR-Users] Dispatcher and round-robin ignoring priorities?

2012-03-20 Thread Øyvind Kolbu
On 2012-03-19 at 15:22, Daniel-Constantin Mierla wrote: > Hello, > > priority is used to sort the destination addresses list at startup (at > load time). It has impact on which will be the first time used address > in round-robin selection. > > You should be able to achieve what you want by cha

[SR-Users] register_udomain(): Invalid table version (use ser_mysql.sh reinstall)

2012-03-20 Thread Ryan Gholam
Hello , I hope someone encountered this problem on UBUNTU , when connecting to the database i get this error in my log file :var/log/sys Mar 19 14:09:46 rayan-desktop /usr/sbin/ser[21807]: register_udomain(): Invalid table version (use ser_mysql.sh reinstall) Mar 19 14:09:46 rayan-desktop /usr/sb

[SR-Users] LCR

2012-03-20 Thread Jeff Russell
As a rule, I have managed to work my way through any issues however, I would really appreciate and help in getting the LCR module working (with postgres), what I really need is working examples of working config and database tables, Many thanks, Jeff

[SR-Users] ser_mysql.sh

2012-03-20 Thread Marwan Idriss
Greeting, I need the ser_mysql.sh for the ser version ser 2.0.0-4ubuntu2 Regards Marwan ___ 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-