Inbound route CID routing

Hi guys

i just did a fresh rebuild of my trixbox from 2.6 to 2.8 …i downloaded freepbx 2.7 in the past a inbound CID used to be routed to a particular extension or ivr without a hitch …but now any inbound CID goes to the any DID/CID extension i’m pulling my hair over this is there a fix or something i might have missed

thanks

the only thing that comes to mind is if you are not checking the CID Priority box. If this is not genuine FreePBX, could also be trixbox broke something in their version.

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

my suggestion would be to include the part of the trace that is actually routing it to the extension vs. the part of the trace once it gets there:-)

then, someone may pick up on why it is getting routed to where it is…

thanks for your help

– Executing [514xxxxxxx@from-trunk:1] NoOp(“SIP/1195547172-b7520bc8”, “Catch-All DID Match - Found 5143161775 - You probably want a DID for this.”) in new stack
– Executing [5143161775@from-trunk:2] Goto(“SIP/1195547172-b7520bc8”, “ext-did,s,1”) in new stack
– Goto (ext-did,s,1)
– Executing [s@ext-did:1] Set(“SIP/1195547172-b7520bc8”, “__FROM_DID=s”) in new stack
– Executing [s@ext-did:2] Gosub(“SIP/1195547172-b7520bc8”, “app-blacklist-check,s,1”) in new stack
– Executing [s@app-blacklist-check:1] GotoIf(“SIP/1195547172-b7520bc8”, “0?blacklisted”) in new stack
– Executing [s@app-blacklist-check:2] Set(“SIP/1195547172-b7520bc8”, “CALLED_BLACKLIST=1”) in new stack
– Executing [s@app-blacklist-check:3] Return(“SIP/1195547172-b7520bc8”, “”) in new stack
– Executing [s@ext-did:3] ExecIf(“SIP/1195547172-b7520bc8”, “0 ?Set(CALLERID(name)=4506721861)”) in new stack
– Executing [s@ext-did:4] Set(“SIP/1195547172-b7520bc8”, “__CALLINGPRES_SV=allowed_not_screened”) in new stack
– Executing [s@ext-did:5] Set(“SIP/1195547172-b7520bc8”, “CALLERPRES()=allowed_not_screened”) in new stack
– Executing [s@ext-did:6] Set(“SIP/1195547172-b7520bc8”, “FAX_DEST=ext-fax^s^1”) in new stack
– Executing [s@ext-did:7] Set(“SIP/1195547172-b7520bc8”, "[email protected]") in new stack
– Executing [s@ext-did:8] Answer(“SIP/1195547172-b7520bc8”, “”) in new stack