[asterisk-users] Caller ID question

Danny Nicholas danny at debsinc.com
Mon Feb 22 10:11:08 CST 2010


The ID at dial/transfer time is what you are stuck with.

-----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 10:00 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Caller ID question


On 22 Feb 2010, at 15:38, Danny Nicholas wrote:

> 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)


I thought about doing something like that but it would confuse the poor
staff :)

They'd have a call from what appeared to be an external number but it would
turn out to be an internal extension that was calling them (we generally
don't blind transfer).

I need to change the CID on an already-established SIP channel and have no
idea if it's doable..

W
-- 
_____________________________________________________________________
-- 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




More information about the asterisk-users mailing list