What you need to do is set a channel variable with callerid(num) from the
external number, then reset callerid(num) whenever you do an internal dial
to transfer - something like this
[from-pstn]
Exten => s,1,answer
Exten => s,n,Set(passcallID=callerid(num))
[transfer]
Exten => s,1,set(callerid(num)=${passcallID})
Exten => s,n,dial(SIP/123)
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Will Payne
Sent: Monday, February 22, 2010 9:31 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] Caller ID question
Hiya - quick question..
When an external call is answered by an extension and the person answering
the call wants to forward it to a different extension, is there any way to
change the caller ID when the call is transferred?
If someone is transferring a call to me, I see the caller ID of the other
person in the office. When the call is transferred, could the caller ID be
set back to the caller ID of the original incoming call? Staff members here
often want to see the number of the last person they spoke to but when they
check the call history on the (snom) phone, all they can see is the
extension of the person that forwarded the call to them..
I doubt it's possible but thought I'd check
Thanks,
Will
--
_____________________________________________________________________
-- 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