DID to display the calling number

Home » Asterisk Users » DID to display the calling number
Asterisk Users 3 Comments

Hi All;

The main number is 56725000 and we have DIDs from 5000 to 5999. Now, I need that if five IP Phones make outside calls, then destination should see only 56725111 so I beleive it is related to the DID 5111 but I do not know what I have to do a settings for this DID and where, so I can acheive this.

Any advise?

Regards
Bilal

3 thoughts on - DID to display the calling number

  • You can set the caller ID before you dial.

    Whether it ‘works’ depends on your provider.

    Some providers will let you set the caller ID to anything, some will only
    allow you to set it to a number allocated to you, some will not let you
    set it at all.

  • You need to use Set(CALLERPRES()=allowed) and Set(CALLERID(num)=…..) before
    the Dial() statement in your extensions.conf. Note, though, that your telco
    will only allow you to use presentation numbers allocated to you — if you
    try to set a number that is not yours to use, they will silently change it
    either to “anonymous” or to your “main” number.

    If Set(CALLERID(num)=…..) is not behaving the way you think it should, then
    you need to contact your telco and make sure that the presentation number
    really is allocated to you.