Calleridnum

Hi

I am trying to use the CALLERIDNUM on incoming calls, and for some reason its not being received by Asterisk…

Within extensions.conf, I have added the line
exten = s,3,NoOp(${CALLERIDNUM})
inorder to display the CALLERIDNUM on the console

The following appears on the console, I’m assuming the calling number should apear among this output ??
Executing [s@open:3] NoOp(“Zap/4-1”, “”) in new stack

CALLERID is avaiable on the phone line as the calling number is visable on a regular phone.

Can anyone offer any advice ?

Thank you

you do not say what version of asterisk but on some versions of * I have found that CALLERIDNUM does not work but CALLERID(num) does work.

voip-info.org/wiki-Asterisk+variables

If you are using 1.4, Use
${CALLERID(num)}

I am running AsteriskNow V1.4.9

I have tried these suggestions and the results are the same

Any futher suggestions would be appreciated

Thank you

Hi

exten = s,3,NoOp(${CALLERID(num} - ${CALLERID(name} )

if either is set it will show them if you are setting nothing then you cant be getting an callerid

Hi,

This could be my problem !

What do you mean by setting, this could be the missing link !

Tahnk you

Hi

Where are you ? and what does you zapata.conf look like. Also are you sure your supplier provides callerid ?

Ian

Hi

Location - UK
Provider - BT
CallerID - Yes visable on a regular phone

zapta.conf as follows
context=default
switchtype=national
signalling=fxo_ls
rxwink=300
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
rxgain=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1
immediate=no
signalling=fxs_ks
channel=4

Thank you