[Asterisk-Users] Changing caller id on transfer
Cosmin Prund
cosmin at adicomsoft.ro
Thu Mar 2 14:12:55 MST 2006
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-
> bounces at lists.digium.com] On Behalf Of Matt Riddell [NZ]
> Sent: Thursday, March 02, 2006 10:55 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [Asterisk-Users] Changing caller id on transfer
>
> You could do transfers for a number starting with 8 or whatever
>
> So instead of transferring to 101 (the user's extension), you could
> transfer to 8101. Then:
>
> exten => _8XXX,1,SetCallerId(1*${CALLERIDNUM})
> exten => _8XXX,2,Goto(extensions,${EXTEN:1},1)
Neh... too much trouble. I'd rather prefix all calls with the "internal"
flag. Most people would not remamber the extra codes any way.
> Please not that the SetCallerID has been deprecated and should be
> replaced in versions >1.2 with:
>
> Set(CALLERID(number)=1*${CALLERIDNUM})
>
> --
> Cheers,
>
> Matt Riddell
Thanks for the tip!
More information about the asterisk-users
mailing list