[asterisk-users] Asterisk 1.8 Transfer CallerID
Jonathan Rose
jrose at digium.com
Tue May 8 08:50:31 CDT 2012
----- Original Message -----
> From: "Jonas Kellens" <jonas.kellens at telenet.be>
> To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users at lists.digium.com>
> Sent: Tuesday, May 8, 2012 7:13:30 AM
> Subject: [asterisk-users] Asterisk 1.8 Transfer CallerID
>
>
> Hello,
>
> when a call comes in and is answered by colleague A, this colleague A
> sees the CallerID of the external calling number.
>
> When colleague A transfers the call to colleague B, attended or
> unattended, then colleague B sees the number of colleague A on his
> screen while talking to the external calling number.
>
That would be because this is the expected behavior. The call isn't
coming from the outside caller, it's coming from the person who
transferred it.
> I expect here that colleague B would see the external calling number
> on the screen of his IP-phone.
>
> How can I get this behaviour ?
>
>
> Thanks.
> Jonas.
Getting this behavior shouldn't be too hard I wouldn't think. First,
be aware that the Dial command has an option s(x) which is described:
s(x): Force the outgoing callerid tag parameter to be set to the
string <x>.
Works with the f option.
So if you simply transfer to a dial application with that option,
you can force the callerid to be whatever you want it to be. You can
also retrieve the callerid of the original caller and put it on your
transferring peer in a variable when starting the call. I'm not
exactly sure on the specifics of that right now, but I'm pretty sure
it should be possible. So then when you are making the transfer to
dial, you just use that variable as your argument to the s option.
--
Jonathan R. Rose
Digium, Inc. | Software Engineer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
direct +1 256 428 6139
Check us out at: http://digium.com & http://asterisk.org
More information about the asterisk-users
mailing list