Re: [SR-Users] Strip All but numbers/*/#

2013-02-12 Thread Ali Jawad
Hi Thanks, what I actually need is keep numbers and * and # and remove the rest, something like $rU = $(rU{re.subst,/![0-9*#]//g}); But I am not sure that ! works for negation. Regards On Mon, Feb 11, 2013 at 5:43 PM, Daniel Tryba dan...@pocos.nl wrote: On Monday 11 February

[SR-Users] openser db on an external mysql server

2013-02-12 Thread Prakash N
Hi All, I am new this Kamailo ,ther is any step by step document to set up openser db on an external mysql server ? With Regards N.Prakash ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org

Re: [SR-Users] INVITE Retransmission Causes Limiting Simultaneus Calls for Subscribers

2013-02-12 Thread Bayram Karagoz
Hi, is there any advise about my problem? I'm using kamailio in my production environment and this issue started to reproduce a lot. is there any way to discard retransmitted INVITE messages from counting dialog? 2013/2/9 Bayram Karagoz karagoz.bay...@gmail.com thanks for the response Daniel,

Re: [SR-Users] Strip All but numbers/*/#

2013-02-12 Thread Daniel-Constantin Mierla
Hello, On 2/12/13 9:28 AM, Ali Jawad wrote: Hi Thanks, what I actually need is keep numbers and * and # and remove the rest, something like $rU = $(rU{re.subst,/![0-9*#]//g}); But I am not sure that ! works for negation. use [^0-9*#] for negation, see: -

Re: [SR-Users] INVITE Retransmission Causes Limiting Simultaneus Calls for Subscribers

