philippe it looks like i’m having the same problem as in this thread … did you have any good result solving it …i tried the CID priority box and did not solve it
http://www.freepbx.org/forum/freepbx/beta-program-issues/inbound-route-cid-problem
this a sample of a call that should be going to DISA instead goes to any did/cid extension 216
– Executing [s@ext-did:9] Wait(“SIP/1195547172-b7520bc8”, “2”) in new stack
– Executing [s@ext-did:10] Goto(“SIP/1195547172-b7520bc8”, “from-did-direct,216,1”) in new stack
– Goto (from-did-direct,216,1)
– Executing [216@from-did-direct:1] Macro(“SIP/1195547172-b7520bc8”, “exten-vm,216,216”) in new stack
– Executing [s@macro-exten-vm:1] Macro(“SIP/1195547172-b7520bc8”, “user-callerid,”) in new stack
– Executing [s@macro-user-callerid:1] Set(“SIP/1195547172-b7520bc8”, “AMPUSER=450xxx1861”) in new stack
– Executing [s@macro-user-callerid:2] GotoIf(“SIP/1195547172-b7520bc8”, “0?report”) in new stack
– Executing [s@macro-user-callerid:3] ExecIf(“SIP/1195547172-b7520bc8”, “1?Set(REALCALLERIDNUM=450xxxxx61)”) in new stack
– Executing [s@macro-user-callerid:4] Set(“SIP/1195547172-b7520bc8”, “AMPUSER=”) in new stack
– Executing [s@macro-user-callerid:5] Set(“SIP/1195547172-b7520bc8”, “AMPUSERCIDNAME=”) in new stack
– Executing [s@macro-user-callerid:6] GotoIf(“SIP/1195547172-b7520bc8”, “1?report”) in new stack
– Goto (macro-user-callerid,s,10)
– Executing [s@macro-user-callerid:10] GotoIf(“SIP/1195547172-b7520bc8”, “0?continue”) in new stack
– Executing [s@macro-user-callerid:11] Set(“SIP/1195547172-b7520bc8”, “__TTL=64”) in new stack
– Executing [s@macro-user-callerid:12] GotoIf(“SIP/1195547172-b7520bc8”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,19)
– Executing [s@macro-user-callerid:19] NoOp(“SIP/1195547172-b7520bc8”, “Using CallerID “BxxxxxxR C” <450xxx1861>”) in new stack
– Executing [s@macro-exten-vm:2] Set(“SIP/1195547172-b7520bc8”, “RingGroupMethod=none”) in new stack
– Executing [s@macro-exten-vm:3] Set(“SIP/1195547172-b7520bc8”, “VMBOX=216”) in new stack
– Executing [s@macro-exten-vm:4] Set(“SIP/1195547172-b7520bc8”, “EXTTOCALL=216”) in new stack
– Executing [s@macro-exten-vm:5] Set(“SIP/1195547172-b7520bc8”, “CFUEXT=”) in new stack
– Executing [s@macro-exten-vm:6] Set(“SIP/1195547172-b7520bc8”, “CFBEXT=”) in new stack
– Executing [s@macro-exten-vm:7] Set(“SIP/1195547172-b7520bc8”, “RT=15”) in new stack
– Executing [s@macro-exten-vm:8] Macro(“SIP/1195547172-b7520bc8”, “record-enable,216,IN”) in new stack
– Executing [s@macro-record-enable:1] GotoIf(“SIP/1195547172-b7520bc8”, “1?check”) in new stack
– Goto (macro-record-enable,s,4)
– Executing [s@macro-record-enable:4] ExecIf(“SIP/1195547172-b7520bc8”, “0?MacroExit()”) in new stack
– Executing [s@macro-record-enable:5] GotoIf(“SIP/1195547172-b7520bc8”, “0?Group:OUT”) in new stack
– Goto (macro-record-enable,s,15)
– Executing [s@macro-record-enable:15] GotoIf(“SIP/1195547172-b7520bc8”, “1?IN”) in new stack
– Goto (macro-record-enable,s,20)
– Executing [s@macro-record-enable:20] ExecIf(“SIP/1195547172-b7520bc8”, “1?MacroExit()”) in new stack
– Executing [s@macro-exten-vm:9] Macro(“SIP/1195547172-b7520bc8”, “dial,15,tr,216”) in new stack
– Executing [s@macro-dial:1] GotoIf(“SIP/1195547172-b7520bc8”, “1?dial”) in new stack
– Goto (macro-dial,s,3)
– Executing [s@macro-dial:3] AGI(“SIP/1195547172-b7520bc8”, “dialparties.agi”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi: Starting New Dialparties.agi
dialparties.agi: Caller ID name is ‘BxxxxxxR C’ number is ‘450xxxxx61’
> dialparties.agi: USE_CONFIRMATION: ‘FALSE’
> dialparties.agi: RINGGROUP_INDEX: ''
dialparties.agi: Methodology of ring is ‘none’
– dialparties.agi: Added extension 216 to extension map
> dialparties.agi: Extension 216 has call screening off
– dialparties.agi: Extension 216 cf is disabled
– dialparties.agi: Extension 216 do not disturb is disabled
> dialparties.agi: extnum 216 has: cw: 1; hascfb: 0 [] hascfu: 0 []
dialparties.agi: EXTENSION_STATE: 0 (NOT_INUSE)
– dialparties.agi: dbset CALLTRACE/216 to 450xxxxx61
– dialparties.agi: Filtered ARG3: 216
– <SIP/1195547172-b7520bc8>AGI Script dialparties.agi completed, returning 0
– Executing [s@macro-dial:7] Dial(“SIP/1195547172-b7520bc8”, “SIP/216,15,tr”) in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Called 216
– SIP/216-08fefed8 is ringing