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?
Gustavo Garcia Bernardo
2004-Mar-22 05:08 UTC
[Asterisk-Users] Asterisk SIP B2BUA without RTP proxy
Hi,
I would like to use Asterisk as a SIP B2BUA, for CDR generation. I prefer to
avoid doing RTP proxy in Asterisk for SIP UAs for increasing performance.
Could i configure sip channel for that? Some kind of dont_touch_sdp=1?
Thank you very much.
G.
-----Mensaje original-----
De: asterisk-users-admin@lists.digium.com
[mailto:asterisk-users-admin@lists.digium.com]En nombre de Matteo
Rancilio
Enviado el: lunes, 22 de marzo de 2004 12:58
Para: asterisk-users@lists.digium.com
Asunto: [Asterisk-Users] setvar CALLERIDNUM
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?
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@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
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@SERVERIP>;" what the hell???
Try
exten => s,1,Answer
exten => s,2,SetCallerID(0${CALLERIDNUM})
-Alfred
-----Original Message-----
From: asterisk-users-admin@lists.digium.com
[mailto:asterisk-users-admin@lists.digium.com]On Behalf Of Matteo
Rancilio
Sent: Monday, March 22, 2004 4:12 AM
To: asterisk-users@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@SERVERIP>;"
what the hell???
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@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