[asterisk-users] s, CDR and NoCDR in v1.4.10.1

Atis Lezdins atis at iq-labs.net
Thu Dec 6 05:43:04 CST 2007


On 12/6/07, Peder @ NetworkOblivion <peder at networkoblivion.com> wrote:
> 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?

It has been fixed in http://bugs.digium.com/view.php?id=10659 but
introduced lot of problems with other unanswered channels, so that fix
has been removed.

Here's another attempt to fix that in
http://bugs.digium.com/view.php?id=11379 but personally i haven't
tested that, and don't know what problems that could possibly cause.
I'm also living on 1.4.10, but filtering out those 's' in
post-processing of CDR.

Regards,
Atis

>
> 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
>
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>


-- 
Atis Lezdins
VoIP Developer,
IQ Labs Inc.
atis at iq-labs.net
Skype: atis.lezdins
Cell Phone: +371 28806004
Work phone: +1 800 7502835



More information about the asterisk-users mailing list