[asterisk-users] s, CDR and NoCDR in v1.4.10.1
Peder @ NetworkOblivion
peder at networkoblivion.com
Wed Dec 5 20:33:32 CST 2007
I am running 1.4.10.1. I have a macro that is called from default for a
certain extension (both below). I added NoCDR to s to try and stop
extra CDR records, but I am still getting them. Any idea how to stop them?
extensions.conf:
[macro-STDEXT]
exten =s,1,NoCDR()
exten =s,2,Dial(${ARG1},30,Tt)
exten =s,3,Goto(s-${DIALSTATUS},1)
exten =s-NOANSWER,1,Voicemail(${ARG2}|u)
exten =s-NOANSWER,n,Hangup
exten =s-BUSY,1,Voicemail(${ARG2}|u)
exten =s-BUSY,n,Hangup
exten =s-CONGESTION,1,Voicemail(${ARG2}|u)
exten =s-CONGESTION,n,Hangup
exten =s-CHANUNAVAIL,1,Voicemail(${ARG2}|u)
exten =s-CHANUNAVAIL,n,Hangup
[default]
exten =6080,1,Macro(STDEXT,SIP/6080,6080)
Here is an example. I am getting an 's' CDR with No Answer and then an
Answered CDR in default context:
"6463","6463","s","default","SIP/6080-0861a510","","","","2007-12-04
11:49:30","","2007-12-04 11:49:39","9","0","NO
ANSWER","DOCUMENTATION","","1196790570.4260",""
"6463","6463","6080","default","SIP/206.190.240.9-082edc08","SIP/6080-086234e0","Dial","SIP/6080|30|Tt",
"2007-12-04 11:49:30","2007-12-04 11:49:39","2007-12-04
11:49:44","14","5","ANSWERED","DOCUMENTATION","","1196790570.4259",""
If I don't answer, I still get an 's' CDR with No Answer. Any ideas how
to stop that? Thanks.
Peder
More information about the asterisk-users
mailing list