In fact when I receive a call the system does not check if the either or not this number is in the blacklist
This is what I have when I receive a call. The number 55512345 is in the blacklist.
Executing [4001@from-pstn:1] Macro(“XOIP/g0-0x277278”, “exten-vm|novm|4001”) in new stack
– Executing [s@macro-exten-vm:1] Macro(“XOIP/g0-0x277278”, “user-callerid”) in new stack
– Executing [s@macro-user-callerid:1] NoOp(“XOIP/g0-0x277278”, “user-callerid: 55512345”) in new stack
– Executing [s@macro-user-callerid:2] Set(“XOIP/g0-0x277278”, “AMPUSER=55512345”) in new stack
– Executing [s@macro-user-callerid:3] GotoIf(“XOIP/g0-0x277278”, “0?report”) in new stack
– Executing [s@macro-user-callerid:4] ExecIf(“XOIP/g0-0x277278”, “1|Set|REALCALLERIDNUM=55512345”) in new stack
– Executing [s@macro-user-callerid:5] NoOp(“XOIP/g0-0x277278”, “REALCALLERIDNUM is 55512345”) in new stack
– Executing [s@macro-user-callerid:6] Set(“XOIP/g0-0x277278”, “AMPUSER=”) in new stack
– Executing [s@macro-user-callerid:7] Set(“XOIP/g0-0x277278”, “AMPUSERCIDNAME=”) in new stack
– Executing [s@macro-user-callerid:8] GotoIf(“XOIP/g0-0x277278”, “1?report”) in new stack
– Goto (macro-user-callerid,s,13)
– Executing [s@macro-user-callerid:13] NoOp(“XOIP/g0-0x277278”, “TTL: ARG1: novm”) in new stack
– Executing [s@macro-user-callerid:14] GotoIf(“XOIP/g0-0x277278”, “0?continue”) in new stack
– Executing [s@macro-user-callerid:15] Set(“XOIP/g0-0x277278”, “__TTL=64”) in new stack
– Executing [s@macro-user-callerid:16] GotoIf(“XOIP/g0-0x277278”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,23)
– Executing [s@macro-user-callerid:23] NoOp(“XOIP/g0-0x277278”, “Using CallerID “” <55512345>”) in new stack
– Executing [s@macro-exten-vm:2] Set(“XOIP/g0-0x277278”, “FROMCONTEXT=exten-vm”) in new stack
– Executing [s@macro-exten-vm:3] Set(“XOIP/g0-0x277278”, “VMBOX=novm”) in new stack
– Executing [s@macro-exten-vm:4] Set(“XOIP/g0-0x277278”, “EXTTOCALL=4001”) in new stack
– Executing [s@macro-exten-vm:5] Set(“XOIP/g0-0x277278”, “CFUEXT=”) in new stack
– Executing [s@macro-exten-vm:6] Set(“XOIP/g0-0x277278”, “CFBEXT=”) in new stack
– Executing [s@macro-exten-vm:7] Set(“XOIP/g0-0x277278”, “RT=”"") in new stack
– Executing [s@macro-exten-vm:8] Macro(“XOIP/g0-0x277278”, “record-enable|4001|IN”) in new stack
– Executing [s@macro-record-enable:1] GotoIf(“XOIP/g0-0x277278”, “0?2:4”) in new stack
– Goto (macro-record-enable,s,4)
– Executing [s@macro-record-enable:4] AGI(“XOIP/g0-0x277278”, “recordingcheck|20081203-172226|1228321345.162”) in new stack
– Launched AGI Script /opt/var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20081203-172226|1228321345.162: Inbound recording not enabled
– AGI Script recordingcheck completed, returning 0
– Executing [s@macro-record-enable:5] NoOp(“XOIP/g0-0x277278”, “No recording needed”) in new stack
– Executing [s@macro-exten-vm:9] Macro(“XOIP/g0-0x277278”, “dial||tr|4001”) in new stack
– Executing [s@macro-dial:1] GotoIf(“XOIP/g0-0x277278”, “1?dial”) in new stack
– Goto (macro-dial,s,3)
– Executing [s@macro-dial:3] AGI(“XOIP/g0-0x277278”, “dialparties.agi”) in new stack
– Launched AGI Script /opt/var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi: Starting New Dialparties.agi
== Parsing ‘/opt/etc/asterisk/manager.conf’: Found
== Parsing ‘/opt/etc/asterisk/manager_additional.conf’: Found
== Parsing ‘/opt/etc/asterisk/manager_custom.conf’: Found
== Manager ‘admin’ logged on from 127.0.0.1
dialparties.agi: Caller ID name is ‘unknown’ number is '55512345’
dialparties.agi: USE_CONFIRMATION: 'FALSE’
dialparties.agi: RINGGROUP_INDEX: ''
dialparties.agi: Methodology of ring is ‘none’
– dialparties.agi: Added extension 4001 to extension map
– dialparties.agi: Extension 4001 cf is disabled
– dialparties.agi: Extension 4001 do not disturb is disabled
> dialparties.agi: extnum 4001 has: cw: 1; hascfb: 0 [] hascfu: 0 []
> dialparties.agi: ExtensionState: 0
– dialparties.agi: dbset CALLTRACE/4001 to 55512345
– dialparties.agi: Filtered ARG3: 4001
== Manager ‘admin’ logged off from 127.0.0.1
– AGI Script dialparties.agi completed, returning 0
– Executing [s@macro-dial:7] Dial(“XOIP/g0-0x277278”, “SIP/4001||tr”) in new stack
– Called 4001
– SIP/4001-001d6f80 is ringing
– SIP/4001-001d6f80 answered XOIP/g0-0x277278