Re: [SR-Users] snmpstats issue

2017-04-10 Thread Igor Potjevlesch
dialog' to get only them). Cheers, Daniel On 10.04.17 15:18, Igor Potjevlesch wrote: Hello, On one of my Kamailio server, I don't have data returned by KAMAILIO-MIB::. KAMAILIO-SIP-COMMON-MIB and KAMAILIO-SIP-SERVER-MIB look to work good. Everything is configured as the other Kamailio ins

[SR-Users] snmpstats issue

2017-04-10 Thread Igor Potjevlesch
Hello, On one of my Kamailio server, I don't have data returned by KAMAILIO-MIB::. KAMAILIO-SIP-COMMON-MIB and KAMAILIO-SIP-SERVER-MIB look to work good. Everything is configured as the other Kamailio instances, but there is nothing about current dialog even if the module is loaded into

Re: [SR-Users] Kamailio 4.2 crashed

2017-03-07 Thread Igor Potjevlesch
tmp = 0x7fffd1ab3f70 "" tmp_len = 32767 port = -777310002 proto = 0 options = 0x703718 ":f:cm:M:dVIhEeb:l:L:n:vKrRDTN:W:w:t:u:g:P:G:SQ:O:a:A:" ret = -1 seed = 2069815000 rfd = 4 debug_save = 0

Re: [SR-Users] Dimensioning of shared memory for carrierroute

2017-03-02 Thread Igor Potjevlesch
mation of how many active registrations and call setups per second you may have in average. Based on the difference and the estimations, we may be able to give more hints. Cheers, Daniel On 02/03/2017 12:23, Igor Potjevlesch wrote: Hello, I'd like to dimension shared memory to use "kamct

[SR-Users] Dimensioning of shared memory for carrierroute

2017-03-02 Thread Igor Potjevlesch
Hello, I'd like to dimension shared memory to use "kamctl cr reload" without issue. Currently, my table "carrierroute" has 204k entries and if I do "kamctl cr reload", the reload fails. Just after, I have thousands of these errors: Mar 2 12:10:52 /usr/local/sbin/kamailio[28606]: ERROR:

Re: [SR-Users] Lost of connection with MySQL?

2017-03-02 Thread Igor Potjevlesch
<sr-users@lists.sip-router.org> Objet : Re: [SR-Users] Lost of connection with MySQL? On Wed, Mar 01, 2017 at 09:55:52AM +0100, Igor Potjevlesch wrote: > Again this morning. It looks to be during the beginning of the peak. I don't > have any idea where to search the issue. Any idea

Re: [SR-Users] Lost of connection with MySQL?

2017-03-01 Thread Igor Potjevlesch
Hello, Again this morning. It looks to be during the beginning of the peak. I don't have any idea where to search the issue. Any ideas? Regards, Igor. De : Igor Potjevlesch [mailto:igor.potjevle...@gmail.com] Envoyé : vendredi 24 février 2017 10:14 À : mico...@gmail.com; 'Kamailio

Re: [SR-Users] Lost of connection with MySQL?

2017-02-24 Thread Igor Potjevlesch
[25290]: ERROR: db_mysql [km_dbase.c:126]: db_mysql_submit_query(): driver error on query: Can't connect to MySQL server on '192.168.2.6' (4) (2003) So, even the async process has failed. Could it be an issue on MySQL himself? Regards, Igor. De : Igor Potjevlesch

[SR-Users] Kamailio 4.2 crashed

2017-02-23 Thread Igor Potjevlesch
Hello, I got two coredumps: (gdb) bt full #0 0x0061ab8e in qm_insert_free (qm=0x7f0f7fca7000, frag=0x7f0f8f6f6268) at mem/q_malloc.c:180 f = 0x7f0f8f6c45e8 prev = 0x0 hash = 5 And (gdb) bt full #0 0x0061b935 in qm_detach_free

Re: [SR-Users] Lost of connection with MySQL?

2017-02-17 Thread Igor Potjevlesch
r and fixing the database to do the queries under the timeout value you set to db_mysql module. Cheers, Daniel On 16/02/2017 12:16, Igor Potjevlesch wrote: Hello, Indeed, I think there are some DB access external of kamailio.cfg. If accounting process is implied in the freeze of SIP handling,

Re: [SR-Users] Lost of connection with MySQL?

2017-02-16 Thread Igor Potjevlesch
-Constantin Mierla [mailto:mico...@gmail.com] Envoyé : mercredi 15 février 2017 08:57 À : Igor Potjevlesch <igor.potjevle...@gmail.com>; 'Kamailio (SER) - Users Mailing List' <sr-users@lists.sip-router.org> Objet : Re: [SR-Users] Lost of connection with MySQL? Hello, it doesn't hav

Re: [SR-Users] Lost of connection with MySQL?

2017-02-14 Thread Igor Potjevlesch
sip-router.org> Objet : Re: [SR-Users] Lost of connection with MySQL? On Tue, Feb 14, 2017 at 09:54:42AM +0100, Igor Potjevlesch wrote: [mysql query fails] > These errors are repeated many times and cause Kamailio to hang and > don't reply to SIP requests. A reboot of Kamailio solv

Re: [SR-Users] Lost of connection with MySQL?

