Arun Sasidhar
2010-Jan-05 13:24 UTC
[asterisk-users] CallerID on Indian PSTN is not working.
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 #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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100105/40fc5609/attachment.htm
Arun Sasidhar
2010-Jan-06 04:53 UTC
[asterisk-users] CallerID on Indian PSTN is not working.
Please respond. 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 #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 > > >-- 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/dec3531c/attachment.htm
Kyle Kienapfel
2010-Jan-06 05:43 UTC
[asterisk-users] CallerID on Indian PSTN is not working.
On Tue, Jan 5, 2010 at 5:24 AM, Arun Sasidhar <arun.sasidhar at cabotsolutions.com> 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. >Hello, The last comment on that page you linked says the patch was applied to the source in June of 2007. Cheers
Tzafrir Cohen
2010-Jan-06 11:10 UTC
[asterisk-users] CallerID on Indian PSTN is not working.
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 +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
DHAVAL INDRODIYA
2010-Jan-07 06:47 UTC
[asterisk-users] CallerID on Indian PSTN is not working.
hi arun can you paste a dialplan here and version of asterisk regards dhaval On Thu, Jan 7, 2010 at 11:51 AM, Tzafrir Cohen <tzafrir.cohen at xorcom.com>wrote:> On Thu, Jan 07, 2010 at 09:54:09AM +0530, Arun Sasidhar wrote: > > hi, > > > > I made changes in zapata.conf but no result. > > You use zapata.conf . I suppose you use asterisk 1.4 . Give asterisk > 1.6.0 or newer a shot. > > -- > Tzafrir Cohen > icq#16849755 jabber:tzafrir.cohen at xorcom.com<jabber%3Atzafrir.cohen at xorcom.com> > +972-50-7952406 mailto:tzafrir.cohen at xorcom.com > http://www.xorcom.com iax:guest at 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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100107/c4fa1e7b/attachment.htm
Arun Sasidhar
2010-Jan-13 06:04 UTC
[asterisk-users] CallerID on Indian PSTN is not working.
Hi, I got a solution for this problem from Freepbx forum<http://www.freepbx.org/forum/freepbx/users/caller-id-not-working#comment-23520>. Is anybody know about this DTMF to FSK converter? Is this solution solve my problem? Any way I will try it and get back. -- 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/20100113/e4e5624f/attachment.htm