[SR-Users] Segmentation fault - dialog RPC

2017-03-13 Thread pars3c
Dear all, many times, when i call dialog_list on dialog module with jsonrpc, kamailio crash. The version i use is: 4.4.2 Thanks for any suggestion. #0 0x7f2a706eb00a in internal_rpc_profile_print_dlgs (rpc=0x7f2a4fdf99a0, c=0x7f2a4fdf9940, profile_name=0x7fffb9fa8b10, value=0x0)

[SR-Users] R: RPC tcp limit buffer

2016-09-27 Thread pars3c
Thanks , i will try it. Da: sr-users [mailto:sr-users-boun...@lists.sip-router.org] Per conto di Daniel-Constantin Mierla Inviato: martedì 27 settembre 2016 09:54 A: Kamailio (SER) - Users Mailing List Oggetto: Re: [SR-Users] RPC tcp limit buffer Hello, On 26/09/16 19:58, pars3c

[SR-Users] RPC tcp limit buffer

2016-09-26 Thread pars3c
Hello, i'm trying to list the dialog (dlg_profile list) in the proxy using an RPC call to jsonrpc-s (dlg_profile list). But when there are many calls , kamailio send an error because the tcp buffer is not big enough. The only solution is to increase the parameter tcp_conn_wq_max every time i'

[SR-Users] Kamailio segmentation fault rpc request

2016-08-03 Thread pars3c
Hello , i make many request toward jsonrpc server, using dlg.profile_list. Usually on high load, kamailio crash . Last time in the dump, ther is : 0 0x7f25361cd00a in internal_rpc_profile_print_dlgs (rpc=0x7f25158db9a0, c=0x7f25158db940, profile_name=0x7fffb5b5bb70, value=0x0) at dialog.

[SR-Users] R: R: R: R: R: acc time mode 2 wrong timestamp

2016-06-28 Thread pars3c
Hello, the new version will contain also the patch for the db for this issue ? Thanks Da: Daniel-Constantin Mierla [mailto:mico...@gmail.com] Inviato: giovedì 23 giugno 2016 09:26 A: pars3c; 'Kamailio (SER) - Users Mailing List' Oggetto: Re: R: R: R: R: [SR-Users] acc time mo

[SR-Users] R: R: R: R: acc time mode 2 wrong timestamp

2016-06-22 Thread pars3c
Thnaks Da: Daniel-Constantin Mierla [mailto:mico...@gmail.com] Inviato: giovedì 23 giugno 2016 07:29 A: pars3c; 'Kamailio (SER) - Users Mailing List' Oggetto: Re: R: R: R: [SR-Users] acc time mode 2 wrong timestamp Hello, can you try with git master branch or backpor

[SR-Users] R: R: R: acc time mode 2 wrong timestamp

2016-06-22 Thread pars3c
: Daniel-Constantin Mierla [mailto:mico...@gmail.com] Inviato: mercoledì 22 giugno 2016 21:33 A: pars3c; 'Kamailio (SER) - Users Mailing List' Oggetto: Re: R: R: [SR-Users] acc time mode 2 wrong timestamp Hello, so you don't get the accounting record in syslog because acc is not

[SR-Users] R: R: acc time mode 2 wrong timestamp

