[asterisk-users] DID and how the caller id will appear

Eric Wieling EWieling at nyigc.com
Wed Oct 19 08:34:40 CDT 2011


The callerid= option in chan_dahdi.conf is normally used on FXO or FXS ports, not for PRI. 

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of mahesh katta
Sent: Wednesday, October 19, 2011 9:21 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] DID and how the caller id will appear

Dear,

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

Best Regards, 
Mahesh



On Wed, Oct 19, 2011 at 6:46 PM, Eric Wieling <EWieling at nyigc.com> wrote:


	CallerID is your country code + city/area code + telephone number.  Do not set the leading 0, that is not part of the Caller*ID.
	
	Example London UK number, country code 44, area code 20, number 1234-5678:  Set(CALLERID(num)=442012345678
	

	-----Original Message-----
	From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of bilal ghayyad
	Sent: Tuesday, October 18, 2011 8:47 PM
	To: asterisk-users at lists.digium.com
	Subject: Re: [asterisk-users] DID and how the caller id will appear
	
	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
	
	--
	_____________________________________________________________________
	-- 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
	





More information about the asterisk-users mailing list