[asterisk-users] ast_cdr_setvar: Attempt to set the 'src' read-only variable!

2010-02-03 Thread jonas kellens
Hello list.

I would like to set the CDR(src)-variable to the SIPphone that is
initiating the call.

When calling out, the src-variable is always the public telephone
number.

I get the ERROR : ast_cdr_setvar: Attempt to set the 'src' read-only
variable!

Is there some way to implement this ??

Kind regards,

Jonas.
-- 
_
-- 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

Re: [asterisk-users] ast_cdr_setvar: Attempt to set the 'src' read-only variable!

2010-02-03 Thread Tilghman Lesher
On Wednesday 03 February 2010 09:24:34 jonas kellens wrote:
 I would like to set the CDR(src)-variable to the SIPphone that is
 initiating the call.

 When calling out, the src-variable is always the public telephone
 number.

 I get the ERROR : ast_cdr_setvar: Attempt to set the 'src' read-only
 variable!

 Is there some way to implement this ??

Set(CALLERID(ani)=whatyouwantinsrc)

-- 
Tilghman

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