2016-06-22 Thread pars3c
ram("acc", "detect_direction", 1) modparam("acc", "report_cancels", 1) modparam("acc", "early_media", 0) modparam("acc", "time_mode", 2) modparam("acc", "time_attr", &

[SR-Users] R: acc time mode 2 wrong timestamp

2016-06-22 Thread pars3c
in the database? I am trying to isolate if the issue is in code or somehow in the database column type. Cheers, Daniel On 21/06/16 10:19, pars3c wrote: Hello, i’ve installled the new version of kamailio 4.4.1 . in 2 different server , with acc module and these parameters: modparam(&quo

[SR-Users] acc time mode 2 wrong timestamp

2016-06-21 Thread pars3c
Hello, i've installled the new version of kamailio 4.4.1 . in 2 different server , with acc module and these parameters: modparam("acc", "time_mode", 2) modparam("acc", "time_attr", "seconds") should be seconds.millisec On the first server in acc table , in field seconds i have values like

[SR-Users] Rpc question

2015-01-27 Thread Pars3c
Hi, I need to request to kamailio the list of all the active dialog (with some dialog variable). Now , i'm doing it with a program that call the proxy with the xmlrpc module. The problem is that when it arrive to 350-400 calls, the reply fail because it has no memory free. Now ,i have setted the pk

[SR-Users] R: Dialog variable lost in ACC

2015-01-26 Thread pars3c
you using a tm onreply_route[id] or the core reply_route to set those variables? Cheers, Daniel On 25/01/15 01:00, Pars3c wrote: Hi, anyone know what happened ? Many thanks Il mercoledì 21 gennaio 2015, Pars3c ha scritto: Hi , I've updated kamailio from 4.1.4 to 4.1.7 and some

Re: [SR-Users] Dialog variable lost in ACC

2015-01-24 Thread Pars3c
Hi, anyone know what happened ? Many thanks Il mercoledì 21 gennaio 2015, Pars3c ha scritto: > Hi , > I've updated kamailio from 4.1.4 to 4.1.7 and some times dialog variables > are not writed on the db by the ACC module. > The variable that is not writed ,is setted in the on

[SR-Users] Dialog variable lost in ACC

2015-01-21 Thread Pars3c
Hi , I've updated kamailio from 4.1.4 to 4.1.7 and some times dialog variables are not writed on the db by the ACC module. The variable that is not writed ,is setted in the on reply route ,when it receive the 200ok and method is invite. If i come back to the 4.1.4 all is ok. If i patch kamailio 4.1

[SR-Users] Rpc dialog variable

2014-12-22 Thread Pars3c
Hi How can i do to see the dialog variables like $dlg_var with RPC ? It's possible? Thanks ___ 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-u

Re: [SR-Users] Kamailio not start if redis server is down

2014-12-22 Thread Pars3c
: > What would you like to happen when a service on which you depend is not > available? > > On 22 December 2014 at 15:56, pars3c > wrote: > >> Hi, >> >> i’m trying to use the ndb_redis connector , but i’ve a problem when redis >> server is down and i

[SR-Users] Kamailio not start if redis server is down

2014-12-22 Thread pars3c
Hi, i'm trying to use the ndb_redis connector , but i've a problem when redis server is down and i try to restart kamailio. Kamailio in this case not start and release this log: 2(19590) ERROR: ndb_redis [redis_client.c:112]: redisc_init(): error communicating with redis server [srv1] (xx

Re: [SR-Users] Dialog update timeout

2014-12-20 Thread Pars3c
Any ideas for this error? Thanks Il martedì 16 dicembre 2014, Pars3c ha scritto: > Hi , i try it with onreply_route[abc] but i have the same results ".. > Bogus dialog..." > > Il martedì 16 dicembre 2014, Daniel-Constantin Mierla > ha scritto: > >> Try

Re: [SR-Users] Dialog update timeout

2014-12-16 Thread Pars3c
ut a name is executed from core and the > avps for transaction (used by tm and dialog) are not available yet. > > Cheers, > Daniel > > On 16/12/14 08:48, pars3c wrote: > > Also with dlg_manage() i’ve the same error : > > “CRITICAL: dialog [dlg_timer.c:205]: update_dlg_

[SR-Users] R: Dialog update timeout

2014-12-15 Thread pars3c
(c_time)-(int)$dlg_var(invite_time)); dlg_set_timeout("1800"); xlog("L_INFO","200OK UPDATE TIMEOUT - timeout:$dlg(lifetime)-- \n"); } } Any ideas ? Thanks Da: Pars3c [mailto:par...@gmail.com] Inviato: lunedì 15 dicembre 2014 22:04 A

Re: [SR-Users] Dialog update timeout

2014-12-15 Thread Pars3c
I should try it. I update you Thanks Il lunedì 15 dicembre 2014, Alex Balashov ha scritto: > On 12/15/2014 04:01 PM, Pars3c wrote: > > Yes, i track the dialog setting the flag on the initial invite >> > > Do you get any different results if you call dlg_manage() instead? &

Re: [SR-Users] Dialog update timeout

2014-12-15 Thread Pars3c
Yes, i track the dialog setting the flag on the initial invite Il lunedì 15 dicembre 2014, Alex Balashov ha scritto: > Are you properly tracking the dialog? i.e. you're sure you've called > dlg_manage() or set the dialog tracking flag when processing the initial > INVITE? > > -- > Alex Balashov

Re: [SR-Users] Dialog update timeout

2014-12-15 Thread Pars3c
I tried to set this avp but it's not working. Il lunedì 15 dicembre 2014, Kalala Alexander ha scritto: > Maybe > modparam("dialog", "timeout_avp", "$avp(time)") > > 15.12.2014, 23:44, "Pars3c" >: > > Hi, > I wish to updat

[SR-Users] Dialog update timeout

2014-12-15 Thread Pars3c
Hi, I wish to update dialog timeout when i receive the 200ok in the on_reply route I try to make it with the dlg_set_timeout but it give an error "bogus dialog..." How can i make it? Thanks ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users

Re: [SR-Users] Problem on dialog and reInvite

2014-04-05 Thread Pars3c
Anybody know with is the problem ? Thanks Il mercoledì 2 aprile 2014, pars3c ha scritto: > Hi > > I've a problem of this type: > > On the first INVITE is all ok, insert record route with cookie of the > dialog: > > Record-Route: > > The I recieive a

[SR-Users] Problem on dialog and reInvite

2014-04-02 Thread pars3c
Hi I've a problem of this type: On the first INVITE is all ok, insert record route with cookie of the dialog: Record-Route: The I recieive a 422 for the session timer too small . I resend the new invite with correct expire but with a new cookie dialog value Record-Route: Then the call is

[SR-Users] R: Reply route and variable

