I am using:
asterisk 1.4.4
zaptel 1.4.2.1
Centos 4.4 (rhel 4)
I also see multiple CDRs (two CDRs). The first one is
logger.c: -- Nobody picked up in 10000 ms
chan_zap.c: Requested indication -1 on channel Zap/4-1
rtp.c: Channel 'Zap/4-1' has no RTP, not doing anything
cdr_pgsql.c: cdr_pgsql: SQL command executed: INSERT INTO cdr (calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode,uniqueid,userfield) VALUES ('2007-05-15 22:49:16','','','s','default', 'Zap/2-1','','','',12,0,'NO ANSWER',3,'','117928','')
channel.c: Hanging up channel 'Zap/2-1'
chan_zap.c: zt_hangup(Zap/2-1)
Hangup: channel: 2 index = 0, normal= 12, callwait = -1, thirdcall = -1
and then further down the message.log
logger.c: -- Hungup 'Zap/2-1'
app_dial.c: Exiting with DIALSTATUS=NOANSWER
pbx.c: Launching 'VoiceMail'
<snip>
cdr_pgsql.c: cdr_pgsql: inserting a CDR record.
cdr_pgsql.c: cdr_pgsql: SQL command executed: INSERT INTO cdr calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode,uniqueid,userfield) VALUES ('2007-05-15 22:49:15','"LAST, NAME " <1234567890>','1234567890','s','incoming','Zap/4-1','Zap/2-1','Hangup','',40,39,'ANSWERED',3,'','117928','')
It looks like it logs a separate entry for Channel 2??!? I don’t know why?
in my dialplan (extension.conf)
exten => s,5,Dial(Zap/2|10|t)
exten => s,6,Voicemail(su1000)
I can’t figure out why?
It didn’t do it in 1.4.2.