Re: [SR-Users] Kamailio 3.3.0 CDR logging call "duration"

2012-10-16 Thread Nord7
Hello, In ACC module i'm set extra field "duration=$avp(i:256)" and added after "lose_route", in method "BYE" $avp_printf("$avp(i:256)", "$DLG_lifetime") function. Now after call, in databasse field "duration" i have text "". If i set function like this: $avp_printf("$avp(i:256)", "TEST") all is

Re: [SR-Users] Kamailio 3.3.0 CDR logging call "duration"

2012-10-15 Thread Daniel-Constantin Mierla
Hello, do not reply to private email only when it is about a discussion on the mailing list - such messages will be ignored. Try to store the value in an avp when processing the BYE, after loose_route(), and store that avp in acc. Daniel On 10/15/12 1:13 PM, Nord7 wrote: Hello, no I'm not

Re: [SR-Users] Kamailio 3.3.0 CDR logging call "duration"

2012-10-15 Thread Daniel-Constantin Mierla
Hello, do you get any error message or what is the problem you encounter? Cheers, Daniel On 10/15/12 10:14 AM, Nord7 wrote: Hello Kamailio 3.3.0 All default "extra fields" created in database. I create in Database new field "duration" and trying write in this field variable $DLG_lifetime (f

[SR-Users] Kamailio 3.3.0 CDR logging call "duration"

2012-10-15 Thread Nord7
Hello Kamailio 3.3.0 All default "extra fields" created in database. I create in Database new field "duration" and trying write in this field variable $DLG_lifetime (from dialog module) , but can't do this. What i'm doing wrong? installed modules: ACC, DIALOG # - acc params - /* what spec