[asterisk-users] read write or only read fields in cdr?

Mike Lynchfield theclubvoip at gmail.com
Wed Feb 28 16:05:49 MST 2007


try not using dst.. maybe its a regex on te fieldname that matches for
reserved keywords..

try pre_dest instead

On 2/28/07, Bayrouni <bayrouni at brutele.be> wrote:
>
> Hello,
>
>
> I created a new field named pre_dst of type varchar(80) exactly like dst
> field in cdr table.
>
> In the dialplan I put:
> exten => _7.,1,Set(CDR(pre_dst)=${EXTEN:1})
>
> and when I call, all goes fine except that pre_dst has always NULL value
> in cdr.
>
> Do you know why?
> Is something wrong I did?
>
>
> I know that original fields in cdr are only readable, but in this cas
> pre_dst is one I created myself !!!
>
> Thank you.
>
>
>
> _______________________________________________
> --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
>



-- 
Mike
Sales Manager
http://www.voicemeup.com
Making it happen
1.877.807.VOIP (8647)
1.514.312.7030
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070228/34e666a4/attachment.htm


More information about the asterisk-users mailing list