Re: [SR-Users] dropped calls after 38 seconds openSER

2012-04-16 Thread davy van de moere
38 seconds sounds pretty close to 30 seconds. Could those 38 seconds be a 30 seconds after the actual answer packet? If so, you might want to look at ACK and OK packets not arriving correctly because of NAT, wrong IP selection in openser , etc... A simple tshark might help you out to debug from

Re: [SR-Users] Siremis on Mysql and Kamailio on Postgresql

2012-04-16 Thread Victor Seva
This patch seems to do the trick. root@zs2:/var/www/siremis-3.2.0# diff -ruN openbiz/bin/data/BizDataSql.php~ openbiz/bin/data/BizDataSql.php --- openbiz/bin/data/BizDataSql.php~2010-09-15 15:09:29.0 +0200 +++ openbiz/bin/data/BizDataSql.php 2012-04-16 10:23:38.0 +0200 @@

[SR-Users] dispatcher didnt use the gateway

2012-04-16 Thread Karsten Horsmann
Hi List! I try to use the dispatcher module to route calls to my ivr systems. But it didnt load the gateway. I didnt see my xlog message after the ds_select_dst() Any hints? Gateway is Active and Probing. #!ifdef WITH_DISPATCHER if (!lookup(location)) {

[SR-Users] Failed shared memory allocation even though there's enough free memory

2012-04-16 Thread Alex Hermann
Hello, i'm seeing a lot of failed memory allocations for shared memory after the shared memory has been fully used once (see shmem:max_used_size below). Used_size keeps increasing fast on a heavy loaded server, until it reaches the total_size. From that moment memory allocations start failing

Re: [SR-Users] dispatcher didnt use the gateway

2012-04-16 Thread Daniel-Constantin Mierla
Hello, On 4/16/12 12:25 PM, Karsten Horsmann wrote: Hi List! I try to use the dispatcher module to route calls to my ivr systems. But it didnt load the gateway. I didnt see my xlog message after the ds_select_dst() Any hints? Gateway is Active and Probing. #!ifdef WITH_DISPATCHER if

Re: [SR-Users] Failed shared memory allocation even though there's enough free memory

2012-04-16 Thread Daniel-Constantin Mierla
Hello, On 4/16/12 12:49 PM, Alex Hermann wrote: Hello, i'm seeing a lot of failed memory allocations for shared memory after the shared memory has been fully used once (see shmem:max_used_size below). Used_size keeps increasing fast on a heavy loaded server, until it reaches the total_size.

[SR-Users] implementing Kamailio with FreeSwitch.

2012-04-16 Thread Mehdi Badiezadegan
Hello and thanks for your helping,excuse me I'm newbie in mailing list. I have a question about implementing Kamailio with FreeSwitch. Our plan is a configuration like this at the follow: 1.Kamailio as registering and LoadBalancer ,response to chat and call(voice/video) in p2p 2.we have 2

Re: [SR-Users] dispatcher didnt use the gateway

