On 01/18/2011 04:41 AM, ishagh ouldbah wrote:
Good morning
My situation is as folowing
I have a numer that connect to my asterisk
I configured another phone to transfer to this number
So when somebody call me he will be transffered to the number which
asterisk connect to
i.e my asterisk connected phone is not the originated number
My question is: How can I know if the call has been transfered to me and
what was the number originated by the caller.

If you are receiving the call over an ISDN PRI, and the PRI provider includes RDNIS information, you can inspect that from the dialplan to get the 'redirecting number' (the number that redirected the call to you). Note that this is *not* a transfer (which is a manually initiated operation), but a call forward/redirection.

--
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
skype: kpfleming | jabber: kflem...@digium.com
Check us out at www.digium.com & www.asterisk.org

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to