[asterisk-users] Asterisk is not showing the correctIncomming CallerID

Farooq Ahmed fahmed at tpg.com.au
Wed May 16 00:54:50 MST 2007


Yes
national and internation prefix was 1 and +1 there.
Thank you very much Francois BERGERET.
Regards
Farooq 


Quoting f6hqz-m at hamwlan.net:

> Hi Farook and the list,
> 
> You have may be forgotten to input that in the misdn.conf file :
> 
> nationalprefix=0
> internationalprefix=00
> dialplan=0
> localdialplan=0
> cpndialplan=0
> 
> Best Regards,
> Francois BERGERET,
> France.
> 
> 
> -----Message d'origine-----
> De : asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] De la part de Farooq
> Ahmed
> Envoyé : mercredi 16 mai 2007 06:14
> À : Asterisk Users Mailing List - Non-Commercial Discussion
> Objet : Re: [asterisk-users] Asterisk is not showing the
> correctIncomming
> CallerID
> 
> 
> I forgot to give the asterisk logs
> 
> pbx*CLI>
>     -- Executing Set("mISDN/2-2", "FROM_DID=37228888") in new stack
>     -- Executing Gosub("mISDN/2-2", "app-blacklist-check|s|1") in new
> stack
>     -- Executing LookupBlacklist("mISDN/2-2", "") in new stack
>     -- Executing GotoIf("mISDN/2-2", "0?blacklisted") in new stack
>     -- Executing Return("mISDN/2-2", "") in new stack
>     -- Executing Goto("mISDN/2-2", "ext-group|10000|1") in new stack
>     -- Goto (ext-group,10000,1)
>     -- Executing Macro("mISDN/2-2", "user-callerid|") in new stack
>     -- Executing NoOp("mISDN/2-2", "user-callerid:  1416222888") in
> new
> stack
>     -- Executing GotoIf("mISDN/2-2", "0?report") in new stack
>     -- Executing GotoIf("mISDN/2-2", "0?start") in new stack
>     -- Executing Set("mISDN/2-2", "REALCALLERIDNUM=1416222888") in
> new stack
>     -- Executing NoOp("mISDN/2-2", "REALCALLERIDNUM is 1416222888")
> in new
> stack
>     -- Executing Set("mISDN/2-2", "AMPUSER=") in new stack
>     -- Executing Set("mISDN/2-2", "AMPUSERCIDNAME=") in new stack
>     -- Executing GotoIf("mISDN/2-2", "1?report") in new stack
>     -- Goto (macro-user-callerid,s,11)
>     -- Executing NoOp("mISDN/2-2", "TTL:  ARG1: ") in new stack
>     -- Executing GotoIf("mISDN/2-2", "0?continue") in new stack
>     -- Executing Set("mISDN/2-2", "_TTL=64") in new stack
>     -- Executing GotoIf("mISDN/2-2", "1?continue") in new stack
>     -- Goto (macro-user-callerid,s,21)
>     -- Executing NoOp("mISDN/2-2", "Using CallerID "" <1416222888>")
> in new
> stack
>     -- Executing Set("mISDN/2-2", "modifiedcallerid=1416222888") in
> new
> stack
>     -- Executing Set("mISDN/2-2", "CALLERID(number)=1416222888") in
> new
> stack
>     -- Executing GotoIf("mISDN/2-2", "1?skipdb") in new stack
>     -- Goto (ext-group,10000,4)
>     -- Executing Set("mISDN/2-2", "__NODEST=") in new stack
>     -- Executing Set("mISDN/2-2",
> "__BLKVM_OVERRIDE=BLKVM/10000/mISDN/2-2")
> in new stack
>     -- Executing Set("mISDN/2-2", "__BLKVM_BASE=10000") in new stack
>     -- Executing Set("mISDN/2-2", "DB(BLKVM/10000/mISDN/2-2)=TRUE")
> in new
> stack
>     -- Executing Set("mISDN/2-2", "RRNODEST=") in new stack
>     -- Executing Set("mISDN/2-2", "__NODEST=10000") in new stack
>     -- Executing GotoIf("mISDN/2-2", "1?REPCID") in new stack
>     -- Goto (ext-group,10000,14)
>     -- Executing NoOp("mISDN/2-2", "CALLERID(name) is ") in new
> stack
>     -- Executing Set("mISDN/2-2", "RecordMethod=Group") in new stack
>     -- Executing Macro("mISDN/2-2", "record-enable|903-909|Group") in
> new
> stack
>     -- Executing GotoIf("mISDN/2-2", "0 > 0?2:4") in new stack
>     -- Goto (macro-record-enable,s,4)
>     -- Executing DeadAGI("mISDN/2-2",
> "recordingcheck|20070516-140757|1179288477.1037") in 
> new stack
>     -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
>     -- AGI Script recordingcheck completed, returning 0
>     -- Executing NoOp("mISDN/2-2", "No recording needed") in new
> stack
>     -- Executing Set("mISDN/2-2", "RingGroupMethod=hunt") in new
> stack
>     -- Executing Macro("mISDN/2-2", "dial|10||903-909") in new stack
>     -- Executing DeadAGI("mISDN/2-2", "dialparties.agi") in new
> stack
>     -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
>   dialparties.agi: Starting New Dialparties.agi
>   dialparties.agi: priority is 1
>   dialparties.agi: Caller ID name is 'unknown' number is
> '1416222888'
>   dialparties.agi: Methodology of ring is  'hunt'
>        >  dialparties.agi: USE_CONFIRMATION:  'FALSE'
>        >  dialparties.agi: RINGGROUP_INDEX:   ''
>     --  dialparties.agi: Added extension 903 to extension map
>     --  dialparties.agi: Added extension 909 to extension map
>     --  dialparties.agi: Extension 903 cf is disabled
>     --  dialparties.agi: Extension 909 cf is disabled
>     --  dialparties.agi: Extension 903 do not disturb is disabled
>     --  dialparties.agi: Extension 909 do not disturb is disabled
>        >  dialparties.agi: extnum: 903
>        >  dialparties.agi: exthascw: 1
>        >  dialparties.agi: exthascfb: 0
>        >  dialparties.agi: extcfb:
>        >  dialparties.agi: exthascfu: 0
>        >  dialparties.agi: extcfu:
>        >  dialparties.agi: extnum: 909
>        >  dialparties.agi: exthascw: 1
>        >  dialparties.agi: exthascfb: 0
>        >  dialparties.agi: extcfb:
>        >  dialparties.agi: exthascfu: 0
>        >  dialparties.agi: extcfu:
>        >  dialparties.agi: NODEST: 10000 adding M(auto-blkvm) to
> dialopts:
> M(auto-blkvm)
>     -- AGI Script dialparties.agi completed, returning 0
>     -- Executing NoOp("mISDN/2-2", "Returned from dialparties with
> hunt
> groups to dial ") in new 
> stack
>     -- Executing Set("mISDN/2-2", "HuntLoop=0") in new stack
>     -- Executing GotoIf("mISDN/2-2", "1?30 ") in new stack
>     -- Goto (macro-dial,s,30)
>     -- Executing Set("mISDN/2-2", "HuntMember=HuntMember0") in new
> stack
>     -- Executing GotoIf("mISDN/2-2", "1?32:35 ") in new stack
>     -- Goto (macro-dial,s,32)
>     -- Executing Set("mISDN/2-2", "CT_EXTEN=903") in new stack
>     -- Executing Set("mISDN/2-2", "DB(CALLTRACE/903)=1416222888") in
> new
> stack
>     -- Executing Goto("mISDN/2-2", "s|42") in new stack
>     -- Goto (macro-dial,s,42)
>     -- Executing Dial("mISDN/2-2", "SIP/903|10|M(auto-blkvm) ") in
> new stack
>     -- Called 903
>     -- SIP/903-08872570 is ringing
>   == Spawn extension (macro-dial, s, 42) exited non-zero on
> 'mISDN/2-2' in
> macro 'dial'
>   == Spawn extension (macro-dial, s, 42) exited non-zero on
> 'mISDN/2-2'
>     -- Executing Macro("mISDN/2-2", "hangupcall") in new stack
>     -- Executing ResetCDR("mISDN/2-2", "w") in new stack
>     -- Executing NoCDR("mISDN/2-2", "") in new stack
>     -- Executing GotoIf("mISDN/2-2", "1?skiprg") in new stack
>     -- Goto (macro-hangupcall,s,6)
>     -- Executing GotoIf("mISDN/2-2", "0?theend") in new stack
>     -- Executing NoOp("mISDN/2-2", "Cleaning Up Block VM Flag:
> BLKVM/10000/mISDN/2-2") in 
> new stack
>     -- Executing DBdel("mISDN/2-2", "BLKVM/10000/mISDN/2-2") in new
> stack
>     -- DBdel: family=BLKVM, key=10000/mISDN/2-2
>     -- Executing Wait("mISDN/2-2", "5") in new stack
>   == Spawn extension (macro-hangupcall, s, 9) exited non-zero on
> 'mISDN/2-2'
> in 
> macro 'hangupcall'
>   == Spawn extension (macro-hangupcall, s, 9) exited non-zero on
> 'mISDN/2-2'
> pbx*CLI>
> 
> 
> 
> 
> Quoting Farooq Ahmed <fahmed at tpg.com.au>:
> 
> > Hi Everyone,
> > I have an asterisk box in my office. It does not display the
> correct 
> > Incomming Caller id. For incomming we are using ISDN Bri line which
> is 
> > terminated in a Digium 4 port bri card (B410P).
> > 
> > Like if a number say 02 12345678 calls to our line asterisk
> displays 
> > it 12 12345678. Similarlay if a mobile number say 0416 123456 dials
> us 
> > , asterisk displays 1416 123456.
> > 
> > I am not sure where the problem is either in misdn.conf or 
> > extension.conf. Would be kind enough if some give any Pointer or
> help.
> > Regards
> > Farooq 
> > -- 
> > _______________________________________________
> > --Bandwidth and Colocation provided by Easynews.com --
> > 
> > asterisk-users mailing list
> > To UNSUBSCRIBE or update options visit:
> >    http://lists.digium.com/mailman/listinfo/asterisk-users
> > 
> > 
> > 
> 
> 
> -- 
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> 
> 


-- 


More information about the asterisk-users mailing list