[asterisk-users] Caller ID question

Steve Davies davies147 at gmail.com
Mon Feb 22 10:19:36 CST 2010


On 22 February 2010 15:59, Will Payne <will at teambadger.co.uk> wrote:
>
> 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
> --

I believe what you want is called "COLP" Connected Line Presentation.
I was also if the opinion that it had been merged into all of the
newer versions of the Asterisk code.

If you are using Asterisk 1.4, you may find a usable patch here:
https://issues.asterisk.org/view.php?id=8824

Regards,
Steve



More information about the asterisk-users mailing list