[asterisk-users] CallerID on Indian PSTN is not working.

Arun Sasidhar arun.sasidhar at cabotsolutions.com
Wed Jan 6 09:00:48 CST 2010


Hi,

   Its a free service here and My ordinary phone displaying the Caller ID
without any problem.
I have done some modifications in zapata.conf
Now it looks like this

*[channels]
language=en
hanguponpolarityswitch=yes
answeronpolarityswitch=yes
busydetect=yes
busycount=6
callprogress=yes
callerid=asreceived
hidecallerid=no
immediate=no
cidsignalling=dtmf
cidstart=polarity_IN
cid_rxgain=6
useincomingcalleridonzaptransfer=yes
rxgain=5.0
txgain=2.0
;cidsignalling=bell
;cidsignalling=v23
;cidstart=polarity
;cidstart=ring
; include dahdi extensions defined in FreePBX
#include chan_dahdi_additional.conf

; XTDM20B Port #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*

Then Now my log showing
*
[Jan  6 20:22:57] DEBUG[2886] dsp.c: dsp busy pattern set to 0,0
[Jan  6 20:22:57] VERBOSE[2926] logger.c:     -- Starting simple switch on
'DAHDI/1-1'
[Jan  6 20:22:58] NOTICE[2926] chan_dahdi.c: Got event 18 (Ring Begin)...
[Jan  6 20:22:59] NOTICE[2926] chan_dahdi.c: Got event 2 (Ring/Answered)...
[Jan  6 20:23:01] NOTICE[2926] chan_dahdi.c: Got event 18 (Ring Begin)...
[Jan  6 20:23:01] VERBOSE[2926] logger.c:     -- Executing [s at from-pstn:1]
Set("DAHDI/1-1", "__FROM_DID=s") in new stack
[Jan  6 20:23:01] VERBOSE[2926] logger.c:     -- Executing [s at from-pstn:2]
Gosub("DAHDI/1-1", "app-blacklist-check|s|1") in new stack
[Jan  6 20:23:01] VERBOSE[2926] logger.c:     -- Executing
[s at app-blacklist-check:1] LookupBlacklist("DAHDI/1-1", "") in new stack
[Jan  6 20:23:01] WARNING[2926] app_lookupblacklist.c: LookupBlacklist is
deprecated.  Please use ${BLACKLIST()} instead.
[Jan  6 20:23:01] VERBOSE[2926] logger.c:     -- Executing
[s at app-blacklist-check:2] GotoIf("DAHDI/1-1", "0?blacklisted") in new stack
[Jan  6 20:23:01] VERBOSE[2926] logger.c:     -- Executing
[s at app-blacklist-check:3] Set("DAHDI/1-1", "CALLED_BLACKLIST=1") in new
stack
[Jan  6 20:23:01] VERBOSE[2926] logger.c:     -- Executing
[s at app-blacklist-check:4] Return("DAHDI/1-1", "") in new stack
[Jan  6 20:23:01] VERBOSE[2926] logger.c:     -- Executing [s at from-pstn:3]
ExecIf("DAHDI/1-1", "1 |Set|CALLERID(name)=") in new stack
[Jan  6 20:23:01] VERBOSE[2926] logger.c:     -- Executing [s at from-pstn:4]
Set("DAHDI/1-1", "FAX_RX=disabled") in new stack
[Jan  6 20:23:01] VERBOSE[2926] logger.c:     -- Executing [s at from-pstn:5]
Set("DAHDI/1-1", "__CALLINGPRES_SV=allowed_not_screened") in new stack
[Jan  6 20:23:01] VERBOSE[2926] logger.c:     -- Executing [s at from-pstn:6]
SetCallerPres("DAHDI/1-1", "allowed_not_screened") in new stack
[Jan  6 20:23:01] VERBOSE[2926] logger.c:     -- Executing [s at from-pstn:7]
Goto("DAHDI/1-1", "from-did-direct|104|1") in new stack
[Jan  6 20:23:01] VERBOSE[2926] logger.c:     -- Goto
(from-did-direct,104,1)
[Jan  6 20:23:01] VERBOSE[2926] logger.c:     -- Executing
[104 at from-did-direct:1] Macro("DAHDI/1-1", "exten-vm|104|104") in new stack
[Jan  6 20:23:01] VERBOSE[2926] logger.c:     -- Executing [s at macro-exten-vm:1]
Macro("DAHDI/1-1", "user-callerid") in new stack
[Jan  6 20:23:01] VERBOSE[2926] logger.c:     -- Executing
[s at macro-user-callerid:1] Set("DAHDI/1-1", "AMPUSER=") in new stack
[Jan  6 20:23:01] DEBUG[2926] app_macro.c: Executed application: Set
[Jan  6 20:23:01] VERBOSE[2926] logger.c:     -- Executing
[s at macro-user-callerid:2] GotoIf("DAHDI/1-1", "0?report") in new stack
[Jan  6 20:23:01] DEBUG[2926] app_macro.c: Executed application: GotoIf
[Jan  6 20:23:01] VERBOSE[2926] logger.c:     -- Executing
[s at macro-user-callerid:3] ExecIf("DAHDI/1-1", "1|Set|REALCALLERIDNUM=") in
new stack
[Jan  6 20:23:01] DEBUG[2926] app_macro.c: Executed application: ExecIf
[Jan  6 20:23:01] DEBUG[2926] app_macro.c: Last app: Set|REALCALLERIDNUM=
[Jan  6 20:23:01] DEBUG[2926] func_db.c: DB: DEVICE//user not found in
database.
*
But my phone display is showing unknown caller. Please help

