Change the caller’s phone number

Home » Asterisk Users » Change the caller’s phone number
Asterisk Users 4 Comments

Hi,
I have a system that receives calls from clients and directs them to an
external phone,
before I pass on the client I change the client’s phone number to a
number that I choose, so that The call recipient knew the call came from
our system.
But I have a problem with that, not all phone number change some of the
anonymous calls stay anonymous and the recipient See in the caller ID
display unlisted number.
I use this commend:
Set(CALLERID(all)=”722979797″ <722979797>)

Is anyone having a similar problem or know what the problem?

Thanks.

4 thoughts on - Change the caller’s phone number

  • try the following ….
    Set(${CALLERID}=”722979797″ <722979797>)
    ________________________________________
    Sent: Thursday, January 19, 2012 8:03 AM

    Hi,
    I have a system that receives calls from clients and directs them to an
    external phone,
    before I pass on the client I change the client’s phone number to a
    number that I choose, so that The call recipient knew the call came from
    our system.
    But I have a problem with that, not all phone number change some of the
    anonymous calls stay anonymous and the recipient See in the caller ID
    display unlisted number.
    I use this commend:
    Set(CALLERID(all)=”722979797″ <722979797>)

    Is anyone having a similar problem or know what the problem?

    Thanks.

  • or this

    Set(${CALLERID(all)}=”722979797″ <722979797>)
    ________________________________________
    Sent: Thursday, January 19, 2012 8:47 AM

    try the following ….
    Set(${CALLERID}=”722979797″ <722979797>)
    ________________________________________
    Sent: Thursday, January 19, 2012 8:03 AM

    Hi,
    I have a system that receives calls from clients and directs them to an
    external phone,
    before I pass on the client I change the client’s phone number to a
    number that I choose, so that The call recipient knew the call came from
    our system.
    But I have a problem with that, not all phone number change some of the
    anonymous calls stay anonymous and the recipient See in the caller ID
    display unlisted number.
    I use this commend:
    Set(CALLERID(all)=”722979797″ <722979797>)

    Is anyone having a similar problem or know what the problem?

    Thanks.

  • Changing the caller ID like that does not affect the presentation flag.

    To change that, do this:

    Set(CALLERID(pres)=allowed)