[Asterisk-Users] setvar CALLERIDNUM

Alfred R. Nurnberger alfred at flosys.com
Mon Mar 22 08:49:04 MST 2004


Try

exten => s,1,Answer
exten => s,2,SetCallerID(0${CALLERIDNUM})

-Alfred

-----Original Message-----
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com]On Behalf Of Matteo
Rancilio
Sent: Monday, March 22, 2004 4:12 AM
To: asterisk-users at lists.digium.com
Subject: Re: [Asterisk-Users] setvar CALLERIDNUM


Matteo Rancilio ha scritto:

> Is it possible to change the var CALLERIDNUM?
> I need to put the 0 in front of the incoming number to be able to make 
> a redial on a missing call.
> We need the 0 to rich the external line
>
> I tried with
> exten => s,1,Answer
> exten => s,2,Setvar(CALLERIDNUM=0${CALLERIDNUM})
>
> On console I see the new variable but in reality it does not change 
> the callerid number on the phone display.
>
> Any suggestions?
>
>

well, I found it.. it was SetCIDName but now the strange thing is I get 
a "chan_sip.c:5282 handle_request: Failed to authenticate user USERNAME 
<sip:user at SERVERIP>;"

what the hell???


_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list