# ERROR: Function CALLERID not registered ... Why?

**URL:** <https://community.asterisk.org/t/error-function-callerid-not-registered-why/9458>\
**Category:** Asterisk Support\
**Created:** [September 25, 2006, 2:02pm UTC](https://community.asterisk.org/t/error-function-callerid-not-registered-why/9458 "2006-09-25T14:02:20Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![evoldus](https://avatars.discourse-cdn.com/v4/letter/e/a9a28c/32.png) [@evoldus](https://community.asterisk.org/u/evoldus)\
**Post date:** [September 25, 2006, 2:02pm UTC](https://community.asterisk.org/t/error-function-callerid-not-registered-why/9458/1 "2006-09-25T14:02:20Z")

</div>

Hi

I am using Asterisk 1.2.11 and trying to send the CallerID using the below comamnd in “extensions.conf”.

exten =\> \_00.,1,Set(CALLERID(number)=xxxx#)  
exten =\> \_00.,2,Dial(SIP/${EXTEN:}@SS-ONLY,30)

Where callerID is xxxx# that means few digits ends with #.

When I dial a no. that start with 00, I get the below error and I believe callerID is NOT sent properly.

Can you please let me know why I get the below CallerID error?

– Executing Set(“SIP/100-09991ae0”, “CALLERID(number)=xxxx#”) in new stack  
2006-09-25 23:46:31 ERROR[2135]: pbx.c:1418 ast\_func\_write: Function CALLERID no t registered

---

<div class="post-metadata">

**Author:** ![vinod.vijayan](https://avatars.discourse-cdn.com/v4/letter/v/f9ae1b/32.png) [@vinod.vijayan](https://community.asterisk.org/u/vinod.vijayan)\
**Post date:** [September 25, 2006, 2:29pm UTC](https://community.asterisk.org/t/error-function-callerid-not-registered-why/9458/2 "2006-09-25T14:29:18Z")

</div>

according to  
[voip-info.org/wiki/index.php … c+callerid](http://www.voip-info.org/wiki/index.php?page=Asterisk+func+callerid)

The callerid number accepts digits only so you need to remove the # or use callerid name.

---

<div class="post-metadata">

**Author:** ![vinod.vijayan](https://avatars.discourse-cdn.com/v4/letter/v/f9ae1b/32.png) [@vinod.vijayan](https://community.asterisk.org/u/vinod.vijayan)\
**Post date:** [September 25, 2006, 2:44pm UTC](https://community.asterisk.org/t/error-function-callerid-not-registered-why/9458/3 "2006-09-25T14:44:09Z")

</div>

vinod-asterisk_CLI\> show function CALLERID  
vinod-asterisk_CLI\>  
-= Info about function ‘CALLERID’ =-

[Syntax]  
CALLERID(datatype)

[Synopsis]  
Gets or sets Caller\*ID data on the channel.

[Description]  
Gets or sets Caller\*ID data on the channel. The allowable datatypes  
are “all”, “name”, “num”, “ANI”, “DNID”, “RDNIS”.

---

<div class="post-metadata">

**Author:** ![vinod.vijayan](https://avatars.discourse-cdn.com/v4/letter/v/f9ae1b/32.png) [@vinod.vijayan](https://community.asterisk.org/u/vinod.vijayan)\
**Post date:** [September 25, 2006, 2:44pm UTC](https://community.asterisk.org/t/error-function-callerid-not-registered-why/9458/4 "2006-09-25T14:44:54Z")

</div>

so try,

exten =\> \_00.,1,Set(CALLERID(num)=xxxx#)

---

<div class="post-metadata">

**Author:** ![evoldus](https://avatars.discourse-cdn.com/v4/letter/e/a9a28c/32.png) [@evoldus](https://community.asterisk.org/u/evoldus)\
**Post date:** [September 26, 2006, 2:39am UTC](https://community.asterisk.org/t/error-function-callerid-not-registered-why/9458/5 "2006-09-26T02:39:41Z")

</div>

Hi,

I tried all the below options but it is strange that I get the below;

RHLES4_CLI\> show function CALLERID  
No function by that name registered.  
RHLES4_CLI\>

What could be the reason for this?

## RHLES4\*CLI\> show functions Installed Custom Functions:

CHECKSIPDOMAIN CHECKSIPDOMAIN(\<domain|IP\>) Checks if domain is a local domain  
SIPCHANINFO SIPCHANINFO(item) Gets the specified SIP parameter from the current channel  
SIPPEER SIPPEER([:item]) Gets SIP peer information  
SIP\_HEADER SIP\_HEADER() Gets the specified SIP header  
4 custom functions installed.  
RHLES4\*CLI\>

In the above output, I do not see the CALLERID as an option.

By the way, below is my “modules.conf”.

[modules]  
autoload=no

load=res\_adsi.so ; ADSI Resource  
;load=res\_agi.so ; Asterisk Gateway Interface (AGI)  
;load=res\_config\_odbc.so ; ODBC Configuration  
load=res\_crypto.so ; Cryptographic Digital Signatures  
load=res\_features.so ; Call Parking Resource  
;load=res\_indications.so ; Indications Configuration  
;load=res\_monitor.so ; Call Monitoring Resource  
;load=res\_musiconhold.so ; Music On Hold Resource  
;load=res\_odbc.so ; ODBC Resource  
load=cdr\_csv.so ; Comma Separated Values CDR Backend  
;load=cdr\_manager.so ; Asterisk Call Manager CDR Backend  
;load=cdr\_odbc.so ; ODBC CDR Backend  
;load=cdr\_pgsql.so ; PostgreSQL CDR Backend  
;load=chan\_agent.so ; Agent Proxy Channel  
;load=chan\_alsa.so ; ALSA Console Channel Driver 0  
;load=chan\_iax2.so ; Inter Asterisk eXchange (Ver 2)  
load=chan\_local.so ; Local Proxy Channel  
;load=chan\_mgcp.so ; Media Gateway Control Protocol (MGCP)  
;load=chan\_modem.so ; Generic Voice Modem Driver  
;load=chan\_modem\_aopen.so ; A/Open (Rockwell Chipset) ITU-2 VoiceMod  
;load=chan\_modem\_bestdata.so ; BestData (Conexant V.90 Chipset) VoiceMo  
;load=chan\_modem\_i4l.so ; ISDN4Linux Emulated Modem Driver  
;load=chan\_oss.so ; OSS Console Channel Driver  
;load=chan\_phone.so ; Linux Telephony API Support  
load=chan\_sip.so ; Session Initiation Protocol (SIP)  
;load=chan\_skinny.so ; Skinny Client Control Protocol (Skinny)  
;load=chan\_zap.so ; Zapata Telephony w/PRI  
load=codec\_a\_mu.so ; A-law and Mulaw direct Coder/Decoder  
load=codec\_adpcm.so ; Adaptive Differential PCM Coder/Decoder  
load=codec\_alaw.so ; A-law Coder/Decoder  
;load=codec\_g726.so ; ITU G.726-32kbps G726 Transcoder  
load=codec\_gsm.so ; GSM/PCM16 (signed linear) Codec Translat  
load=codec\_ilbc.so ; iLBC/PCM16 (signed linear) Codec Transla  
load=codec\_g729a.so  
;load=codec\_lpc10.so ; LPC10 2.4kbps (signed linear) Voice Code  
;load=codec\_speex.so ; Speex/PCM16 (signed linear) Codec Transl  
load=codec\_ulaw.so ; Mu-law Coder/Decoder  
;load=format\_g726.so ; Raw G.726 (16/24/32/40kbps) data  
load=format\_g729.so ; Raw G729 data  
load=format\_gsm.so ; Raw GSM data  
;load=format\_h263.so ; Raw h263 data  
load=format\_ilbc.so ; Raw iLBC data  
;load=format\_jpeg.so ; JPEG (Joint Picture Experts Group) Image  
load=format\_pcm.so ; Raw uLaw 8khz Audio support (PCM)  
;load=format\_pcm\_alaw.so ; Raw aLaw 8khz PCM Audio support  
;load=format\_sln.so ; Raw Signed Linear Audio support (SLN)  
;load=format\_vox.so ; Dialogic VOX (ADPCM) File Format  
load=format\_wav.so ; Microsoft WAV format (8000hz Signed Line  
load=format\_wav\_gsm.so ; Microsoft WAV format (Proprietary GSM)  
;load=app\_adsiprog.so ; Asterisk ADSI Programming Application  
;load=app\_alarmreceiver.so ; Alarm Receiver for Asterisk  
load=app\_authenticate.so ; Authentication Application  
;load=app\_cdr.so ; Make sure asterisk doesn’t save CDR for  
;load=app\_chanisavail.so ; Check if channel is available  
;load=app\_controlplayback.so ; Control Playback Application  
;load=app\_cut.so ; Cuts up variables  
;load=app\_db.so ; Database access functions for Asterisk e  
load=app\_dial.so ; Dialing Application  
;load=app\_directory.so ; Extension Directory  
;load=app\_disa.so ; DISA (Direct Inward System Access) Appli  
load=app\_echo.so ; Simple Echo Application  
;load=app\_enumlookup.so ; ENUM Lookup  
;load=app\_eval.so ; Reevaluates strings  
load=app\_exec.so ; Executes applications  
;load=app\_festival.so ; Simple Festival Interface  
;load=app\_flash.so ; Flash zap trunk application  
;load=app\_forkcdr.so ; Fork The CDR into 2 seperate entities.  
;load=app\_getcpeid.so ; Get ADSI CPE ID  
;load=app\_groupcount.so ; Group Management Routines  
;load=app\_hasnewvoicemail.so ; Indicator for whether a voice mailbox ha  
;load=app\_ices.so ; Encode and Stream via icecast and ices  
;load=app\_image.so ; Image Transmission Application  
;load=app\_intercom.so ; OBSOLETE  
;load=app\_lookupblacklist.so ; Look up Caller\*ID name/number from black  
load=app\_lookupcidname.so ; Look up CallerID Name from local databas  
load=app\_macro.so ; Extension Macros  
;load=app\_meetme.so ; MeetMe conference bridge  
load=app\_milliwatt.so ; Digital Milliwatt (mu-law) Test Applicat  
;load=app\_mp3.so ; Silly MP3 Application  
;load=app\_nbscat.so ; Silly NBS Stream Application  
;load=app\_parkandannounce.so ; Call Parking and Announce Application  
load=app\_playback.so ; Trivial Playback Application  
;load=app\_privacy.so ; Require phone number to be entered, if n  
;load=app\_qcall.so ; Call from Queue  
;load=app\_queue.so ; True Call Queueing  
;load=app\_random.so ; Random goto  
;load=app\_read.so ; Read Variable Application  
;load=app\_record.so ; Trivial Record Application  
load=app\_sayunixtime.so ; Say time  
;load=app\_senddtmf.so ; Send DTMF digits Application  
;load=app\_sendtext.so ; Send Text Applications  
load=app\_setcallerid.so ; Set CallerID Application  
;load=app\_setcdruserfield.so ; CDR user field apps  
;load=app\_setcidname.so ; Set CallerID Name  
load=app\_setcidnum.so ; Set CallerID Number  
;load=app\_sms.so ; SMS/PSTN handler  
;load=app\_softhangup.so ; Hangs up the requested channel  
;load=app\_sql\_postgres.so ; Simple PostgreSQL Interface  
;load=app\_striplsd.so ; Strip trailing digits  
;load=app\_substring.so ; (Deprecated) Save substring digits in a  
;load=app\_system.so ; Generic System() application  
;load=app\_talkdetect.so ; Playback with Talk Detection  
;load=app\_test.so ; Interface Test Application  
;load=app\_transfer.so ; Transfer  
;load=app\_txtcidname.so ; TXTCIDName  
;load=app\_url.so ; Send URL Applications  
load=app\_userevent.so ; Custom User Event Application  
load=app\_verbose.so ; Send verbose output  
load=app\_voicemail.so ; Comedian Mail (Voicemail System)  
;load=app\_waitforring.so ; Waits until first ring after time  
;load=app\_zapateller.so ; Block Telemarketers with Special Informa  
;load=app\_zapbarge.so ; Barge in on Zap channel application  
;load=app\_zapras.so ; Zap RAS Application  
;load=app\_zapscan.so ; Scan Zap channels application  
load=pbx\_config.so ; Text Extension Configuration  
;load=pbx\_spool.so ; Outgoing Spool Support  
;load=pbx\_wilcalu.so ; Wil Cal U (Auto Dialer)

[global]  
;chan\_modem.so=yes  
;

RHLES4_CLI\> show modules  
Module Description Use Count  
res\_adsi.so ADSI Resource 1  
res\_crypto.so Cryptographic Digital Signatures 1  
res\_features.so Call Features Resource 1  
cdr\_csv.so Comma Separated Values CDR Backend 0  
chan\_local.so Local Proxy Channel 0  
chan\_sip.so Session Initiation Protocol (SIP) 0  
codec\_a\_mu.so A-law and Mulaw direct Coder/Decoder 0  
codec\_adpcm.so Adaptive Differential PCM Coder/Decoder 0  
codec\_alaw.so A-law Coder/Decoder 0  
codec\_gsm.so GSM/PCM16 (signed linear) Codec Translat 0  
codec\_ilbc.so iLBC/PCM16 (signed linear) Codec Transla 0  
codec\_g729a.so Annex A/B (floating point) G.729 Codec ( 0  
codec\_ulaw.so Mu-law Coder/Decoder 0  
format\_g729.so Raw G729 data 0  
format\_gsm.so Raw GSM data 0  
format\_ilbc.so Raw iLBC data 0  
format\_pcm.so Raw uLaw 8khz Audio support (PCM) 0  
format\_wav.so Microsoft WAV format (8000hz Signed Line 0  
format\_wav\_gsm.so Microsoft WAV format (Proprietary GSM) 0  
app\_authenticate.so Authentication Application 0  
app\_dial.so Dialing Application 0  
app\_echo.so Simple Echo Application 0  
app\_exec.so Executes applications 0  
app\_lookupcidname.so Look up CallerID Name from local databas 0  
app\_macro.so Extension Macros 0  
app\_milliwatt.so Digital Milliwatt (mu-law) Test Applicat 0  
app\_playback.so Sound File Playback Application 0  
app\_sayunixtime.so Say time 0  
app\_setcallerid.so Set CallerID Application 0  
app\_setcidnum.so Set CallerID Number 0  
app\_userevent.so Custom User Event Application 0  
app\_verbose.so Send verbose output 0  
app\_voicemail.so Comedian Mail (Voicemail System) 0  
pbx\_config.so Text Extension Configuration 0  
34 modules loaded  
RHLES4_CLI\>

---

<div class="post-metadata">

**Author:** ![evoldus](https://avatars.discourse-cdn.com/v4/letter/e/a9a28c/32.png) [@evoldus](https://community.asterisk.org/u/evoldus)\
**Post date:** [September 27, 2006, 12:27am UTC](https://community.asterisk.org/t/error-function-callerid-not-registered-why/9458/6 "2006-09-27T00:27:48Z")

</div>

Hi

I could fix this after adding the below in “modules.conf”.

load=func\_callerid.so

Also I get the provider to remove the # so that I could use the below;

\_00.,1,Set(CALLERID(number)=xxxxx)
