[asterisk-bugs] [AsteriskNOW and Packages 0016545]: CallerID not working on Indian PSTN
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Jan 5 07:06:24 CST 2010
The following issue has been SUBMITTED.
======================================================================
https://issues.asterisk.org/view.php?id=16545
======================================================================
Reported By: arunsasidhar
Assigned To:
======================================================================
Project: AsteriskNOW and Packages
Issue ID: 16545
Category: System Configuration GUI
Reproducibility: have not tried
Severity: major
Priority: normal
Status: new
JIRA:
======================================================================
Date Submitted: 2010-01-05 07:06 CST
Last Modified: 2010-01-05 07:06 CST
======================================================================
Summary: CallerID not working on Indian PSTN
Description:
Hi,
I am using asterisknow 1.5.0 and Wildcard TDM410P card. Everything is
working fine except the caller ID of incoming call from PSTN line. The
phone display is showing "Unknown" when there is an incoming call. I think
the same problem listed here:
https://issues.asterisk.org/view.php?id=6683
There is one patch on this link but i don't know how to apply patch on
asterisknow. Is this patch will resolve my issue? Kindly help me to fix
this issue.
My log file showing this while an incoming call on PSTN
[Jan 5 18:14:59] DEBUG[9938] dsp.c: dsp busy pattern set to 0,0
[Jan 5 18:14:59] VERBOSE[9986] logger.c: -- Starting simple switch on
'DAHDI/1-1'
[Jan 5 18:15:01] NOTICE[9986] chan_dahdi.c: Got event 18 (Ring Begin)...
[Jan 5 18:15:02] NOTICE[9986] chan_dahdi.c: Got event 2
(Ring/Answered)...
[Jan 5 18:15:04] NOTICE[9986] chan_dahdi.c: Got event 18 (Ring Begin)...
[Jan 5 18:15:04] VERBOSE[9986] logger.c: -- Executing [s at from-pstn:1]
Set("DAHDI/1-1", "__FROM_DID=s") in new stack
[Jan 5 18:15:04] VERBOSE[9986] logger.c: -- Executing [s at from-pstn:2]
Gosub("DAHDI/1-1", "app-blacklist-check|s|1") in new stack
[Jan 5 18:15:04] VERBOSE[9986] logger.c: -- Executing
[s at app-blacklist-check:1] LookupBlacklist("DAHDI/1-1", "") in new stack
[Jan 5 18:15:04] VERBOSE[9986] logger.c: -- Executing
[s at app-blacklist-check:2] GotoIf("DAHDI/1-1", "0?blacklisted") in new
stack
[Jan 5 18:15:04] VERBOSE[9986] logger.c: -- Executing
[s at app-blacklist-check:3] Set("DAHDI/1-1", "CALLED_BLACKLIST=1") in new
stack
[Jan 5 18:15:04] VERBOSE[9986] logger.c: -- Executing
[s at app-blacklist-check:4] Return("DAHDI/1-1", "") in new stack
[Jan 5 18:15:04] VERBOSE[9986] logger.c: -- Executing [s at from-pstn:3]
ExecIf("DAHDI/1-1", "1 |Set|CALLERID(name)=") in new stack
[Jan 5 18:15:04] VERBOSE[9986] logger.c: -- Executing [s at from-pstn:4]
Set("DAHDI/1-1", "FAX_RX=disabled") in new stack
[Jan 5 18:15:04] VERBOSE[9986] logger.c: -- Executing [s at from-pstn:5]
Set("DAHDI/1-1", "__CALLINGPRES_SV=allowed_not_screened") in new stack
[Jan 5 18:15:04] VERBOSE[9986] logger.c: -- Executing [s at from-pstn:6]
SetCallerPres("DAHDI/1-1", "allowed_not_screened") in new stack
[Jan 5 18:15:04] VERBOSE[9986] logger.c: -- Executing [s at from-pstn:7]
Goto("DAHDI/1-1", "from-did-direct|104|1") in new stack
[Jan 5 18:15:04] VERBOSE[9986] logger.c: -- Goto
(from-did-direct,104,1)
[Jan 5 18:15:04] VERBOSE[9986] logger.c: -- Executing
[104 at from-did-direct:1] Macro("DAHDI/1-1", "exten-vm|104|104") in new
stack
[Jan 5 18:15:04] VERBOSE[9986] logger.c: -- Executing
[s at macro-exten-vm:1] Macro("DAHDI/1-1", "user-callerid") in new stack
[Jan 5 18:15:04] VERBOSE[9986] logger.c: -- Executing
[s at macro-user-callerid:1] Set("DAHDI/1-1", "AMPUSER=") in new stack
[Jan 5 18:15:04] DEBUG[9986] app_macro.c: Executed application: Set
[Jan 5 18:15:04] VERBOSE[9986] logger.c: -- Executing
[s at macro-user-callerid:2] GotoIf("DAHDI/1-1", "0?report") in new stack
[Jan 5 18:15:04] DEBUG[9986] app_macro.c: Executed application: GotoIf
[Jan 5 18:15:04] VERBOSE[9986] logger.c: -- Executing
[s at macro-user-callerid:3] ExecIf("DAHDI/1-1", "1|Set|REALCALLERIDNUM=") in
new stack
[Jan 5 18:15:04] DEBUG[9986] app_macro.c: Executed application: ExecIf
[Jan 5 18:15:04] DEBUG[9986] app_macro.c: Last app: Set|REALCALLERIDNUM=
[Jan 5 18:15:04] DEBUG[9986] func_db.c: DB: DEVICE//user not found in
database.
[Jan 5 18:15:04] VERBOSE[9986] logger.c: -- Executing
[s at macro-user-callerid:4] Set("DAHDI/1-1", "AMPUSER=") in new stack
[Jan 5 18:15:04] DEBUG[9986] app_macro.c: Executed application: Set
.............
And in asterisk console
-- Starting simple switch on 'DAHDI/1-1'
-- Executing [s at from-pstn:1] Set("DAHDI/1-1", "__FROM_DID=s") in new
stack
-- Executing [s at from-pstn:2] Gosub("DAHDI/1-1",
"app-blacklist-check|s|1") in new stack
-- Executing [s at app-blacklist-check:1] LookupBlacklist("DAHDI/1-1",
"") in new stack
-- Executing [s at app-blacklist-check:2] GotoIf("DAHDI/1-1",
"0?blacklisted") in new stack
-- Executing [s at app-blacklist-check:3] Set("DAHDI/1-1",
"CALLED_BLACKLIST=1") in new stack
-- Executing [s at app-blacklist-check:4] Return("DAHDI/1-1", "") in new
stack
-- Executing [s at from-pstn:3] ExecIf("DAHDI/1-1", "1
|Set|CALLERID(name)=") in new stack
-- Executing [s at from-pstn:4] Set("DAHDI/1-1", "FAX_RX=disabled") in
new stack
-- Executing [s at from-pstn:5] Set("DAHDI/1-1",
"__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [s at from-pstn:6] SetCallerPres("DAHDI/1-1",
"allowed_not_screened") in new stack
-- Executing [s at from-pstn:7] Goto("DAHDI/1-1",
"from-did-direct|104|1") in new stack
-- Goto (from-did-direct,104,1)
-- Executing [104 at from-did-direct:1] Macro("DAHDI/1-1",
"exten-vm|104|104") in new stack
-- Executing [s at macro-exten-vm:1] Macro("DAHDI/1-1", "user-callerid")
in new stack
-- Executing [s at macro-user-callerid:1] Set("DAHDI/1-1", "AMPUSER=") in
new stack
-- Executing [s at macro-user-callerid:2] GotoIf("DAHDI/1-1", "0?report")
in new stack
-- Executing [s at macro-user-callerid:3] ExecIf("DAHDI/1-1",
"1|Set|REALCALLERIDNUM=") in new stack
-- Executing [s at macro-user-callerid:4] Set("DAHDI/1-1", "AMPUSER=") in
new stack
-- Executing [s at macro-user-callerid:5] Set("DAHDI/1-1",
"AMPUSERCIDNAME=") in new stack
-- Executing [s at macro-user-callerid:6] GotoIf("DAHDI/1-1", "1?report")
in new stack
-- Goto (macro-user-callerid,s,10)
-- Executing [s at macro-user-callerid:10] GotoIf("DAHDI/1-1",
"0?continue") in new stack
-- Executing [s at macro-user-callerid:11] Set("DAHDI/1-1", "__TTL=64")
in new stack
-- Executing [s at macro-user-callerid:12] GotoIf("DAHDI/1-1",
"1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s at macro-user-callerid:19] NoOp("DAHDI/1-1", "Using
CallerID "" <>") in new stack
My zapata.conf is like this
[channels]
language=en
hanguponpolarityswitch=yes
answeronpolarityswitch=yes
busydetect=yes
busycount=3
callprogress=yes
callerid=asreceived
hidecallerid=no
immediate=yes
cidsignalling=dtmf
;cidsignalling=bell
;cidsignalling=v23
;cidstart=polarity
cidstart=polarity_in
;cidstart=ring
useincomingcalleridonzaptransfer=yes
; include dahdi extensions defined in FreePBX
#include chan_dahdi_additional.conf
; XTDM20B Port https://issues.asterisk.org/view.php?id=1,2 plugged into PSTN
;AMPLABEL:Channel %c - Button %n
context=from-pstn
signalling=fxs_ks
faxdetect=incoming
usecallerid=yes
echocancel=yes
echocancelwhenbridged=no
echotraining=800
group=0
channel=1-2
Please Help me...
Thanks,
Aruns
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2010-01-05 07:06 arunsasidhar New Issue
======================================================================
More information about the asterisk-bugs
mailing list