Empty caller id[Sangoma AU100 USB FXO+India BSNL provider]

Hi Members,

Please help me out in resolving this issue.The caller id is received as empty in asterisk. Below given are my setup

I am using BSNL WLL(wireless local loop) Phone connection
The FXO card is connected with the WLL Box provided by BSNL[Note:- I am able to get the callerid if i connect it with phone]

Chan_dahdi.conf

;autogenerated by /usr/sbin/wancfg_dahdi do not hand edit
;autogenrated on 2012-11-18
;Dahdi Channels Configurations
;For detailed Dahdi options, view /etc/asterisk/chan_dahdi.conf.bak

[trunkgroups]

[channels]
context=default
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
relaxdtmf=yes
rxgain=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1
immediate=no
;To detect caller id - for bsnl india WLL Phone
cidsignalling=dtmf
cidstart=polarity_IN
callerid = asreceived

;dtmfcidlevel=512
;useincomingcalleridondahditransfer = yes

;For Hangup supervision
busydetect=yes
callprogress=yes

;hanguponpolarityswitch=yes
;distinctiveringaftercid=yes

;Sangoma AU100 [slot: bus: span:1]
context=welcometovv
group=0
echocancel=yes
signalling = fxs_ks
channel => 1

context=welcometovv
group=0
echocancel=yes
signalling = fxs_ks
channel => 2

Wanpipe1.conf

[devices]
wanpipe1 = WAN_USB_ANALOG, Comment

[interfaces]
w1g1 = wanpipe1, , TDM_VOICE, Comment

[wanpipe1]
CARD_TYPE = USB
AUTO_DETECT = NO
USB_BUSID = 2-2
FE_MEDIA = FXO/FXS
TDMV_LAW = ALAW
TDMV_OPERMODE = FCC
RM_BATTTHRESH = 3
RM_BATTDEBOUNCE = 16
TDMV_SPAN = 1
RM_FAKE_POLARITY = YES

[w1g1]
ACTIVE_CH = ALL
TDMV_HWEC = NO

ASterisk dialplan

[welcometovv]
exten=>s,1,Playback(DialTone)
exten=>s,n,NoOp(Entered with caller Id: ${CALLERID(all)})
exten=>s,n,Playback(/var/lib/asterisk/sounds/vvwelcome/welcometovv)
exten =>s,n,Hangup()

Result:

– Starting simple switch on ‘DAHDI/1-1’
– Executing [s@welcometovv:1] Playback(“DAHDI/1-1”, “DialTone”) in new stack
– <DAHDI/1-1> Playing ‘DialTone.gsm’ (language ‘en’)
– Executing [s@welcometovv:2] NoOp(“DAHDI/1-1”, “Entered with caller Id: “” <>”) in new stack
– Executing [s@welcometovv:3] Playback(“DAHDI/1-1”, “/var/lib/asterisk/sounds/vvwelcome/welcometovv”) in new stack
– Hanging up on ‘DAHDI/1-1’
– Hungup ‘DAHDI/1-1’

Issue: The caller id is displayed as “”<>

Please help me out to resolve this issue.

Thanks,
Magesh

Ask Sangoma. (Note this isn’t a support forum, either.)