hello all
i have asterisk 1.8.22 and have problem with caller id. this is my
scenario:
PSTN --> FXO ---> FXS ---> phone(223)
when i call from a 223 to another phone, every thing is ok and caller id
(223) is shown in called phone. but when i call from another phone to 223,
no caller id is shown and just zero is shown.
if i set callerid=12345 in chan_dahdi.conf file, when another phone call
223, this number (12345) is shown as caller id instead of zero. but i want
to show incoming number as caller id.
this is my chan_dahdi.conf file:
[channels]
;cidsignalling=dtmf
cidstart=polarity;; in gozine takhir dar tamas (aghab boodan yek zang) ra
az beyn mibarad.
callprogress=yes
usecallerid=yes
hidecallerid=no
callwaiting=no
transfer=yes
echocancel=yes
echotraining=yes
callerid=asreceived
group=0
callgroup=1
pickupgroup=1
usecallerid=yes
context=pstn-channels
channel=>5-8
group=1
callgroup=1
pickupgroup=1
usecallerid=yes
context=phone-channels
channel=>1-4
and this is my extensions.conf file:
[phone-channels]
exten=>_.,1,Dial(DAHDI/8/${EXTEN})
[pstn-channels]
exten=>_.,1,Dial(DAHDI/2/${EXTEN})
i searched a lot but found nothing useful:( please help me to solve it.
thanks in advance,
SAM
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.digium.com/pipermail/asterisk-users/attachments/20130722/214a6d60/attachment.htm>