Hello, i have a question.

  How can I set CDR data in dialplan? Set(CDR(src)=${EXTEN})

exten => s,1,Set(CDR(ACCOUNTCODE)=${EXTEN}) ; works fine!
exten => s,n,Set(CDR(src)=${EXTEN}) ; gives me the following error:
 
 
*ERROR[10269]: cdr.c:289 ast_cdr_setvar: Attempt to set a read-only
variable!.


*
Thanks!

-- 
Ing Francisco Roqué
3Tech SRL
Plaza Paso Nº92, EP B
Buenos Aires, Argentina.
www.3tech.com.ar 


_______________________________________________
-- 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

Reply via email to