Does doing it this way give you the correct DST? [macro-dialout]
exten = s,1,Goto(${MACRO_EXTEN},1) exten = _X.,1,Set(TOUCH_MONITOR=${TIMESTAMP}_${CALLERID(num)}-${ARG1}) exten = _X.,n,NoOp(CID_NAME : ${CID_NAME}) exten = _X.,n,NoOp(CID_NUMBER: ${CID_NUMBER}) exten = _X.,n,NoOp(CID_CLIR : ${CID_CLIR}) exten = _X.,n,NoOp(TRUNK : ${TRUNK}) [rest of your macro] Jaswinder Singh wrote: > This is due to changes in cdr in asterisk 1.4.5 so in all outgoing > dial from macro it shows 's' in cdr . Could this be a bug ? I doubt if > it was intended to be that way . > > On 25/06/07, Troy - Purple Oranges <[EMAIL PROTECTED]> wrote: >> I am using VoiceOne http://voiceone.it/ as my management interface. >> >> I am not 100% sure when it started, but my CDR is now full of "s" as >> the DST instead of the actual dialed number. >> >> As I understand it - it is because it is being recorded in the CDR >> while in a macro (as below). >> >> Is there any work around so that I can record the actual dialed number? >> >> [macro-dialout] >> exten = s,1,Set(TOUCH_MONITOR=${TIMESTAMP}_${CALLERID(num)}-${ARG1}) >> exten = s,n,NoOp(CID_NAME : ${CID_NAME}) >> exten = s,n,NoOp(CID_NUMBER: ${CID_NUMBER}) >> exten = s,n,NoOp(CID_CLIR : ${CID_CLIR}) >> exten = s,n,NoOp(TRUNK : ${TRUNK}) >> exten = s,n,Set(CALLERID(name)=${CID_NAME}) >> exten = s,n,Set(CALLERID(num)=${CID_NUMBER}) >> exten = >> s,n,Set(PRESENTATION=${IF($["${CID_CLIR}"="1"]?prohib_not_screened:allowed_not_screened)}) >> exten = s,n,SetCallerPres(${PRESENTATION}) >> exten = s,n,GotoIf(${ISNULL(${TRUNK})}?s-CONGESTION,1) >> exten = s,n,Dial(${TRUNK}/${ARG1}${TRUNKOPTIONS}||gTW) ;Ring the interface >> exten = s,n,NoOp(DIALSTATUS = ${DIALSTATUS}) >> exten = s,n,Goto(s-${DIALSTATUS},1) ;Jump based on status >> (NOANSWER,BUSY,CHANUNAVAIL,CONGESTION,ANSWER) >> exten = s-BUSY,1,Playtones(busy) >> exten = s-CONGESTION,1,Playtones(congestion) >> exten = _s-.,1,Goto(s-CONGESTION,1) ;Treat anything else as no answer >> >> -- >> Regards, >> Troy Kelly >> Director >> Purple Oranges Pty Ltd >> http://purpleoranges.com/ >> -- >> Brisbane (07) 3018 2840 >> Fax (07) 3105 5987 >> ---------------------------------------- >> Disclaimer - This email and any files transmitted with it are >> confidential and contain privileged or copyright information. You must >> not present this message to another party without gaining permission >> from the sender. If you are not the intended recipient you must not >> copy, distribute or use this email or the information contained in it >> for any purpose other than to notify us. >> >> Any views expressed in this message are those of the individual >> sender, except where the sender specifically states them to be the >> views of Purple Oranges Pty Ltd. >> >> _______________________________________________ >> --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 >> > > _______________________________________________ > --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 > _______________________________________________ --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