[asterisk-users] Diverted Call Information on PRI

Trevor Peirce tpeirce at digitalcon.ca
Sun Jun 8 16:23:57 CDT 2008


Mike Hardman wrote:
> Is there any way
> I can tell if a call is a diversion from an external phone if it comes 
> in on our PRI? If so, is there also any way I can find out what number 
> the call was diverted from? I've done some logging with PRI intense 
> debug; and I cant seem to see anything about it being a divert; but I 
> could be missing something.

I seem to remember ${RDNIS} back in the 1.2 days had this information. 
I think it's called something like ${CALLERID(RDNIS)} now, although 
you'll want to check to be sure.

It'll give you the number the caller actually dialed before the 
diversion redirected them to your PRI.

Trevor



More information about the asterisk-users mailing list