[asterisk-users] In CDR record not what I want

Rushowr rushowr at phreaker.net
Fri Aug 11 03:10:50 MST 2006


It's because the standard CDR engine uses the last ${EXTEN} value as the
destination number.... 

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Matthias
Fechner
Sent: Friday, August 11, 2006 6:08 AM
To: asterisk-users at lists.digium.com
Subject: [asterisk-users] In CDR record not what I want

Hi,

I have the following rules:
exten => 4441,1,NoOp(--- ${CALLERID} calling on capi-extern (${EXTEN}) ---)
exten => 4441,2,Goto(dialin-privat,s,1) exten => 4441,3,Hangup

[dialin-privat]
; Log incoming calls
exten => s,1,LDAPget(CALLERIDNAME=daheim) exten =>
s,2,NoOP(--CALLERID=-${CALLERID}-, CALLERIDNUM=-${CALLERIDNUM}-,
EXTEN=-${EXTEN}--) ...

my CDR records says now that a call from unkown to s happened.
Is it possible that in the CDR record the number which has been called is
saved and not s?
e.g.
number unkown called 4441


Best regards,
Matthias

-- 

"Programming today is a race between software engineers striving to build
bigger and better idiot-proof programs, and the universe trying to produce
bigger and better idiots. So far, the universe is winning." -- Rich Cook
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users





More information about the asterisk-users mailing list