Re: [SR-Users] No cdr after Kamailio 5.0 restart

2017-03-20 Thread Diego Nadares
I didn't mention that I did this on kamailio 4.4. Cheers, Diego 2017-03-20 16:38 GMT-03:00 Diego Nadares : > Hi Lucian, > > I made a few changes like you and I think it's working. Loads dialogs and > generate cdr. It needs more testing. The function cdr_on_load it's copy > and paste to avoid t

Re: [SR-Users] No cdr after Kamailio 5.0 restart

2017-03-20 Thread Diego Nadares
Hi Lucian, I made a few changes like you and I think it's working. Loads dialogs and generate cdr. It needs more testing. The function cdr_on_load it's copy and paste to avoid touching those params in on_create. A lot of improve is needed. diff --git a/modules/dialog/dialog.c b/modules/dialog/*d

Re: [SR-Users] ht_db_load_table(): key type must be string (type=6)

2017-03-20 Thread Ginhoux, Patrick
Hi, To figure out what causes this issue, I work to shorten my kamailio.cfg to contains loadmodule/modparam instructions for the htable module only. My first attempt (see kamailio.cfg.ok) shows that the problem doesn't occur. In the second attempt (see kamailio.cfg.ko) I add instructions previ

Re: [SR-Users] [SIP Transaction] Handle Cancel message

2017-03-20 Thread Hai Bui Duc Ha
Hi Daniel, Looking forward to your reply ! Thank for your support. Have a nice trip ! Regards, Hai Bui On Mon, Mar 20, 2017 at 7:50 PM, Daniel-Constantin Mierla wrote: > Hello, > > I have been traveling lately and didn't get a chance yet to analyze. This > week I am out of the office as well

Re: [SR-Users] ACC - Cdr enabled

2017-03-20 Thread Diego Nadares
Hi, I'm trying to avoid that. I would like to save all what I need just in acc_cdr table. Is that posible? 2017-03-20 11:39 GMT-03:00 Kordován Szabolcs : > Hi, > > In the table acc you can see what you need. You can use callid to connect > the rows. > > Regards, > Szabolcs > > 2017-03-20 14:45 GM

Re: [SR-Users] ACC - Cdr enabled

2017-03-20 Thread Kordován Szabolcs
Hi, In the table acc you can see what you need. You can use callid to connect the rows. Regards, Szabolcs 2017-03-20 14:45 GMT+01:00 Diego Nadares : > Hi, > > Sorry, . I meant the sip_code/sip_reason of the message that hangup the > call. > > For example: > > *** 1. row

Re: [SR-Users] ACC - Cdr enabled

2017-03-20 Thread Diego Nadares
Hi, Sorry, . I meant the sip_code/sip_reason of the message that hangup the call. For example: *** 1. row *** id: 160 method: BYE from_tag: 1 to_tag: 56 callid: 1-2397@172.16.213.21

Re: [SR-Users] ACC - Cdr enabled

2017-03-20 Thread Kordován Szabolcs
Hi, How do you mean 'hangup cause'? ISUP cause call? If the server supports isup cause it can insert an additional header (eg. X-Asterisk-HangupCauseCode) but it is not mandatory. I think you have to know the name of the header which contains the cause code and you can read it. if (is_present_hf(

Re: [SR-Users] [SIP Transaction] Handle Cancel message

2017-03-20 Thread Daniel-Constantin Mierla
Hello, I have been traveling lately and didn't get a chance yet to analyze. This week I am out of the office as well, but I will try to look at pcap trace when I get a bit of spare time. Cheers, Daniel On Mon, Mar 20, 2017 at 2:07 PM, Hai Bui Duc Ha wrote: > Hi Daniel, > > Do you have any ide

Re: [SR-Users] [SIP Transaction] Handle Cancel message

2017-03-20 Thread Hai Bui Duc Ha
Hi Daniel, Do you have any ideas for this issue ? Regards, Hai Bui On Mon, Mar 13, 2017 at 5:41 PM, Hai Bui Duc Ha wrote: > Hi Daniel, > > I send you pcap files. > Please take a look. > > Regards, > Hai Bui > > On Sun, Mar 12, 2017 at 9:39 AM, Hai Bui Duc Ha > wrote: > >> Hi Daniel, >> >> Sor

Re: [SR-Users] No cdr after Kamailio 5.0 restart

2017-03-20 Thread Kordován Szabolcs
Hi All, I have tired your patch but it dosen't work. No any changes. :( Regards, Szabolcs 2017-03-16 15:36 GMT+01:00 Lucian Balaceanu : > Hello all, > > Just created the pull request: https://github.com/kamailio/ > kamailio/pull/1036 in relation to this problem with the sketch of a > solution.

Re: [SR-Users] ACC - Cdr enabled

2017-03-20 Thread Diego Nadares
I figured out that I can get start_time and end_time from dlg_vars. The only thing left is hangup cause. Any help with this? Thanks! 2017-03-20 9:46 GMT-03:00 Diego Nadares : > Hi guys, > > I have configured to use cdr with extra fields > > modparam("acc", "cdr_extra", > *"sip_code=$rs;

[SR-Users] ACC - Cdr enabled

2017-03-20 Thread Diego Nadares
Hi guys, I have configured to use cdr with extra fields modparam("acc", "cdr_extra", *"sip_code=$rs;sip_reason=$rr;"* "hangup_src=$dlg_var(hangup_disposition);" "prefix=$dlg_var(prefix);gos=$dlg_var(gos);endpoint_type=$ dlg_var(endpoint_type);" "ip_a=$dlg_var(ip_a);i

[SR-Users] Is File Sharing between two Extensions Possible?

2017-03-20 Thread Shahid Mehmood
Dear all, I want to share (any kind of) files between two extensions. Is it possible? If it is, then how ??? please elaborate with example. -- Shahid Mehmood ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users

Re: [SR-Users] wiresharking TLS problem

2017-03-20 Thread Max Mühlbronner
Hi, http://wiki.snom.com/FAQ/How_to_decode_TLS_calls_using_wireshark Additionally you need make sure to not use a DH enumeral cipher (client/server) if you want to decrypt the SIP TLS traffic. BR Max M. On 20.03.2017 09:04, Rex Lin (林昱頡) wrote: hi all wondering if any of you has the e

[SR-Users] wiresharking TLS problem

2017-03-20 Thread 林昱頡
hi all wondering if any of you has the experience of TLS decrypting, SIP client has problem while calling each other, but we are using TLS for communication protocol.facing problem debugging it. Best Regards, Rex Lin ___ SIP Express Router (S