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

2012-04-16 Thread Victor Seva
2012/4/16 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=3020101&group_id=2

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

2012-04-16 Thread Victor Seva
2012/4/16 Elena-Ramona Modroiu : > Hi, > > add also this patch to the sourceforge tracker: > > http://sourceforge.net/tracker/?atid=3020101&group_id=250738&func=browse > > It will be applied to git -- few questions: > > - have you tested and still works with MySQL? The siremis part is still using

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 p

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=3020101&group_id=250738&func=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 nece

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=3020101&group_id=250738&func=browse Regards, Ramona On 4

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

[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] 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 wrote: > He

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

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", "forw=>

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 mpath="/usr/lib/

[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 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){ $du

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, Dan

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 a

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 3

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 mod

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

2012-04-16 Thread Renan Capaverde
Thanks for the reply, I do not have kex module loaded on kamailio 3.1.2 and neither on kamailio 1.5.0 but in 1.5.0 '*kamctl ps*' works just fine. The output of 'kamctl fifo which' is: *500 command 'which' not available *And the output of 'sercmd ps' is: *ERROR: connect_unix_sock: connect(/t

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 dispat

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 http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

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 If

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 wrote: > Hi Reda, > > > there is no error in the log file. Its hard to debug this function. > > 2012/4/16 Reda Aouad : > > Hi, > > > > When you use forward( ) it l

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

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 wrote: > Hi Carsten, > > > its still the same

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

2012-04-16 Thread Karsten Horsmann
Hi Carsten, its still the same if i use ds_select_domain to rewrite the ruri. It seems not to fetch the values from the database. #!ifdef WITH_DISPATCHER if (!lookup("location")) { if(ds_select_domain("1", "4")) { xlog("DISPATCHER ds_select_dst\n");

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

2012-04-16 Thread Carsten Bock
Hi, you should distinguish between ds_select_dst and ds_select_domain: ds_select_dst only sets $du (Next Hop) while ds_select_domain actually rewrites the Request URI (like a lookup would do). Maybe this is your problem. Thanks, Carsten 2012/4/16 Karsten Horsmann : > Hi Daniel, > > > if i forwar

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 sr-users@lists.sip-rou

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

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. F

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

[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

[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")) { if(ds_select_dst

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