[asterisk-users] Caller ID question

Will Payne will at teambadger.co.uk
Mon Feb 22 09:59:40 CST 2010


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


More information about the asterisk-users mailing list