[asterisk-users] asterisk CDR and mysql

Bayrouni bayrouni at brutele.be
Tue Feb 27 13:24:00 MST 2007


Hello all,
I added a record named pre_dst in the cdr table.

It has the same type as dst field.

And I used this line in the dialplan:
exten => _7.,1,Set(CDR(pre_dst)=${EXTEN:1})

When I call, 70123456, (7 is only to use the provider trunk),
I have this in the CLI:
Executing Set("SIP/foo-0816a490", "CDR(predst)=0123456") in new stack
-- Executing NoOp("SIP/foo-0816a490", "0123456") in new stack
-- Executing Dial("SIP/moi-0816a490", "SIP/0123456 at provider") in new stack

But  nothing in the pre_dst field in cdr table.

Is there something wrong I did?

Thanks in advance.


More information about the asterisk-users mailing list