2012-04-16 Thread Karsten Horsmann
Hi Daniel, if i forward it - then it loops to itself. And the if condition tolds me that i didnt work :( -- Mit freundlichen Grüßen *Karsten Horsmann* ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list

Re: [SR-Users] dispatcher didnt use the gateway

2012-04-16 Thread Reda Aouad
Hi, When you use forward( ) it loops itself since the dispatcher function is not selecting a destination, and the SIP request is destined to your server. Do you have any error in your log file? Reda On Mon, Apr 16, 2012 at 14:31, Karsten Horsmann khorsm...@gmail.com wrote: Hi Carsten,

Re: [SR-Users] dispatcher didnt use the gateway

2012-04-16 Thread Karsten Horsmann
Hi Reda, there is no error in the log file. Its hard to debug this function. 2012/4/16 Reda Aouad reda.ao...@gmail.com: Hi, When you use forward( ) it loops itself since the dispatcher function is not selecting a destination, and the SIP request is destined to your server. Do you have any

Re: [SR-Users] dispatcher didnt use the gateway

2012-04-16 Thread Reda Aouad
Can you try another algorithm? Can you set debug=3 and see what's happening? Reda On Mon, Apr 16, 2012 at 14:54, Karsten Horsmann khorsm...@gmail.com wrote: Hi Reda, there is no error in the log file. Its hard to debug this function. 2012/4/16 Reda Aouad reda.ao...@gmail.com: Hi,

Re: [SR-Users] Core Dump from select stmt

2012-04-16 Thread Daniel-Constantin Mierla
Hello, the issue was produced inside the debugger module, while printing config trace, according to the worker process back trace. Can you try with the patch from following commit: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=40ddcf88df9ef71bba7c182b7a1d76b559645628

Re: [SR-Users] Siremis on Mysql and Kamailio on Postgresql

2012-04-16 Thread Victor Seva
But there are querys on siremis using mysql format. pg.patch Description: Binary data ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org

Re: [SR-Users] dispatcher didnt use the gateway

2012-04-16 Thread Karsten Horsmann
Hi Reda, my pitfall was that the probing takes 30seconds until the gateway is active until startup. So if i test it right after kamctl restart the gateway was inactive. Now i seems that my working multihomed config needs some help to fix nat for dispatching. For locatet user it works, for

Re: [SR-Users] kamctl ps in 1.5.0 equivallent in 3.1.2

2012-04-16 Thread Daniel-Constantin Mierla
Hello, it is a change starting with 3.0.0, several MI commands were moved in kex module, so you need to load it. For sercmd you have to load the ctl module. kamctl requires mi_fifo module. Cheers, Daniel On 4/16/12 4:53 PM, Renan Capaverde wrote: Thanks for the reply, I do not have kex

Re: [SR-Users] dropped calls after 38 seconds openSER

2012-04-16 Thread Saul Waizer
Thank you Davy, I ran tshark and found the following: (masked ip addresses to protect the innocent and trimmed the logs) 8.250307 300.300.300.300 - 10.12.47.96 SIP Request: REGISTER sip: sip.mydomain.com 8.251503 10.12.47.96 - 300.300.300.300 SIP Status: 200 OK(1 bindings) 35.942381

Re: [SR-Users] dropped calls after 38 seconds openSER

2012-04-16 Thread Saul Waizer
Interestingly enough, this was just the first time I initiated the calls, the second time (im guessing the route was recorded). On my second test, I just got the following: SIP/SDP Status: 200 OK, with session description However the call still drops at around 30 seconds. On Mon, Apr 16, 2012 at

Re: [SR-Users] kamctl ps in 1.5.0 equivallent in 3.1.2

2012-04-16 Thread Renan Capaverde
Thank you very much, that worked. Em 16/4/2012 12:17, Daniel-Constantin Mierla escreveu: Hello, it is a change starting with 3.0.0, several MI commands were moved in kex module, so you need to load it. For sercmd you have to load the ctl module. kamctl requires mi_fifo module. Cheers,

Re: [SR-Users] dropped calls after 38 seconds openSER

2012-04-16 Thread Stoyan Mihaylov
Some time ago, I had similar problem. This was my solution: if(is_method(INVITE)){ ds_select_dst(1,4); $sht(forw=$ft)=$du; sl_send_reply(100,Trying); route(RELAY); exit(); } if ( is_method(ACK|BYE) ) { if ( t_check_trans() ) { t_relay(); exit; } else { if(($sht(forw=$ft))=~$td){

[SR-Users] loose_route() for ACK message

2012-04-16 Thread Laurent Schweizer
Hello all, I have a script working with openser1.2.1 and I try to move them to kamailio 3.2.1 I have actually an issue with the loose_route() function at least for ACK message. When I get the ACK the loose_route function is changing the URI with the value of the route header of the ACK

Re: [SR-Users] dropped calls after 38 seconds openSER

2012-04-16 Thread Saul Waizer
Thank you Stoyan * * I added the routing config as you suggested but it still drops the call after 30 seconds. Any other suggestions? Note: my nathelper module is commented out because I can't get it to work, here is my mod list: ## Modules Section #set module path

Re: [SR-Users] dropped calls after 38 seconds openSER

2012-04-16 Thread Stoyan Mihaylov
I am using nathelper and rtpproxy. We had no serious problems with those modules. My idea was to overwrite wrong addresses in ACK and BYE packages, because they kept reentering kamailo, instead of being forwarded where they have to go. By the way - you can add: modparam(htable, htable,

[SR-Users] PDD Timer (Branch Level)

2012-04-16 Thread Orlando F. Guitian
Recently, I have used TM's fr_timer() parameter to control PDD, non-responsive gateways, etc. However, I would like to know if it is possible to set the fr_timer(), or something similar, on a per branch level. For example, in comparison to our US-based gateways, some of our international

Re: [SR-Users] Kamailio and Oracle

2012-04-16 Thread Orlando F. Guitian
Hi Daniel. Thank you for your prompt reply. As per your suggestion, I have decided to use the unixodbc module instead of the Oracle module. After making that change, I am able to connect to our database. Thanks again, Orlando On Mon, Apr 9, 2012 at 07:01, Daniel-Constantin Mierla

[SR-Users] PDD Timer (Branch Level)

2012-04-16 Thread Juha Heinanen
Orlando F. Guitian writes: Recently, I have used TM's fr_timer() parameter to control PDD, non-responsive gateways, etc. However, I would like to know if it is possible to set the fr_timer(), or something similar, on a per branch level. For example, in comparison to our US-based gateways,

Re: [SR-Users] dispatcher didnt use the gateway

2012-04-16 Thread Reda Aouad
Well, 30 seconds seems to be the timeout of your SIP client: I suspect your client sends a 200OK but doesn't receive the ACK for it, and hence times out 30 seconds after and terminates the call. You can run ngrep to trace the call and see where the ACK is routed, and if it is routed to the correct

Re: [SR-Users] Siremis on Mysql and Kamailio on Postgresql

2012-04-16 Thread Elena-Ramona Modroiu
Hi, the patch is to phpopenbiz framework, which is not included in siremis git repository. But we can include the patch itself and document it, can you add it as attachment to sourceforge tracker? http://sourceforge.net/tracker/?atid=3020101group_id=250738func=browse Regards, Ramona On

Re: [SR-Users] Siremis on Mysql and Kamailio on Postgresql

2012-04-16 Thread Elena-Ramona Modroiu
Hi, add also this patch to the sourceforge tracker: http://sourceforge.net/tracker/?atid=3020101group_id=250738func=browse It will be applied to git -- few questions: - have you tested and still works with MySQL? - the last chunk in patch is related to xml config files - does not seem

Re: [SR-Users] Core Dump from select stmt

2012-04-16 Thread Akan
Sorry, I am new to git. What is the git command to add the patch or can I just download all of the updates? Thanks Nathaniel On 4/16/2012 8:31 AM, Daniel-Constantin Mierla wrote: Hello, the issue was produced inside the debugger module, while printing config trace, according to the worker