[asterisk-dev] callerid on redirected calls

Eric "ManxPower" Wieling eric at fnords.org
Fri Dec 8 07:22:28 MST 2006


Roy Sigurd Karlsbakk wrote:
> hi all
> 
> I've been fighting this for a while, and telco tells me i'm doing it 
> wrong and all, although I'm doing it after the book (or so I beleive). 
> To divert a call, I do as follows
> 
> exten => s,n,Set(CALLERID(rdnis)=${CALLERID(number)})
> exten => s,n,Set(CALLERID(number)=${EXTEN})
> exten => s,n,Set(CALLERID(ani)=${EXTEN})
> exten => s,n,Dial(${DIVERT_TO_NUMEBER})

You are setting the Caller*ID Number to "s".  I doubt your telco would 
like that.


More information about the asterisk-dev mailing list