*Thanks,
Arun S*





Are you even paying for the service?
>
> Here in the US, on PSTN lines from the ILEC's, CallerID is a pay
> service, with 2 tiers. Number only, and number with name.
> Some CLEC's include this without extra charge, as do most/all VOIP
> providers.
>
> Do you have a box or phone, independent of the Asterisk box, that can
> display CallerID? Make sure first it is being delivered to you. You
> could also monitor the line on incoming calls and listen for the
> information being sent.
> You also need to determine what "standard"  or protocol is used to send
> the information, as worldwide there are several.
>
> John Novack
>
> Arun Sasidhar wrote:
> > Hi,
> >
> >     I dont know the type of caller ID. What you mean by this?. I am
> > from India. I don't know more about this.
> > *
> > Thanks,
> > Arun S*
> >
> > On Wed, Jan 6, 2010 at 4:40 PM, Tzafrir Cohen
> > <tzafrir.cohen at xorcom.com <mailto:tzafrir.cohen at xorcom.com>> wrote:
> >
> >     On Tue, Jan 05, 2010 at 06:54:18PM +0530, Arun Sasidhar wrote:
> >     > 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.
> >
> >     What type of caller ID is used in that line?
> >
> >     --
> >                   Tzafrir Cohen
> >     icq#16849755              jabber:tzafrir.cohen at xorcom.com<jabber%3Atzafrir.cohen at xorcom.com>
> >     <mailto:jabber%3Atzafrir.cohen at xorcom.com<jabber%253Atzafrir.cohen at xorcom.com>
> >
> >     +972-50-7952406           mailto:tzafrir.cohen at xorcom.com
> >     <mailto:tzafrir.cohen at xorcom.com>
> >     http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir
> >     <http://iax:guest@local.xorcom.com/tzafrir>
> >
> >     _______________________________________________
> >     -- Bandwidth and Colocation Provided by http://www.api-digital.com--
> >
> >     asterisk-users mailing list
> >     To UNSUBSCRIBE or update options visit:
> >       http://lists.digium.com/mailman/listinfo/asterisk-users
> >
> >
> >
> >
> > --
> > Thanks,
> >
> > Arun S
> > System Administrator.
> > Cabot Solutions
> > www.cabotsolutions.com <http://www.cabotsolutions.com>
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> >
> > asterisk-users mailing list
> > To UNSUBSCRIBE or update options visit:
> >    http://lists.digium.com/mailman/listinfo/asterisk-users
> > ------------------------------------------------------------------------
> >
> >
> >
> > Checked by AVG - www.avg.com
> > Version: 9.0.725 / Virus Database: 270.14.126/2602 - Release Date:
> 01/05/10 14:35:00
> >
> >
>
> --
> Dog is my co-pilot
>
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>



-- 
Thanks,

Arun S
System Administrator.
Cabot Solutions
www.cabotsolutions.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100106/e6eb4ee6/attachment.htm 


More information about the asterisk-users mailing list