DID and how the caller id will appear

Home » Asterisk Users » DID and how the caller id will appear
Asterisk Users 3 Comments

On Sun, Sep 25, 2011 at 10:59:29AM -0700, bilal ghayyad wrote:
> Yes I tried Set(CALLERID(num)=5631040) as shown in the below dialing,
> and no success. Also I tried Set(CALLERID(num)=1040) and I tried
> Set(CALLERID(num)=065631040) as the city code is 06 and when we call
> any mobile, it is appearing 065631040, but all of this did not work.
>
> The E1 is located in Jordan and it is PRI with 30 channels. Is there
> any thing need to be set other than Set(CALLERID(num)? I am afraid
> that I have to set a specific value for SetCallerPress !

I always thought the approriate format to set for callerid on PRIs is
your whole number excluding the national prefix. In your case
Set(CALLERID(num)=65631040)
You might try prefixing national TON and e164 format options:
Set(CALLERID(num)=Ne65631040)

3 thoughts on - DID and how the caller id will appear

  • Dears;

    We contacted the Telecom provider and they confirmed multiple times that the DID service is enabled, but again still the caller id does not appear as we need (it is always appearing as the primary number). I tried to set the CALLERDID(num) to be 40, 1040, 5631040 and 065631040 without any result.

    Where could be the problem?

    Maybe I have to use CALLERID(ANI)? Well, how it should be written exactly?

    What other things I have to do or I can try to resolve the problem?

    Regards
    Bilal

  • Dear;

    By the way, the asterisk version that I have is 1.8.4.2 and DAHDI version is 2.4.1.2

    Here I would like to mention the following:

    1) As per the telecom provider, they said they openned for us all the digits to send (two digits, 4 digits, all the digits …) as they said.

    2) The caller id appear for me at the CLI as: 5631030 (and actually this is the primary key).

    3) I am settings in the systems.conf file the loadzone to be uk us and the defaultzone to be uk, does this effect? Maybe I have to set us.

    4) I am sending the numbers within my range it is from 5631030 to 5631059, and actually I tried to set the caller id to be 40, 1040, 5621040, and 065621040

    5) It is E1 ISDN.

    6) About the:

    Set(CALLERID(pres)=allowed)

    How can I know the updated changes?
    By the way: is it important to be set?

    7) How about the Set(CALLERID(num)=1040), is it in the right syntax or also need to be updated? Also, should I use Set(CALLERID(num)=1040) or Set(CALLERID(num)=<1040>)?

    What other factors I am missing? What I have to check?

    Regards
    Bilal

  • Dear,

    Callerid you need to add parameter in chan_dahdi.conf file. so what is you
    chan_dahdi.conf file ?

    Best Regards,
    Mahesh