DID to display the calling number

Home » Asterisk Users » DID to display the calling number
Asterisk Users 1 Comment

Configure un numero GSM qui est operationel dans ton gateway, les addresse ip
dans chaque tel et numero sip.
Ton gateway au niveau des tel ce l’ adresse ip de ton ASTERISK.

Neto Dalima Arcene
00243 816857439

De : A J Stiles
À : Asterisk Users Mailing List – Non-Commercial Discussion

Envoyé le : Lun 15 août 2011, 10h 09min 29s
Objet : Re: [asterisk-users] DID to display the calling number

On Sunday 14 Aug 2011, bilal ghayyad wrote:
> 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?

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.

One thought on - DID to display the calling number

  • Hi,

    If you use freepbx, it can easily be set in the configuration of the
    extension using “Outbound CID”

    That way you can define outbound CallerIDs for any given extension, be
    sure to put it in brackets like this


    Where 10 is the area code, but that can be different depending on your