2014-04-02 Thread pars3c
correct ? Thanks Da: pars3c [mailto:par...@gmail.com] Inviato: martedì 1 aprile 2014 17:32 A: 'Kamailio (SER) - Users Mailing List' Oggetto: Reply route and variable Hi , i have a question for all : in the onreply_route is visible a dialog variable ($dlg_var(ring_time)

[SR-Users] Reply route and variable

2014-04-01 Thread pars3c
Hi , i have a question for all : in the onreply_route is visible a dialog variable ($dlg_var(ring_time)) or a avp variable ? Can I set them , on this kind of route ? On the event route (dialog start) they are all null. I try to set them, but some time (on reInvite) this variables are not se

[SR-Users] R: ERROR reply code Failure route

2014-03-31 Thread pars3c
-Users] ERROR reply code Failure route Hello, can you look at sip traffic to see if a 500 response is received and then another one with code 487 comes? Cheers, Daniel On 31/03/14 10:19, pars3c wrote: Hello, i receive many error on the failure route like this “ t_should_relay_response

[SR-Users] ERROR reply code Failure route

2014-03-31 Thread pars3c
Hello, i receive many error on the failure route like this " t_should_relay_response(): ERROR: t_should_relay_response: status rewrite by UAS: stored: 500, received: 487" . Do you know why ? My version of Kamailio is the 4.1.2 and the code is this: failure_route[MANAGE_FAILURE] {

[SR-Users] crash dialog module

2014-03-24 Thread pars3c
Hi, i have installed the new version ok kamailio 4.1.2. I don't know why Kamailio crash writing this ob the log: : [mem/q_malloc.c:468]: qm_free(): BUG: qm_free: freeing already freed pointer (0x7fc3ab755eb0), called from dialog: dlg_hash.c: dlg_update_cseq(591), first free dialog: dlg_has

[SR-Users] crash dialog module

2014-03-24 Thread pars3c
Hi, i have installed the new version ok kamailio 4.1.2. I don't know why Kamailio crash writing this ob the log: : [mem/q_malloc.c:468]: qm_free(): BUG: qm_free: freeing already freed pointer (0x7fc3ab755eb0), called from dialog: dlg_hash.c: dlg_update_cseq(591), first free dialog: dlg_has

[SR-Users] R: Redis module problem

2013-03-21 Thread pars3c
tch for any or both of these change, we will get the in -- if you are not a developer and is not convenient to do it, I will do it sometime soon, in this devel cycle, but I may need your assistance to test. Cheers, Daniel On 3/20/13 5:54 PM, pars3c wrote: Hello, i’m using the Redis module, but

[SR-Users] Redis module problem

2013-03-20 Thread pars3c
Hello, i'm using the Redis module, but the function "redis_cmd" doesn't return false if there is some problem on the database. if(redis_cmd("srv1","$var(redis_credit)", "r")) { $var(credit_op)=$redis(r=>value); xlog("L_INFO","xxx -- \n"); } else { xlog("L_INFO","y

[SR-Users] send 100 provisioning delayed

2012-11-27 Thread pars3c
Hi , The proxy send the "automatic" provisioning message 100 "Trying" , near 1-2 seconds later the INVITE message, so the client send 3 times the same invite (correct , 500 ms timer). Is there any parameter to set , for the time between the INVITE and "100" message ? Is correct to disable th

[SR-Users] Hangup call on leg B side

2012-10-22 Thread pars3c
Hi , i don't know how to realize this: A --- INVITE>proxy INVITE> B <--- 200 OK ---BYE> ---INVITE ->C <--- 200 OK p

[SR-Users] R: Delay message

2012-10-15 Thread pars3c
-Users] Delay message It sounds like you're after the recent asynchronous TM innovations: http://www.kamailio.org/docs/modules/3.3.x/modules_k/tmx.html#id2535968 http://www.kamailio.org/docs/modules/3.3.x/modules_k/tmx.html#id2525882 On 10/15/2012 09:49 AM, pars3c wrote: > Hi, > > h

[SR-Users] Delay message

2012-10-15 Thread pars3c
Hi, how can i delay sending of a message ? A > proxy (after x seconds) ---> B If I use the sleep function of the cfgutils module,I block all the calls for the sleep time or the single one? Thanks ___ SIP Express Router (SER) and Kamailio (Ope

[SR-Users] Wesip Netbeans

2012-10-15 Thread pars3c
Hi , anyone know if it is possible to use Wesip with Glassfish instead of Tomcat? I'm new in using Glassfish and sip servlet, and I don't know how to start the sip servlet. In tomcat there is the file server.xml, and the connector . How "say" to glassfish to start a listener on sip packe

[SR-Users] log alerting time, progress time connect time

2012-10-11 Thread pars3c
Hi , i need to register the time when arrive the following messages: invite, alerting, progress , connected and hangup. How can I make it ? it's is possible to store these value in the extra field in the acc module ? Thanks ___ SIP Express R

[SR-Users] Wrong handling CANCEL message

2010-04-29 Thread pars3c
Hi, i have a problem about the handling of the "cancel" message. The call flow is this: A -> (Invite)Proxy (P) B (100 Tryng) <--- ->(Invite) B (100 Try