2017-02-14 Thread Igor Potjevlesch
Mierla [mailto:mico...@gmail.com] Envoyé : mardi 14 février 2017 12:06 À : Igor Potjevlesch <igor.potjevle...@gmail.com>; 'Kamailio (SER) - Users Mailing List' <sr-users@lists.sip-router.org> Objet : Re: [SR-Users] Lost of connection with MySQL? Hello, it is a lot if you have over 9 mil

Re: [SR-Users] Lost of connection with MySQL?

2017-02-14 Thread Igor Potjevlesch
] Lost of connection with MySQL? Hello, do you have a lot of records inside the acc table? Cheers, Daniel On 14/02/2017 09:54, Igor Potjevlesch wrote: Hello, Two times in the last week, Kamailio reports MySQL errors like these: /usr/local/sbin/kamailio[19225]: ERROR: db_mysql [km_dbase

[SR-Users] Lost of connection with MySQL?

2017-02-14 Thread Igor Potjevlesch
Hello, Two times in the last week, Kamailio reports MySQL errors like these: /usr/local/sbin/kamailio[19225]: ERROR: db_mysql [km_dbase.c:126]: db_mysql_submit_query(): driver error on query: Can't connect to MySQL server on '192.168.2.6' (4) (2003) /usr/local/sbin/kamailio[19225]: ERROR:

Re: [SR-Users] kamctl cr reload got 500 failed to re-built tree

2017-01-25 Thread Igor Potjevlesch
Hello, I change the shared memory from 256 to 512 and it works now. Thank you! Regards, Igor. De : Daniel-Constantin Mierla [mailto:mico...@gmail.com] Envoyé : mardi 24 janvier 2017 12:02 À : Igor Potjevlesch <igor.potjevle...@gmail.com>; 'Kamailio (SER) - Users Mailing Lis

Re: [SR-Users] kamctl cr reload got 500 failed to re-built tree

2017-01-24 Thread Igor Potjevlesch
Mierla Envoyé : lundi 23 janvier 2017 20:53 À : Kamailio (SER) - Users Mailing List <sr-users@lists.sip-router.org> Objet : Re: [SR-Users] kamctl cr reload got 500 failed to re-built tree Hello, On 23/01/2017 17:15, Igor Potjevlesch wrote: Hello, With more than 173k en

[SR-Users] kamctl cr reload got 500 failed to re-built tree

2017-01-23 Thread Igor Potjevlesch
Hello, With more than 173k entriers into carrierroute, now I'm doing "kamctl cr reload", I got the following reply: 500 failed to re-built tree, see log What could going wrong? Regards, Igor. --- L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel

Re: [SR-Users] cnxcc doesn't terminate calls

2016-10-26 Thread Igor Potjevlesch
be you try to terminate call for wrong customer id. On Wed, Oct 26, 2016 at 10:52 AM, Igor Potjevlesch <igor.potjevle...@gmail.com <mailto:igor.potjevle...@gmail.com> > wrote: Hi, I'm testing cnxcc module in order to make a simple call duration limitation. My under

[SR-Users] cnxcc doesn't terminate calls

2016-10-26 Thread Igor Potjevlesch
Hi, I'm testing cnxcc module in order to make a simple call duration limitation. My understanding is to use the function like this : $dlg_var(customer_id) = "customer-" + $fU; $var(max_time) = 5; if

Re: [SR-Users] app_perl modifies Via header?

2016-10-25 Thread Igor Potjevlesch
Hello, Even if I made a Kamailio config script easier and I use cnxcc_set_max_time, the call is not ended at the end of the number of seconds specified. Did I missed something? Regards, Igor. De : Igor Potjevlesch [mailto:igor.potjevle...@gmail.com] Envoyé : mardi 25 octobre

Re: [SR-Users] app_perl modifies Via header?

2016-10-25 Thread Igor Potjevlesch
in Mierla Envoyé : mardi 25 octobre 2016 11:10 À : Kamailio (SER) - Users Mailing List <sr-users@lists.sip-router.org> Objet : Re: [SR-Users] app_perl modifies Via header? Hello, this should not happen -- is any config action executed, or this happen before first action in reques

Re: [SR-Users] app_perl modifies Via header?

2016-10-25 Thread Igor Potjevlesch
Hello, Someone experienced the same issue? I test again and I'm sure that it happens when I load and setup the module app_perl. Even if it's not used into the config file. Regards, Igor. De : Igor Potjevlesch [mailto:igor.potjevle...@gmail.com] Envoyé : lundi 24 octobre 2016 15:58

[SR-Users] app_perl modifies Via header?

2016-10-24 Thread Igor Potjevlesch
Hello, I try to use app_perl and cnxcc module. As soon as I load the module like this: # - app_perl params modparam("app_perl", "filename", "/usr/local/etc/kamailio/AAA/aaa-script.pl") modparam("app_perl", "modpath", "/usr/local/lib64/kamailio/perl/") The Via header is

Re: [SR-Users] Kamailio stop processing SIP

2016-10-07 Thread Igor Potjevlesch
Yes, over UDP only. Regards, Igor. De : Daniel-Constantin Mierla [mailto:mico...@gmail.com] Envoyé : vendredi 7 octobre 2016 09:25 À : Igor Potjevlesch <igor.potjevle...@gmail.com>; 'Kamailio (SER) - Users Mailing List' <sr-users@lists.sip-router.org> Objet : Re: [SR-Use

Re: [SR-Users] Kamailio stop processing SIP

2016-10-06 Thread Igor Potjevlesch
ng SIP Are you using pike module or any kernel/iptable module for tracking sip traffic? If you use statsc module you can get details about how many requests were received per specific interval of time. Cheers, Daniel On 06/10/16 12:38, Igor Potjevlesch wrote: Hard to say. Is there this kind of

Re: [SR-Users] Kamailio stop processing SIP

2016-10-06 Thread Igor Potjevlesch
e: [SR-Users] Kamailio stop processing SIP You need to increase the number of child. What is current CPS? On 30 September 2016 at 14:34, Igor Potjevlesch <igor.potjevle...@gmail.com <mailto:igor.potjevle...@gmail.com> > wrote: Hello, Someone has an idea? Again, Kamailio s

Re: [SR-Users] Call forking priority

2016-09-30 Thread Igor Potjevlesch
In the two proxys? What would the value q be? as permanent contacts is with an expiring date in 2080 for example no? 2016-09-28 17:58 GMT+02:00 Juha Heinanen <j...@tutpro.com>: > Igor Potjevlesch writes: > > > I have a proxy that manage fix calls and a proxy that manage mob

[SR-Users] Kamailio stop processing SIP

2016-09-30 Thread Igor Potjevlesch
Hello, Someone has an idea? Again, Kamailio stop processing SIP during more than 30s. Nothing print in the logs. The processing back on when a script detect no answer and restart the service. Regards, Igor. De : Igor Potjevlesch [mailto:igor.potjevle...@gmail.com] Envoyé

[SR-Users] Call forking priority

2016-09-28 Thread Igor Potjevlesch
Hello list, I have a proxy that manage fix calls and a proxy that manage mobile calls. I want to implement call forking so when I call to a fix phone the call goes to the fix proxy and it forks to the mobile proxy who manage the call and viceversa. I want the fix to ring 2 or 3 times before the

[SR-Users] Dimension number of child

2016-09-23 Thread Igor Potjevlesch
Hello, I'm wondering if there's a best practise to dimension the number of child to setup? I see, very often, Kamailio that stops to reply to SIP traffic for couple a seconds. This cause some calls drop if RE-INVITE are not processed for example. So, I'm wondering if the issue is not

Re: [SR-Users] Call forking with delay

2016-09-08 Thread Igor Potjevlesch
async_route("RELAY", "7"); }else{ route(RELAY); exit; } Mobile proxy: if($tU==987654321){ $rU=123456789; } route[INVITE]{ if($dir == "forking"){ async_route("RELAY", "7"); }else{ route(RELAY); exit; } } Thanks. 2016-08

Re: [SR-Users] Segfault in qm_insert_free

2016-08-31 Thread Igor Potjevlesch
Hello, Can we have help on my problem? Anyone have the same problem? Igor 2016-08-12 11:53 GMT+02:00 Igor Potjevlesch <igor.potjevle...@gmail.com>: > Hello, > > We got a crash yesterday of a Kamailio instance (4.2.7). > I can see a segfault: > > "Program terminated

Re: [SR-Users] Call forking with delay

2016-08-19 Thread Igor Potjevlesch
oxy, add a new branch and then suspend > > - relay first to the fixed proxy, which will bounce back to mobile proxy > the branch for mobile device > > - relay to fixed proxy and mobile proxy at the same time. When coming > from itself, mobile proxy will do async routing > >

[SR-Users] Call forking with delay

2016-08-18 Thread Igor Potjevlesch
Hello list, I have a proxy that manage fix calls and a proxy that manage mobile calls. I want to implement call forking so when I call to a fix phone the call goes to the fix proxy and it forks to the mobile proxy who manage the call and viceversa. I want the fix to ring 2 or 3 times before the

[SR-Users] Segfault in qm_insert_free

2016-08-12 Thread Igor Potjevlesch
Hello, We got a crash yesterday of a Kamailio instance (4.2.7). I can see a segfault: "Program terminated with signal 11, Segmentation fault. #0 0x0061a856 in qm_insert_free (qm=0x7fcbde513000, frag=0x7fcbded7dd08) at mem/q_malloc.c:180 180 prev=FRAG_END(f)->prev_free;" The output of

Re: [SR-Users] Increase diversion counter

2016-07-05 Thread Igor Potjevlesch
t : Re: [SR-Users] Increase diversion counter Igor Potjevlesch writes: > I was thinking to increase it and put the value in the parameter of the > module like: > modparam("diversion", "suffix", ";privacy=off;$dic") > > But it doesn't work like this.

Re: [SR-Users] Increase diversion counter

2016-07-04 Thread Igor Potjevlesch
Hello Juha, Yes, I seen this parameter. I was thinking to increase it and put the value in the parameter of the module like: modparam("diversion", "suffix", ";privacy=off;$dic") But it doesn't work like this. So, I guess I can put this value in a variable, increase the variable and use

[SR-Users] Increase diversion counter

2016-07-04 Thread Igor Potjevlesch
Hello, I'm looking for the best way to increase the Diversion counter. If my Kamailio is the first to generate a call forward I can manage this with static value into suffix params. But, if the Diversion counter is already set, I don't see how to handle this properly. Someone has already

[SR-Users] loose_route fails

2016-04-18 Thread Igor Potjevlesch
Hello, I'm trying to understand why a RE-INVITE is still discard by Kamailio (4.2.6). The RE-INVITE has the last Contact URI as Request-URI which is not Kamailio himself. But there are the route headers set. What are the other checks done by the function "loose_route()"? Regards,

Re: [SR-Users] Kamailio 4.2.6 crash

2016-02-11 Thread Igor Potjevlesch
) end overwritten(6c707061203a6570, 2f6e6f6974616369)! Regards, Igor. De : Daniel-Constantin Mierla [mailto:mico...@gmail.com] Envoyé : jeudi 4 février 2016 12:10 À : Igor Potjevlesch <igor.potjevle...@gmail.com>; 'Kamailio (SER) - Users Mailing List' <sr-users@lists.sip-router.o

