<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-2">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>hi,
<br>
<br>
i'm using hangup handlers on Asterisk13
<br>
<br>
with standard answered calls i have 1 CDR per call
<br>
<br>
with scenario call from voip->mobile, call rejected on mobile i
have 2 CDRs <br>
</p>
<p><br>
i dont want the second CDR
<br>
<br>
without hangup handlers i have 1 CDR
<br>
<br>
<br>
do you think its bug or its feature of hangup handlers?
<br>
<br>
<br>
*************************** 1. row ***************************
<br>
calldate: 2017-05-31 15:50:28
<br>
clid: "voip_number" <voip_number>
<br>
src: voip_number
<br>
dst: mobile_number
<br>
dcontext: route_phones_1
<br>
channel: SIP/vr1a915-0000001e
<br>
dstchannel: SIP/siptrunk-0000001f
<br>
channtype:
<br>
lastapp: Dial
<br>
lastdata:
SIP/siptrunk/mobile_number,120,tTb(pre_dial_handler^callee<sup
class="moz-txt-sup"><span
style="display:inline-block;width:0;height:0;overflow:hidden">^</span>1</sup>)B(pre_dial_handler^cal
<br>
duration: 10
<br>
billsec: 0
<br>
disposition: NO ANSWER
<br>
amaflags: 3
<br>
accountcode:
<br>
uniqueid: 1496238628.30
<br>
hangupcause:
<br>
stamp: 2017-05-31 15:50:38
<br>
linkedid: 1496238628.30
<br>
sequence: 30
<br>
<br>
*************************** 2. row ***************************
<br>
calldate: 2017-05-31 15:50:28
<br>
clid: "mobile_number" <mobile_number>
<br>
src: mobile_number
<br>
dst: mobile_number
<br>
dcontext: trunk_context_1
<br>
channel: SIP/siptrunk-0000001f
<br>
dstchannel:
<br>
channtype:
<br>
lastapp: Return
<br>
lastdata:
<br>
duration: 9
<br>
billsec: 0
<br>
disposition: FAILED
<br>
amaflags: 3
<br>
accountcode:
<br>
uniqueid: 1496238628.31
<br>
hangupcause:
<br>
stamp: 2017-05-31 15:50:38
<br>
linkedid: 1496238628.30
<br>
sequence: 31
<br>
<br>
</p>
</body>
</html>