[asterisk-bugs] [JIRA] (ASTERISK-27444) CDR Error on ConfChannel

Oguzhan Kayhan (JIRA) noreply at issues.asterisk.org
Fri Nov 24 10:21:07 CST 2017


    [ https://issues.asterisk.org/jira/browse/ASTERISK-27444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=240270#comment-240270 ] 

Oguzhan Kayhan commented on ASTERISK-27444:
-------------------------------------------

THings getting strange..
Trying different scenarios..

I have a device joining to 2 different confchannels at bootup.
with name rxpae3040  and txpae3040.

I booted it.. And shutdown asterisk at 20 seconds.
record was fine with 20 seconds.

Then i rebooted services. 
At 20. second i joined the channel rxpae3040 with another client.  Stayed there for 10 seconds. and hanged up last client logged in.   And after 5 seconds more shutdown asterisk again.

What i observed is.. txpae3040 channel was with correct billable time.35 seconds.
But rxpae3040 channel.. 1st client seem to updated  as logged off when 2nd client logged off too:  30 seconds
second client  start and stop time was stop time actually. thats why total duration was 0 seconds.


Final observation is..
WHen a second client enters the conference  its cdr record starts fine.
Then when it logs off, the end time of 2nd client is written as first clients logoff time.

Second clients endtime never updates.


Test:  
 at 15:51:33  system boots up and first client logs in.(idpae3040)
 at  15:52:01  second user logs in to conference (4503)
 at 15:52:30  second user logs off from conference
at 15:53:00  1st user closes conf channel.
{code}

"","4503","rxpae3040","CommPanelsWithAnalog","""4503"" <4503>","SIP/4503-00000002","","ConfBridge","rxpae3040,bridge_profile,conf_user_profile,menu_profile","2017-11-24 15:52:01","2017-11-24 15:52:01","2017-11-24 15:52:01",0,0,"ANSWERED","DOCUMENTATION","1511538721.6",""
"","idpae3040","rxpae3040","CommPanels",""""" <idpae3040>","SIP/idpae3040-00000000","SIP/4503-00000002","ConfBridge","rxpae3040,bridge_profile,conf_user_profile,menu_profile","2017-11-24 15:51:33","2017-11-24 15:51:33","2017-11-24 15:52:30",57,57,"ANSWERED","DOCUMENTATION","1511538693.0",""
"","idpae3040","txpae3040","CommPanels",""""" <idpae3040>","SIP/idpae3040-00000001","","ConfBridge","txpae3040,bridge_profile,conf_user_profile,menu_profile","2017-11-24 15:51:33","2017-11-24 15:51:33","2017-11-24 15:53:00",87,87,"ANSWERED","DOCUMENTATION","1511538693.1",""

{code}


> CDR Error on ConfChannel
> ------------------------
>
>                 Key: ASTERISK-27444
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27444
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_cdr
>    Affects Versions: 13.18.2
>         Environment: Ubuntu 14.04
>            Reporter: Oguzhan Kayhan
>            Severity: Critical
>         Attachments: cdr.conf, confbridge.conf
>
>
> During ConfCall, CDR answered time written incorrectly.
> First Case:
> Single User on Conference
> {code}
> x2b6774043ba0 -- Strict RTP switching source address to 10.1.200.50:8000
>     -- Executing [Conf4509 at CommPanelsWithAnalog:2] ConfBridge("SIP/4509-000000e0", "Conf4509,bridge_profile,conf_user_profile,menu_profile") in new stack
>     -- Channel CBAnn/Conf4509-0000003c;2 joined 'softmix' base-bridge <92388207-8e8f-4c2d-90fe-96d93472c03d>
>     -- <SIP/4509-000000e0> Playing 'conf-onlyperson.ulaw' (language 'en')
>  Channel SIP/4509-000000e0 joined 'softmix' base-bridge <92388207-8e8f-4c2d-90fe-96d93472c03d>
>     -- <CBAnn/Conf4509-0000003c;1> Playing 'confbridge-join.gsm' (language 'en')
>  Channel SIP/4509-000000e0 left 'softmix' base-bridge <92388207-8e8f-4c2d-90fe-96d93472c03d>
>     -- <CBAnn/Conf4509-0000003c;1> Playing 'confbridge-leave.gsm' (language 'en')
>     -- Channel CBAnn/Conf4509-0000003c;2 left 'softmix' base-bridge <92388207-8e8f-4c2d-90fe-96d93472c03d>
> {code}
> Dİalplan for Confbridge:
> {code}
> exten => Conf4509,1,Answer()
>         same => n,ConfBridge(${EXTEN},bridge_profile,conf_user_profile,menu_profile)
>         same => n,Hangup()
> {code}
> I had a call for 10 seconds and cdr output as follows:
> {code}
> "","4509","Conf4509","CommPanelsWithAnalog",""""" <4509>","SIP/4509-000000e0","","ConfBridge","Conf4509,bridge_profile,conf_user_profile,menu_profile","2017-11-24 14:04:19","2017-11-24 14:04:19","2017-11-24 14:04:22",3,3,"ANSWERED","DOCUMENTATION","1511532259.541",""
> {code}
> It is always 3 seconds not dependent on the time i spent on the conference.
> 2 users on conference:
> 4509 user calls Conf4509  stays there for 10 seconds. Then 4503 user calls in and stays for 10 seconds. after it hang up, 4509 waits for 10 seconds more (total of 30 seconds) and hangs up.
> The CDR for two users :
> {code}
> "","4503","Conf4509","CommPanelsWithAnalog","""4503"" <4503>","SIP/4503-000000e2","","ConfBridge","Conf4509,bridge_profile,conf_user_profile,menu_profile","2017-11-24 14:07:58","2017-11-24 14:07:58","2017-11-24 14:07:58",0,0,"ANSWERED","DOCUMENTATION","1511532478.548",""
> "","4509","Conf4509","CommPanelsWithAnalog",""""" <4509>","SIP/4509-000000e1","SIP/4503-000000e2","ConfBridge","Conf4509,bridge_profile,conf_user_profile,menu_profile","2017-11-24 14:07:48","2017-11-24 14:07:48","2017-11-24 14:08:09",20,20,"ANSWERED","DOCUMENTATION","1511532468.545",""
> {code}
> First user shows 0 seconds.. Second user shows 20 seconds.
> There is inconsistency in CDR logs..Only in confchannels.
> Confchannel configuration shared as attachment also.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list