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 --------------- > On Tuesday 18 October 2011, bilal ghayyad wrote: > > 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? > > What format do your incoming caller IDs come > in? (use a NoOp() or Verbose() > statement to write to the log.) One would expect > outgoing caller IDs to be > set in the same format (but speak to someone at the > telco for confirmation of > this). Our provider (in the UK) expects > our outgoing caller IDs to include > the STD code, but without the initial 0. So 065631040 > would be sent as > 65631040 . > > > Are you definitely allowed to set your own caller ID? > It may well be > restricted to one of a range of "presentation numbers" > assigned to you. > > > One other thing: CALLERPRES() has been deprecated for > awhile now, so in newer > Asterisk versions you may need to write > Set(CALLERID(pres)=allowed) instead of > Set(CALLERPRES()=allowed . > > -- > AJS > > Answers come *after* questions. > > -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users