[SR-Users] kamctl db exec

2011-02-24 Thread 侯旭光
Hello How to use "kamctl db exec " function? My SQL_ENGINE is MySQL How to write the command line when I want to do the query "select * from acc" with kamctl db tool? thanks ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list

[SR-Users] Kamailio 3.0.4: dispatcher module request

2011-02-24 Thread Klaus Feichtinger
Hello list, I have a question to the dispatcher module in Kamailio version 3.0.4. In my integration I use this module for distributing calls to a set of gateways (with the round robin algorithm). Sometimes a gateway does not react or send back a negative response. In that case I use the function

Re: [SR-Users] Kamailio 3.0.4: dispatcher module request

2011-02-24 Thread Carsten Bock
Hi Klaus, I used to use that function especially for the purpose of resetting the failure-counter. We are using the "ds_set_state("r")" ("r" as "reset counter") in a "onreply"-route; i will check, why i never commited that patch to the Kamailio-Repository. I will add this functionality to git-Trun

Re: [SR-Users] Kamailio 3.0.4: dispatcher module request

2011-02-24 Thread Carsten Bock
Btw.: Attached is the patch for Kamailio 1.5, which i used back then... Carsten 2011/2/24 Klaus Feichtinger : > Hello list, > > I have a question to the dispatcher module in Kamailio version 3.0.4. > > In my integration I use this module for distributing calls to a set of > gateways (with the rou

[SR-Users] Rtpproxy newbie question

2011-02-24 Thread Marc
Hi, I installed a kamailio from the debian repository, i use the default configuration. The only enable the tcp and tls transport modes, and configured mysql login. Everyting seems to be working fine. I would need now to configure rtprpoxy, but i just cant make it work. My goal is to force rtppr

[SR-Users] tcp_persistent_flag

2011-02-24 Thread Bruno Bresciani
Hi, there is in kamailio 3.1.2 some exported parameter that work as tcp_persistent_flag paramenter? I want to keep alive the connections TCP/TLS as long as the register contact is valid. Best Regards ___ SIP Express Router (SER) and Kamailio (OpenSER)

Re: [SR-Users] Kamailio 3.0.4: dispatcher module request

2011-02-24 Thread Klaus Feichtinger
thanks Carsten for your information. So I'm not the first one who wishes this functionality :-) I'm looking forward to using this function in the new release. Does this mean that in Kamailio 3.0.4 no possibility is given for automatically changing the state of a destination from 'nearly-probing' t

[SR-Users] NAT Traversal

2011-02-24 Thread Spinov Evgeniy
Hello, all. Using nathelper + rtpproxy for subj. Kamailio has public and private network interfaces. Asterisk is only private. RTP Proxy is working in bridge mode and relaying traffic from UAC to Asterisks. Everything is working fine, except one configuration. When the client is behind router ( a

[SR-Users] Calls are killed during kamailio restart

2011-02-24 Thread Efelin Novak
Hi, I'd like to ask whether my situation is normal. During kamailio restart calls are dropped from mediaproxy. Those two programs are connected using kamailio.sock. Why RTP strem is dropped when SIP proxy is restarted? I would expect just undelivered BYE or something. Thanks for answer, Efelin _

Re: [SR-Users] no private memory left after mi mt_reload command

2011-02-24 Thread Henning Westerholt
On Wednesday 23 February 2011, Javier Gallart wrote: > I've upgraded to 3.1.2 and compiled with the DEFS+= -DMI_SYSTEM_MALLOC > option. Looking good so far. Any thoughts about my second question, that > is, how to be aware from the scripts if the any problems has arisen in the > mi command? Hi Ja

Re: [SR-Users] Lcr Command Disabled

2011-02-24 Thread Amit Nepal
-- command 'lcr' - manage least cost routes (lcr) lcr show_gws... show database gateways lcr show_routes show database routes lcr dump_gws... show in memory gateways lcr dump_routes show in memory routes lcr reload reload lcr gateways and routes lcr eval_weights ..

Re: [SR-Users] kamctl db exec

2011-02-24 Thread Henning Westerholt
On Thursday 24 February 2011, 侯旭光 wrote: > How to use "kamctl db exec " function? > > My SQL_ENGINE is MySQL > > How to write the command line when I want to do the query "select * > from acc" with kamctl db tool? Hi 侯旭光, i must admit that i never used this feature. If you've shell access to t

Re: [SR-Users] pipelimit db schema

2011-02-24 Thread Henning Westerholt
On Wednesday 23 February 2011, thrillerbee wrote: > I found the answer to my most recent question (my timer interval was set > too long). Can someone answer this one? > > Is there a fifo command available to reload pipelimit config from db? > something like 'kamctl fifo pl_reload'? Hi thrillerbee

[SR-Users] postgres in Kamailio 3.1.2

2011-02-24 Thread Bruno Bresciani
Hi, I configure the Kamailio 3.1.2 with postgres but I cann't start. In the log file is generated the following error: ** ERROR: load_module: could not open module : /home2/local/kamailio/lib/kamailio/modules/db_postgres.so: undefined symbol: PQdescribePrepared Why this error is generated? B

[SR-Users] dialplan regex confusion

2011-02-24 Thread thrillerbee
I'm using the following in dialplan: id | dpid | pr | match_op | match_exp| match_len | subst_exp | repl_exp | attrs +--++--++---+

Re: [SR-Users] Lcr Command Disabled

2011-02-24 Thread Juha Heinanen
Amit Nepal writes: > but when i issue #kamctl lcr show_gws , it says command disabled. perhaps it is disabled in the version of kamailio you are using. upgrade to a newer one or use xmlrpc. -- juha ___ SIP Express Router (SER) and Kamailio (OpenSER)

[SR-Users] dialplan regex confusion

2011-02-24 Thread Juha Heinanen
thrillerbee writes: > A R-URI goes in as 30001#12345678910 > It comes out as 30001#*\1*12345678910 > > Can someone help me understand why? I'd expect to be exactly what it was > originally but for some reason '\1' is thrown in the middle... this is the same issue that i have reported and created

Re: [SR-Users] Lcr Command Disabled

2011-02-24 Thread Amit Nepal
Hi Juha, I am using kamailio 3.1.2. Thank You Amit Nepal Systems Administrator Phoenix Internet Phone: 602-385-0731 602-234-0917#112 http://www.phoenixinternet.net On 2/24/2011 2:16 PM, Juha Heinanen wrote: Amit Nepal writes: but when i issue #kamctl lcr show_gws , it says comma

Re: [SR-Users] dialplan regex confusion

2011-02-24 Thread thrillerbee
Thanks. I see it now. http://sip-router.org/tracker/index.php?do=details&task_id=115 On Thu, Feb 24, 2011 at 3:19 PM, Juha Heinanen wrote: > thrillerbee writes: > > > A R-URI goes in as 30001#12345678910 > > It comes out as 30001#*\1*12345678910 > > > > Can someone help me understand why? I'd ex

Re: [SR-Users] tcp_persistent_flag

2011-02-24 Thread Klaus Darilion
Bruno Bresciani wrote: Hi, there is in kamailio 3.1.2 some exported parameter that work as tcp_persistent_flag paramenter? I want to keep alive the connections TCP/TLS as long as the register contact is valid. IIRC, no. Just set a max expiration time for registration and use a bit bigger va

Re: [SR-Users] postgres in Kamailio 3.1.2

2011-02-24 Thread Klaus Darilion
Bruno Bresciani wrote: Hi, I configure the Kamailio 3.1.2 with postgres but I cann't start. In the log file is generated the following error: // ERROR: load_module: could not open module postgres.so>: /home2/local/kamailio/lib/kamailio/modules/db_postgres.so: undefined symbol: PQdescribePr

Re: [SR-Users] Lcr Command Disabled

2011-02-24 Thread Juha Heinanen
Amit Nepal writes: > I am using kamailio 3.1.2. i don't use myself kamctl. i use sip router ctl that i call myself sip-proxy_ctl and its help tells me about lcr commands. perhaps someone else is able to tell you, what this command is called by default. -- juha root@rautu:~# sip-proxy_ctl

[SR-Users] Segfault in Kamailio 1-3-4 to 1.5.5

2011-02-24 Thread Andrew O. Zhukov
In continue of letters: Kamailio 1.5.5 No TLS Segmentation Fault After upgrade from openser 1.3.4 to kamailio 1.5.5 the same crash set Can someone from developers provide me commercial support to fix this bug in malloc module. If so, contact me directly. _