Retreive original receiver number after forwarding

Hello guys,
I have DID incoming number, bought from an online service.

In call scenario like this:

CALLER -> SOME_CELL_NUMBER -> FORWARDING -> OUR_DID

We want to get both CALLER and SOME_CELL_NUMBER numbers.

Is this possible?
At the moment I can get only CALLER and OUR_DID number with my asterisk.

Let we know.
Thanks in advance.
Best Regards.

It is possible, if everyone cooperates. Look at ${CALLERID(rdnis)}. If the value is not there, you will need to provide detailed protocol traces, to see if the information is present, at all.

It would also help to no which channel technology you are using.

Hi All,

I am facing issues with getting rdnis, call forwarding number in asterisk.i am getting null value with ${CALLERID(rdnis)} or ${CALLERID(dnis)} or ${RDNIS}.

Please suggest.

[quote=“david55”]If the value is not there, you will need to provide detailed protocol traces, to see if the information is present, at all.

It would also help to no which channel technology you are using.[/quote]