Re: [SR-Users] Kamailio 4.2.6 crash

2016-02-03 Thread Igor Potjevlesch
!=&(qm->free_hash[h].head); f=f->u.nxt_free, i++, j++){ Please let me know if you need additional information from the different coredumps. Regards, Igor. De : Igor Potjevlesch [mailto:igor.potjevle...@gmail.com] Envoyé : mercredi 20 janvier 2016 13:10 À : mico...@gmail.com;

Re: [SR-Users] Memory issue?

2016-01-29 Thread Igor Potjevlesch
should be used. In your particular case, depending on how much userblacklist table should grow, you should adjust the startup shm value. Thank you for your detailed feedback on the segfault; the fix it's on its way and will be backported. Stefan On Fri, Jan 22, 2016 at 1:12 PM, Igor Potje

Re: [SR-Users] Memory issue?

2016-01-22 Thread Igor Potjevlesch
part de smititelu Envoyé : jeudi 21 janvier 2016 12:22 À : Kamailio (SER) - Users Mailing List <sr-users@lists.sip-router.org> Objet : Re: [SR-Users] Memory issue? On 21.01.2016 12:37, Igor Potjevlesch wrote: And 2 coredumps readable: Core was generated by `/usr/local/sbin/kamailio -

[SR-Users] Memory issue?

2016-01-21 Thread Igor Potjevlesch
Hello, I got several errors this morning on a Kamailio instance. The first occurred without a complete crash of Kamailio but 4 coredumps have been created: BFD: Warning: /core.3818 is truncated: expected core file size >= 342618112, found: 61579264. [New Thread 3818] Cannot access

Re: [SR-Users] Kamailio 4.2.6 crash

2016-01-20 Thread Igor Potjevlesch
Hello Daniel, Unfortunately not. Especially because I don't know how to reproduce the issue. Regards, Igor. De : Daniel-Constantin Mierla [mailto:mico...@gmail.com] Envoyé : mardi 19 janvier 2016 19:03 À : Igor Potjevlesch <igor.potjevle...@gmail.com>; 'Kamailio (SER) -

Re: [SR-Users] Kamailio 4.2.6 crash

2016-01-19 Thread Igor Potjevlesch
Potjevlesch <igor.potjevle...@gmail.com>; 'Kamailio (SER) - Users Mailing List' <sr-users@lists.sip-router.org> Objet : Re: [SR-Users] Kamailio 4.2.6 crash Hello, are you using async transactions (e.g., t_suspend() or tsilo module)? Cheers, Daniel On 15/01/16 10:51, Igor Potjevlesch wr

Re: [SR-Users] Kamailio 4.2.6 crash

2016-01-15 Thread Igor Potjevlesch
tmp_len = 32767 port = 968654846 proto = 0 options = 0x7033b8 ":f:cm:M:dVIhEeb:l:L:n:vKrRDTN:W:w:t:u:g:P:G:SQ:O:a:A:" ret = -1 seed = 1451157380 rfd = 4 debug_save = 0 debug_flag = 0 dont_fork_cnt = 0

Re: [SR-Users] Kamailio 4.2.6 crash

2016-01-15 Thread Igor Potjevlesch
10:37:47 tanus /usr/local/sbin/kamailio[24042]: INFO: rr [rr_mod.c:160]: mod_init(): outbound module not available Jan 15 10:37:47 tanus /usr/local/sbin/kamailio[24042]: INFO: usrloc [hslot.c:53]: ul_init_locks(): locks array size 1024 Regards, Igor. De : Igor Potjevlesch

Re: [SR-Users] Add Record-Route on 200 OK

2016-01-06 Thread Igor Potjevlesch
ddress, that is easy: append_hf("Record-Route: <sip:$Ri:5060;lr> <sip:$Ri:5060;lr>\r\n") Be careful if you use dialog module with did parameter, or other modules that need ftag parameter (e.g., uac, acc). Cheers, Daniel On 05/01/16 19:37, Igor Potjevlesch wrote: Hello,

Re: [SR-Users] Add Record-Route on 200 OK

2016-01-06 Thread Igor Potjevlesch
Hi Alex, It what I was thinking. What could cause this into Kamailio? Regards, Igor. -Message d'origine- De : sr-users [mailto:sr-users-boun...@lists.sip-router.org] De la part de Alex Balashov Envoyé : mercredi 6 janvier 2016 15:39 À : sr-users@lists.sip-router.org Objet : Re:

Re: [SR-Users] Add Record-Route on 200 OK

2016-01-06 Thread Igor Potjevlesch
, Igor. -Message d'origine- De : sr-users [mailto:sr-users-boun...@lists.sip-router.org] De la part de Alex Balashov Envoyé : mercredi 6 janvier 2016 16:42 À : Igor Potjevlesch <sr-users@lists.sip-router.org> Objet : Re: [SR-Users] Add Record-Route on 200 OK Kamailio has n

Re: [SR-Users] Add Record-Route on 200 OK

2016-01-06 Thread Igor Potjevlesch
Alex, You're right! I'm just raising a case to the UA vendor. Thank you for your time and answers. Regards, Igor. -Message d'origine- De : sr-users [mailto:sr-users-boun...@lists.sip-router.org] De la part de Alex Balashov Envoyé : mercredi 6 janvier 2016 16:55 À : Igor Potjevlesch

[SR-Users] Add Record-Route on 200 OK

2016-01-05 Thread Igor Potjevlesch
Hello, I'm looking for a way to add a Record-Route into a 200 OK before relaying the message to the UA. Indeed, I'm facing an issue where the 200 OK is relayed to the UA without Record-Route and with an IP address into the Contact header. So, the UA sends back his ACK to the Contact

Re: [SR-Users] Kamailio 4.2.6 crash

2016-01-04 Thread Igor Potjevlesch
Hi Daniel, I wish you an happy new year! I will schedule this update in the next few days. Thank you for your support. Regards, Igor. De : Daniel-Constantin Mierla [mailto:mico...@gmail.com] Envoyé : vendredi 18 décembre 2015 11:28 À : Igor Potjevlesch <igor.potje

Re: [SR-Users] Kamailio 4.2.6 crash

2015-12-16 Thread Igor Potjevlesch
on 12:19:48 Oct 2 2015 with gcc 4.4.7 Regards, Igor. De : Daniel-Constantin Mierla [mailto:mico...@gmail.com] Envoyé : lundi 14 décembre 2015 16:16 À : Igor Potjevlesch <igor.potjevle...@gmail.com>; 'Kamailio (SER) - Users Mailing List' <sr-users@lists.sip-router.org> Objet : R

Re: [SR-Users] Kamailio 4.2.6 crash

2015-12-14 Thread Igor Potjevlesch
ers, Daniel On 11/12/15 16:19, Igor Potjevlesch wrote: Hello, I have seen couple of crashes since yesterday. I copy/paste the last "bt full": Program terminated with signal 11, Segmentation fault. #0 0x00619694 in fm_extract_free (qm=0x7fcdf878, frag=0x

[SR-Users] Kamailio 4.2.6 crash

2015-12-11 Thread Igor Potjevlesch
Hello, I have seen couple of crashes since yesterday. I copy/paste the last "bt full": Program terminated with signal 11, Segmentation fault. #0 0x00619694 in fm_extract_free (qm=0x7fcdf878, frag=0x7fcdf8a62c78) at mem/f_malloc.c:206 206 *pf= (gdb)

[SR-Users] PDB module long prefixes

2015-12-07 Thread Igor Potjevlesch
Hi, I had configured my pdb module to accept 5 number prefixes by doing: In pdbt.c: bufsize = slen + 1 + 1 + *4* + 1 + 1; // line buff er (telephone number + colon + white space + carrier ID + newline + \0) ... ret = snprintf(p,* 7*, "%d\n", node->carrier); if (ret < 1 || ret

Re: [SR-Users] SNMPstats dialog 0

2015-11-30 Thread Igor Potjevlesch
t;o...@edvina.net>: > Must be something in how the SNMP module reads the data from the > statistics counters. > Please open a bug report and we’ll look into this. > > /O > > On 30 Nov 2015, at 10:25, Igor Potjevlesch <igor.potjevle...@gmail.com> > wrote: > > Hello,

Re: [SR-Users] SNMPstats dialog 0

2015-11-30 Thread Igor Potjevlesch
Hello, Do you know what could be the solution? Thanks, Regards, 2015-11-25 10:14 GMT+01:00 Igor Potjevlesch <igor.potjevle...@gmail.com>: > Hello, > > # kamctl stats dialog > dialog:active_dialogs = 498 > dialog:early_dialogs = 57 > dialog:expired_dialogs = 24 > di

Re: [SR-Users] SNMPstats dialog 0

2015-11-25 Thread Igor Potjevlesch
o 'kamctl stats dialog', what is printed? > > Cheers, > Daniel > > > On 25/11/15 09:46, Igor Potjevlesch wrote: > > Hello, > > I have rebooted my kamailio machine and now the value of kamailio dialogs > is always 0: > > KAMAILIO-MI

Re: [SR-Users] Kamailio/RTPProxy incorrect port 0

2015-11-25 Thread Igor Potjevlesch
i.e. 10,000 in my example. See "man setrlimit" for details. On Tue, Nov 24, 2015 at 1:41 AM, Igor Potjevlesch <igor.potjevle...@gmail.com <mailto:igor.potjevle...@gmail.com> > wrote: Hi Maxim, There are no errors like "can't create" or "can't bind".

Re: [SR-Users] Kamailio/RTPProxy incorrect port 0

2015-11-24 Thread Igor Potjevlesch
; RTPP_ELOG(cf->glog, RTPP_LOG_ERR, "can't bind to the %s port %d", (ia->sa_family == AF_INET) ? "IPv4" : "IPv6", port); I suggest checking logs around that "0" reply, There should be some clue. On Mon, Nov 23

Re: [SR-Users] Issue with SNMPstats

2015-11-24 Thread Igor Potjevlesch
::kamailioTotalNumFailedDialogSetups.0 = Counter32: 0 And also the status is: KAMAILIO-MIB::kamailioDialogUsageState.0 = INTEGER: idle(0) How can I change it to active(1)? I have dialog.so loaded as well as dlg_flag and dlg_manage(). Thank you. 2015-05-25 18:55 GMT+02:00 Igor Potjevlesch <igor.potje

Re: [SR-Users] Kamailio/RTPProxy incorrect port 0

2015-11-23 Thread Igor Potjevlesch
much patched as your version, and I'm also > not seeing the other INFO packages, just the 0 port error message. > > Any insight would be appreciated. > Dirk > > > On 20-11-15 19:25, Igor Potjevlesch wrote: >> To complete my message, each "incorrect

[SR-Users] Kamailio/RTPProxy incorrect port 0

2015-11-20 Thread Igor Potjevlesch
Hello, I can't figure out why Kamailio reports hundreds of calls with the following error: "/usr/local/sbin/kamailio[2997]: ERROR: rtpproxy [rtpproxy.c:2727]: force_rtp_proxy(): incorrect port 0 in reply from rtp proxy" It seems that each time this error occurs, we got a one-way audio

Re: [SR-Users] Multiple crashes of Kamailio 4.2.1

2015-10-17 Thread Igor Potjevlesch
7 port = 1195477710 proto = 0 options = 0x6ff8f8 ":f:cm:M:dVIhEeb:l:L:n:vKrRDTN:W:w:t:u:g:P:G:SQ:O:a:A:" ret = -1 seed = 2329478669 rfd = 4 debug_save = 0 debug_flag = 0 dont_fork_cnt = 0 n_lst = 0x40

Re: [SR-Users] Multiple crashes of Kamailio 4.2.1

2015-09-18 Thread Igor Potjevlesch
Hello, Yes ok. I will schedule this update and I will let you know. Thank you. Regards, Igor. De : Daniel-Constantin Mierla [mailto:mico...@gmail.com] Envoyé : jeudi 17 septembre 2015 17:43 À : Igor Potjevlesch <igor.potjevle...@gmail.com>; 'Kamailio (SER) - Users Mailing Lis

Re: [SR-Users] Multiple crashes of Kamailio 4.2.1

2015-09-17 Thread Igor Potjevlesch
mico...@gmail.com] Envoyé : jeudi 17 septembre 2015 11:40 À : Igor Potjevlesch <igor.potjevle...@gmail.com>; 'Kamailio (SER) - Users Mailing List' <sr-users@lists.sip-router.org> Objet : Re: [SR-Users] Multiple crashes of Kamailio 4.2.1 Hello, from the second trace, can you get out

Re: [SR-Users] Multiple crashes of Kamailio 4.2.1

2015-09-12 Thread Igor Potjevlesch
dbce69b8) at main.c:2578 cfg_stream = 0x1f28010 c = -1 r = 0 tmp = 0x7fffdbce6f70 "" tmp_len = 0 port = 0 proto = 32767 options = 0x6fcc00 ":f:cm:M:dVIhEeb:l:L:n:vKrRDTN:W:w:t:u:g:P:G:SQ:O:a:A:" ret

Re: [SR-Users] Multiple crashes of Kamailio 4.2.1

2015-09-11 Thread Igor Potjevlesch
4 debug_save = 0 debug_flag = 0 dont_fork_cnt = 0 n_lst = 0xc2 p = 0x74d8e86e "" __FUNCTION__ = "main" Regards, Igor. De : sr-users [mailto:sr-users-boun...@lists.sip-router.org] De la part de Daniel-Constantin

Re: [SR-Users] Multiple crashes of Kamailio 4.2.1

2015-09-11 Thread Igor Potjevlesch
t_fork_cnt = 0 n_lst = 0xc2 p = 0x7fff08877e7e "" __FUNCTION__ = "main" Regards, Igor. De : Igor Potjevlesch [mailto:igor.potjevle...@gmail.com] Envoyé : jeudi 10 septembre 2015 16:43 À : mico...@gmail.com; 'Kamailio (SER

Re: [SR-Users] Multiple crashes of Kamailio 4.2.1

2015-09-10 Thread Igor Potjevlesch
debug_flag = 0 dont_fork_cnt = 0 n_lst = 0xc2 p = 0x7fffe3a0398e "" __FUNCTION__ = "main" Regards, Igor. De : Igor Potjevlesch [mailto:igor.potjevle...@gmail.com] Envoyé : lundi 20 juillet 2015 16:22 À : sr-users@lists.si

[SR-Users] Multiple crashes of Kamailio 4.2.1

2015-07-20 Thread Igor Potjevlesch
Hello, 3 crashes occurred today (we never seen crashes on this server before) during a period of 20 minutes. I had a look to the coredumps. Here is a quick overview of the first entries of bt full: core.27671 : #0 0x7f5577048d65 in run_trans_callbacks_internal

Re: [SR-Users] subst + insert_hf issue

2015-07-03 Thread Igor Potjevlesch
/07/15 17:34, Igor Potjevlesch wrote: Hello, I'm doing a subst on the From header for some particular cases, like this one: subst('/^(From|f):(.*)sip:(.*)@/\1: Anonymous sip:\3@/g'); In the same route (REQUEST_ROUTE called INVITE), I do the following: insert_hf(X-CarrierName: $avp

[SR-Users] subst + insert_hf issue

2015-07-01 Thread Igor Potjevlesch
Hello, I'm doing a subst on the From header for some particular cases, like this one: subst('/^(From|f):(.*)sip:(.*)@/\1: Anonymous sip:\3@/g'); In the same route (REQUEST_ROUTE called INVITE), I do the following: insert_hf(X-CarrierName: $avp(s:carrier_id)\r\n); For many User-Agent,

Re: [SR-Users] Issue with SNMPstats

2015-05-25 Thread Igor Potjevlesch
, Daniel On 25/05/15 12:45, Igor Potjevlesch wrote: Hello, I have configured the SNMPstats module fine in my machine because I get the SNMP information with the new KAMAILIO MIBS but I don't understand why the value of kamailio dialogs is always 0: KAMAILIO-MIB::kamailioCurNumDialogs.0

[SR-Users] Issue with SNMPstats

2015-05-25 Thread Igor Potjevlesch
Hello, I have configured the SNMPstats module fine in my machine because I get the SNMP information with the new KAMAILIO MIBS but I don't understand why the value of kamailio dialogs is always 0: KAMAILIO-MIB::kamailioCurNumDialogs.0 = Gauge32: 0 KAMAILIO-MIB::kamailioCurNumDialogsInProgress.0

Re: [SR-Users] Issue with SNMPstats

2015-05-25 Thread Igor Potjevlesch
Hello, I have already put: modparam(dialog, dlg_flag, 4) But I cannot see anything so I should put the dlg_amange() function right? Thanks and regards, 2015-05-25 17:21 GMT+02:00 ycaner yasin.ca...@netgsm.com.tr: Hello; Try to set dialog flag. you can do it with dlg_manage() function.

Re: [SR-Users] Issue with Asterisk interconnection for VoiceMail

2015-05-18 Thread Igor Potjevlesch
] Issue with Asterisk interconnection for VoiceMail And $ru is OK while sending to wrong (initial) IP? Did you try to set/check $du too? 2015-05-15 11:30 GMT+03:00 Igor Potjevlesch igor.potjevle...@gmail.com mailto:igor.potjevle...@gmail.com : Hello, I experienced a strange issue with some

Re: [SR-Users] Issue with Asterisk interconnection for VoiceMail

2015-05-18 Thread Igor Potjevlesch
Hello Daniel, I tried and it works! Thank you. So, as suggested, I write $du=$null before call RELAY route. Regards, Igor. -Message d'origine- De : Igor Potjevlesch [mailto:igor.potjevle...@gmail.com] Envoyé : lundi 18 mai 2015 16:42 À : 'Kamailio (SER) - Users Mailing List' Objet

Re: [SR-Users] Issue with Asterisk interconnection for VoiceMail

2015-05-18 Thread Igor Potjevlesch
] De la part de Daniel Tryba Envoyé : vendredi 15 mai 2015 10:58 À : sr-users@lists.sip-router.org Objet : Re: [SR-Users] Issue with Asterisk interconnection for VoiceMail On Friday 15 May 2015 10:30:45 Igor Potjevlesch wrote: Then, the request goes to RELAY. Here is the issue: sometimes

[SR-Users] Issue with Asterisk interconnection for VoiceMail

2015-05-15 Thread Igor Potjevlesch
Hello, I experienced a strange issue with some of VoIP accounts. When the INVITE comes into MANAGE_FAILURE, after timeout, the config identifies, with dialplan, the right Asterisk instance that should handle the call for voicemail. This part is okay, and results in a new INVITE with

[SR-Users] subst_hf with capture groups

2015-04-27 Thread Igor Potjevlesch
Hello, I can't figure out how to handle this case: subst_hf(P-Asserted-Identity, /(.*\)0(.*)(.*\)/\133\2\3/, a); I'd like to substitute with \1 followed with 33 but it looks like the substitution tries to be done with \133. The capture group \133 doesn't exist. I tried with the

Re: [SR-Users] subst_hf with capture groups

2015-04-27 Thread Igor Potjevlesch
/04/15 16:01, Igor Potjevlesch wrote: Hello, I can't figure out how to handle this case: subst_hf(P-Asserted-Identity, /(.*\)0(.*)(.*\)/\133\2\3/, a); I'd like to substitute with \1 followed with 33 but it looks like the substitution tries to be done with \133. The capture group \133 doesn't

Re: [SR-Users] Error protoaddr2proxy

2015-04-15 Thread Igor Potjevlesch
To precise, the error occurred with t_replicate_to where the second parameter is an AVP like hostname:4060 Regards, Igor. De : Igor Potjevlesch [mailto:igor.potjevle...@gmail.com] Envoyé : mercredi 15 avril 2015 09:15 À : sr-users@lists.sip-router.org Objet : Error protoaddr2proxy

[SR-Users] Error protoaddr2proxy

2015-04-15 Thread Igor Potjevlesch
Hello, I got many errors like this one: ERROR: tm [tm.c:1192]: t_protoaddr2proxy(): tm: protoaddr2proxy: host name is empty It looks to be while I'm doing a sl_send_reply but I don't figure out why. Someone know what going wrong? Regards, Igor.

[SR-Users] Timeout session Kamailio w/ rtpproxy v2

2015-04-13 Thread Igor Potjevlesch
Hi everyone, I've sent my request on the rtpproxy google group without answer so try here. I'm using Kamailio 4.2.3 (and few older versions) with the new release of rtpproxy. I can't get the info of a session timeout (-n or -i options) from rtpproxy to my Kamailio proxy, using -n and the

Re: [SR-Users] RTPProxy issue?

2015-03-19 Thread Igor Potjevlesch
? Igor, yes, I'd say give 2.0 a try and see if the problem is still there. There were tons of changes, particularly in the rtp_resize subsystem. Thanks! On Sun, Mar 8, 2015 at 7:31 AM, Igor Potjevlesch igor.potjevle...@gmail.com mailto:igor.potjevle...@gmail.com wrote: Hello Maxim, I'm

Re: [SR-Users] RTPProxy issue?

2015-03-08 Thread Igor Potjevlesch
done quite some revamping down there, so that it needs to be checked against the very latest code to make sure. Let us know. Thanks! On Mar 6, 2015 12:31 AM, Igor Potjevlesch igor.potjevle...@gmail.com mailto:igor.potjevle...@gmail.com wrote: Hi Maxim, Hard to do because it's in production

Re: [SR-Users] RTPProxy issue?

2015-03-05 Thread Igor Potjevlesch
: [SR-Users] RTPProxy issue? Hello, maybe Maxim (cc-ed) will be able to provide more insights. Cheers, DAniel On 04/03/15 16:59, Igor Potjevlesch wrote: Hello, I discovered an issue related to the handling of timestamp and/or Marker bit with rtpproxy (I use the latest Extension 20081224

[SR-Users] RTPProxy issue?

2015-03-04 Thread Igor Potjevlesch
Hello, I discovered an issue related to the handling of timestamp and/or Marker bit with rtpproxy (I use the latest Extension 20081224). The call-flow is the following: one UA places a call to A and put this call on hold. Then, the same UA call another number B. Individual streams are ok.

Re: [SR-Users] Syntax issue?

2015-02-17 Thread Igor Potjevlesch
/2015 04:51 PM, Igor Potjevlesch wrote: Thank you Alex. I'm not sure to understand the parameter size associated to the hashtable. I have setup 4. So, I understand that I can have 2^4 entries. Does it mean that, if the table is composed with $ci+$ft, I can have 16 concurrent calls store

Re: [SR-Users] Syntax issue?

2015-02-16 Thread Igor Potjevlesch
Additionally, there's no other way than implementing dialog module to keep a variable between the beginning and the end of a call? Regards, Igor. De : Igor Potjevlesch [mailto:igor.potjevle...@gmail.com] Envoyé : lundi 16 février 2015 18:36 À : 'Kamailio (SER) - Users Mailing List

[SR-Users] Syntax issue?

2015-02-16 Thread Igor Potjevlesch
Hello, I'm looking for a way to track a call by using basic AVP like this: Into a route that treats INVITE: $avp(s:state)=call_start; Then, if I test this AVP into WITHINDLG route: if($avp(s:state)!=call_start) ; the test fails. Did I miss something? The goal is to update this

Re: [SR-Users] Syntax issue?

2015-02-16 Thread Igor Potjevlesch
etc. What you need is to set dialog variable instead, see more info here, http://kamailio.org/docs/modules/4.2.x/modules/dialog.html#idp4202736 Thank you. On Mon, Feb 16, 2015 at 6:08 PM, Igor Potjevlesch igor.potjevle...@gmail.com mailto:igor.potjevle...@gmail.com wrote: Hello, I'm

Re: [SR-Users] Syntax issue?

2015-02-16 Thread Igor Potjevlesch
etc. Another way is to set it as record-route parameter using RR module. (not recommended) http://kamailio.org/docs/modules/4.2.x/modules/rr.html#add-rr-param-id Thank you. On Mon, Feb 16, 2015 at 6:42 PM, Igor Potjevlesch igor.potjevle...@gmail.com mailto:igor.potjevle...@gmail.com

Re: [SR-Users] Syntax issue?

2015-02-16 Thread Igor Potjevlesch
. De : Igor Potjevlesch [mailto:igor.potjevle...@gmail.com] Envoyé : lundi 16 février 2015 19:38 À : 'Kamailio (SER) - Users Mailing List' Objet : RE: [SR-Users] Syntax issue? I just tried with RR but it didn't really match what I want to do. HTAble with Call-ID+From-tag is a really

Re: [SR-Users] Syntax issue?

2015-02-16 Thread Igor Potjevlesch
. De : sr-users [mailto:sr-users-boun...@lists.sip-router.org] De la part de Alex Balashov Envoyé : lundi 16 février 2015 21:24 À : Igor Potjevlesch Objet : Re: [SR-Users] Syntax issue? Yes, and yes. -- Sent from my BlackBerry. Please excuse errors and brevity. From: Igor Potjevlesch Sent

  1   2   3   >