[Home]

Summary:ASTERISK-00784: cdr-logging reports disposition=ANSWERED even if phone is not answered at destination
Reporter:digger_one (digger_one)Labels:
Date Opened:2004-01-11 16:54:27.000-0600Date Closed:2011-06-07 14:10:10
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:setup:
Mandrake 9.2, custom kernel 2.4.21
libpri and zaptel cvs from 2004-01-11, using ztdummy+usb-uhci
Asterisk CVS-01/11/04-18:37:51
openh323_1.12.2
pwlib_1.5.2
ixj-3.1.0-src.tar.gz
asterisk-oh323-0.5.7.tar.gz
Internet PhoneJack PCI, driver v3.1.0
Cisco AS5300, IOS 12.2(2)XB5
X-Lite Softphone 2.0 build 1101


Problem: cdr-logging reports disposition=ANSWERED even if phone is not answered at destination.

test: x-lite/sip -> asterisk -> as5300/oh323

cdr1 - phone not picked up at destination:
"","ttll","088888888","default","""ttll"" <ttll>","SIP/ttll-1e17","H323:2391","Dial","OH323/004788888888@10.10.10.1","2004-01-11 23:16:53","2004-01-11 23:16:54","2004-01-11 23:17:09",16,15,"ANSWERED","DOCUMENTATION"
cdr2 - phone picked up at destination:
"","ttll","088888888","default","""ttll"" <ttll>","SIP/ttll-a062","H323:2392","Dial","OH323/004788888888@10.10.10.1","2004-01-11 23:18:55","2004-01-11 23:18:55","2004-01-11 23:19:13",18,18,"ANSWERED","DOCUMENTATION"

This means that I can not see if a call was terminated successfully through to the PSTN or not. Makes it
impossible to make proper bills.
Comments:By: jerjer (jerjer) 2004-01-11 17:09:30.000-0600

are you Answering the line before dialing?

By: Brian West (bkw918) 2004-01-11 17:10:07.000-0600

can you paste some of your configs?

By: digger_one (digger_one) 2004-01-11 17:27:11.000-0600

extensions.conf:
exten => s,1,Wait,1                     ; Wait a second, just for fun
exten => s,2,Answer                     ; Answer the line
exten => s,3,Wait,1                     ; Wait a second, just for fun
exten => s,4,DigitTimeout,5             ; Set Digit Timeout to 5 seconds
exten => s,5,ResponseTimeout,10         ; Set Response Timeout to 10 seconds
exten => s,6,Dial(SIP/tommy,10,t);

exten => _0XXXXXXXX,1,Dial,OH323/0047${EXTEN:1}@10.10.10.1
sip.conf:
[tommy]
type=friend
username=tommy
secret=secret
host=dynamic


I believe I don't answer, but assume I go directly to the oh323 dial,
as shown above.

By: Brian West (bkw918) 2004-01-11 17:43:12.000-0600

NO you are answering. That s,2,Answer but you can call resetcdr() without any flags before you do the dial example:

exten => _0XXXXXXXX,1,ResetCDR
exten => _0XXXXXXXX,2,Dial,OH323/0047${EXTEN:1}@10.10.10.1

That should fix that.

By: Brian West (bkw918) 2004-01-11 17:58:51.000-0600

Local config issue.  Call ResetCDR before dial to reset the CDR for the current call.

By: digger_one (digger_one) 2004-01-11 18:03:14.000-0600

Unfortunately, no. Added ResetCDR, but still same result (ANSWERED).

By: digger_one (digger_one) 2004-01-12 02:39:39.000-0600

ResetCDR does not change anything.

By: Mark Spencer (markster) 2004-01-15 14:42:53.000-0600

Is there a reason you are answering the line first?

By: Brian West (bkw918) 2004-01-15 16:24:53.000-0600

Local config issue.