2013-02-12 Thread Daniel-Constantin Mierla
Hello, what version of kamailio are you using? State 1 is for dialogs that were not relayed (or they haven't received any reply yet). That means you create the dialog and don't relay the INVITE. Try to us dlg_manage() just before relaying the INVITE. Cheers, Daniel On 2/12/13 9:37 AM,

Re: [SR-Users] openser db on an external mysql server

2013-02-12 Thread Daniel-Constantin Mierla
Hello, kamailio database is created with: kamdbctl create the host of mysql server has to be specified in kamctlrc file via DBHOST variable - kamctlrc is located in same directory as kamailio.cfg. In kamailio.cfg, update the db_url value (or DBURL define) to reflect the mysql server host.

Re: [SR-Users] INVITE Retransmission Causes Limiting Simultaneus Calls for Subscribers

2013-02-12 Thread Bayram Karagoz
Thanks for quick response Daniel, My kamailio version is 3.2.3 (x86_64/linux) . I want to use dlg_manage() before but not sure which side of my call limitation route code block. can you advise me where to use dlg_manage() in my routing? here is my route block defined below; route[QUOTA] {

Re: [SR-Users] Video Conferencing

2013-02-12 Thread Daniel-Constantin Mierla
As a side note, Jitsi (open source sip softphone) has some video conferencing capabilities (up to 4 participants, iirc). That should work transparently though kamailio. Cheers, Daniel On 2/11/13 4:59 AM, Alex Balashov wrote: Kamailio is a SIP proxy, and is therefore not involved in media. So,

Re: [SR-Users] INVITE Retransmission Causes Limiting Simultaneus Calls for Subscribers

2013-02-12 Thread Daniel-Constantin Mierla
Where do you use dlg_manage()? It is not in the route you pasted below. Cheers, Daniel On 2/12/13 10:12 AM, Bayram Karagoz wrote: Thanks for quick response Daniel, My kamailio version is 3.2.3 (x86_64/linux) . I want to use dlg_manage() before but not sure which side of my call limitation

Re: [SR-Users] How to detect there are no matching subscriber for uri

2013-02-12 Thread Daniel-Constantin Mierla
Hello, On 2/10/13 2:43 PM, Krishna Kurapati wrote: Hi, When we receive an request, we do lookup(location) call to find if the uri is there or not. There are two scenarios: 1. The aor is in the subscriber table but not in usrloc table 2. The aor is not in subscriber table I would like to

Re: [SR-Users] Handling 302 redirect on group ringing

2013-02-12 Thread Daniel-Constantin Mierla
Hello, the way tm module is constructed does not allow to add a new branch from config before all branches of the previous forwarding step are not completed. I do not know what would RFC say in this case, because you have a parallel forking from which proxy has to choose a wining reply.

[SR-Users] Fwd: INVITE Retransmission Causes Limiting Simultaneus Calls for Subscribers

2013-02-12 Thread Bayram Karagoz
-- Forwarded message -- From: Bayram Karagoz karagoz.bay...@gmail.com Date: 2013/2/12 Subject: Re: [SR-Users] INVITE Retransmission Causes Limiting Simultaneus Calls for Subscribers To: mico...@gmail.com Cc: SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users

Re: [SR-Users] siremis CDR gneration procedure

2013-02-12 Thread Daniel-Constantin Mierla
On 2/4/13 5:17 PM, Klaus Darilion wrote: On 28.01.2013 10:32, Daniel-Constantin Mierla wrote: Hello, On 1/17/13 3:38 PM, Klaus Darilion wrote: Hi! IMO the siremis CDR generation procedure is buggy: CREATE PROCEDURE `kamailio_cdrs`() DECLARE inv_cursor CURSOR FOR SELECT src_user,

Re: [SR-Users] siremis CDR problem

2013-02-12 Thread Daniel-Constantin Mierla
On 1/30/13 6:57 PM, Scott, Matt wrote: Thanks for responding, yes I think I have all that ready. Not sure if accdb_comment was needed, but I enabled. accdb_comment is not needed, but it is fine because it is defined after is used in an #!ifdef, because it would through errors. We deleted

[SR-Users] Kamailio World Updates

2013-02-12 Thread Daniel-Constantin Mierla
Hello, we have published the first set of accepted speeches at Kamailio World Conference, you can view the current draft of the schedule at: - http://conference.kamailio.com/k01/schedule/ There are already about 15 speakers and presentations in the agenda for the two days of conference,

Re: [SR-Users] INVITE Retransmission Causes Limiting Simultaneus Calls for Subscribers

2013-02-12 Thread Bayram Karagoz
recheck config and saw that I used dlg_manage() most before route(QUOTA) block. does it sits in the wrong place?you can find my kamailio.cfg file in attachment also. # account only INVITEs * dlg_manage();* if (is_method(INVITE)) { setflag(FLT_ACC); # do accounting

Re: [SR-Users] Strip All but numbers/*/#

2013-02-12 Thread Ali Jawad
Thank you all that works just fine, my last step is to create an if statement to only enter to do this if the condition matches. if($rU=~XYZ) //where xyz is anything not 0-9 * and # { $rU = $(rU{re.subst,/[^0-9*#]//g}); } Regards On Tue, Feb 12, 2013 at 10:42 AM, Daniel-Constantin Mierla

Re: [SR-Users] openser db on an external mysql server

2013-02-12 Thread Prakash N
Dear Daniel, Thanks for your quick response We can able to create operseb db on remote mysql server ,but Kamailio not getting start Error detail: ERROR: db_mysql [km_my_con.c:109]: driver error: Can't connect to MySQL server on '192.168.1.170' (4) ERROR: core [db.c:32

[SR-Users] kamctl restart and mediaproxy

2013-02-12 Thread Eduardo Lejarreta
Good morning Victor. As you mentioned I've been playing with init.d scripts in case you were right. Nothing to do with this. media-dispatcher and media-relay are still alive and with the same PID before and after kamctl restart. Kamailio gives some order to media-dispatcher so this last orders

Re: [SR-Users] [sr-dev] openser db on an external mysql server

2013-02-12 Thread Muhammad Shahzad
Its not a Kamailio error, it is problem with connecting to mysql server. Error 4 means No MySQL Server Running On Specified Host. May be MySQL server is down or there is some firewall running or MySQL not listening on IP you specified. Thank you. On Tue, Feb 12, 2013 at 12:11 PM, Prakash N

Re: [SR-Users] [sr-dev] openser db on an external mysql server

2013-02-12 Thread Muhammad Shahzad
What is your connection string in kamailio i.e. DBURL? Also make sure you have defined WITH_MYSQL on the top of kamailio.cfg to load necessary drivers. #!define WITH_MYSQL Thank you. On Tue, Feb 12, 2013 at 12:56 PM, Prakash N prakas...@tevatel.com wrote: Hi Shahzad , It is not

Re: [SR-Users] [sr-dev] openser db on an external mysql server

2013-02-12 Thread SamyGo
Hi Prakash, Please paste All ERROR appearing and Warnings when you start your kamailio. What is the free memory situation on your server ? Regards, Sammy On Tue, Feb 12, 2013 at 5:12 PM, Prakash N prakas...@tevatel.com wrote: Hi Muhammad, Yes, I have define Mysql on top in

Re: [SR-Users] [sr-dev] openser db on an external mysql server

2013-02-12 Thread Prakash N
Hi Govoiper Free Memory on my server 2309 MB total used free sharedbuffers cached Mem: 2795486 2309 0 70 180 -/+ buffers/cache:234 2561 Swap: 2927 0 2927

Re: [SR-Users] [sr-dev] openser db on an external mysql server

2013-02-12 Thread Prakash N
Dear Shahzad , Please find the error Feb 13 00:06:05 localhost /usr/local/sbin/kamailio[4424]: ERROR: db_mysql [km_my_con.c:109]: driver error: Can't connect to MySQL server on '192.168.1.170' (4) Feb 13 00:06:05 localhost /usr/local/sbin/kamailio[4424]: ERROR: core [db.c:320]: could not add

[SR-Users] kamctl restart and mediaproxy

2013-02-12 Thread Eduardo Lejarreta
Good evening. Launching mediaproxy-dispatcher and mediaproxy-relay on the foreground and with DEBUG we can see: mediaproxy-dispatcher log: -- Kamctl restart debug: Connection to OpenSIPS lost: Connection was closed cleanly. debug:

[SR-Users] Difference between shared and script variable

2013-02-12 Thread Mino Haluz
Hi, what is the difference between shared and script variable ? Thanks Mino ___ 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

[SR-Users] Openfire and lync 2010 integration

2013-02-12 Thread Vinay V
Hi All, I am in process of integrating lync 2010 with openfire xmpp server. Reading some of the blogs on kamailio found that it can be done using kamailio. Hence request if some body has done this please your inputs. Regards, Vinay ___ SIP Express

[SR-Users] DNS error

2013-02-12 Thread Vitaliy Aleksandrov
Hi, all Have a question about failure_routes. As I remember if kamailio statefuly sent a request and didn't receive a reply script writer can handle this situation at a failure_route[] block. But if kamailio can't resolve a destination from R-URI it sends back 478 reply and finishes current

Re: [SR-Users] [sr-dev] openser db on an external mysql server

2013-02-12 Thread Muhammad Shahzad
kamailio.cfg looks OK, can you increase the debug level to 4+, start kamailio and send me logs? May be we can find something in logs. Thank you. On Tue, Feb 12, 2013 at 1:40 PM, Prakash N prakas...@tevatel.com wrote: Hi Govoiper Free Memory on my server 2309 MB

Re: [SR-Users] pseudovariable values written from app_lua sometimes appear incorrect

2013-02-12 Thread elactrum
On 2012-10-08 10:29, elact...@jamailca.com wrote: On 2012-10-08 09:15, Daniel-Constantin Mierla wrote: Hello, can you test with latest version in 3.3.x series (from git branch or at least the packages for 3.3.1) -- there were many fixes since 3.3.0 was released -- just to be sure we don't

Re: [SR-Users] kamctl restart and mediaproxy

2013-02-12 Thread Mino Haluz
You have to figure it somehow with adjusting the python code of media-dispatcher. We have developed special /etc/init.d/kamailio grace command, which waits for the moment, when there are no calls, so it can be restarted. It queries mediaproxy every second. In future we will not use mediaproxy

Re: [SR-Users] [Fwd: Re: Deleting the expired contacts using the Rtimer module]

2013-02-12 Thread kiran bhosale
kiran bhosale wrote: he array values that we are modifying and the function that we call periodically are from our module . to exemplify i have put the code below .our requirement is that we want to delete the expired contacts without relying on usrloc module as we have not used