[asterisk-dev] callerid on redirected calls

Matthew Fredrickson creslin at digium.com
Tue Dec 19 15:49:09 MST 2006


On Dec 8, 2006, at 6:28 AM, 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})
>
> This looks all fine to me, pri trace looks right according to Q.931 
> and all, but switch monkey says it's wrong, that I have to do it his 
> way, which is to use a PRI OPVAL type callRerou.
>
> Is it possible to have asterisk do this?
>
> Attached are pri traces done on the switch by the telco. asterisk.txt 
> is the one from asterisk, and opval is the one from the telco.
>
> thanks

Probably not.  If it is passed over a facility IE back to the telco, it 
is not supported in the current version of trunk.  I don't think 
anybody has implemented that service.

Matthew Fredrickson



More information about the asterisk-dev mailing list