callerid not forwarded when transferring call from ISDN line to mobile phone via Asterisk

Home » Asterisk Users » callerid not forwarded when transferring call from ISDN line to mobile phone via Asterisk
Asterisk Users 9 Comments

Hi all,

I’ve got 4 actors on my stage:
Alice calling from outside
Bob transferring incoming calls to Charlie
Charlie who has a mobile phone

My PBX which is connected to my ISDN line.

I want Charlie to see Alice’s Callerid after Bob has transferred the
call as if Charlie is receiving the call from Alice, transparently.

Tried to set the callerid but Charlie sees my telco line number, not the
callerid of Alice.

How can I do this?

Thank you.

Giorgio

9 thoughts on - callerid not forwarded when transferring call from ISDN line to mobile phone via Asterisk

  • Please try this in your dialplan Set(CALLERID(name)=${CALLERID(num)})
    Some where I tried and it worked with VoIP account A to B as VoIP trunk and
    B forward the call to C whereas in C A’s number will be displayed.

    If you could paste more details as Danny said that would help the list to
    assist you more.

    href=”mailto:asterisk-users-bounces@lists.digium.com”>asterisk-users-bounces@lists.digium.com
    href=”mailto:asterisk-users@lists.digium.com”>asterisk-users@lists.digium.com

  • I guess it will not work with PSTN lines since the control is transferred to
    the Exchange. I am not too sure, I am just sharing my thoughts….

    On Fri, Nov 19, 2010 at 9:28 PM, Giorgio Incantalupo <

    href=”mailto:gincantalupo@fgasoftware.com”>gincantalupo@fgasoftware.com> wrote:

    href=”mailto:asterisk-users-bounces@lists.digium.com”>asterisk-users-bounces@lists.digium.com
    href=”mailto:asterisk-users@lists.digium.com”>asterisk-users@lists.digium.com

  • Depending on what telco Charlie is connected to would change the CallerId
    presented to Charlie from being Alice’s or Bob’s Cid.

    When a call is forwarded, Charlie’s telco receives different ANI and CID :
    some (seems to) favor ANI and some CID.

    An interesting thing to test is to let Bob issue a simple call to Charlie
    using a fake CID such as 0123456789.
    Will Charlie’s phone display this non-existent number or not ?

  • 2010/11/20 Olivier

    Another trap is recently discovered is :
    sometimes, the call is presented to Charlie with Alice’s name and Bob’s
    number !!

    I met this one when Charlie is subscribed to an analog line with Caller Name
    Service enabled.
    For a reason I don’t know, it seems that the numbers choosen to display the
    name and the number are different (ANI and CID).