On Fri, Mar 30, 2012 at 4:51 PM, Daniel Knoll <[email protected]> wrote:
> Looks nice, was also my first idea, but field dst is read only. I can't
> overwrite this and get an error like this
>
> ERROR[2474]: cdr.c:345 ast_cdr_setvar: Attempt to set the 'dst' read-only
> variable!.
>
>
>
I was afraid of that. Does it absolutely have to be dst that you store
this information in? You can create custom cdr fields that are both
readable and writeable. Something like:
[incoming]
exten => _X.,1,Verbose(New call coming in)
exten => _X.,n,Set(CDR(original_dst)=${EXTEN})
exten => _X.,n,Goto(mainmenu,s,1)
--
Thanks,
--Warren Selby, dCAP
http://www.SelbyTech.com <http://www.selbytech.com>
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users