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
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users