Trixbox and DID's

tseymour
Posts: 109
Member Since:
2006-11-18

I was wondering if someone could explain what is going on here...

I have 2 T-1's Bonded with a PRI 16 channel circuit with XO.

I have 100 DID's.

I have verified with XO they are indeed passing the DID numbers. I even had them raise it to 7 digits to pass. I also ran a trace and asterisk shows the DID numbers after the 'from" CID when I call in. Shows my number then the DID.

I have tried every way possible to get the DID ext. to ring when I call that DID. WHY doesn't the blasted thing route that call to that ext?????????????

yes, i have an inbound route
yes, i have the ext. with the DID, i have tried just 4 digit, 7 digits, all 10, NO GO.

I have tried an inbound route with DID/any CID to that ext and still NO GO!

Please help!!!!!!! AAAHHHHHHGGG!



kerryg
Posts: 6793
Member Since:
2006-05-31
Show us the output from the

Show us the output from the CLI for an inbound call.

--

Kerry Garrison
http://www.VoipStore.com - http://3cxbook.com
(888) VOIPSTORE - (888) 864-7786



tseymour
Posts: 109
Member Since:
2006-11-18
the output

Hey Kerryg-
how do I post this rather long mess of output? It also looks like the 1st part is missing. where it shows the inbound call with DID. It's like I lose the top part coz i'm out of buffer or something....??



tseymour
Posts: 109
Member Since:
2006-11-18
well... lets try this for output....

[Feb 9 16:03:47] VERBOSE[2271] logger.c: -- Accepting call from '8178452493' to '3321327' on channel 0/1, span 1
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Executing [3321327@from-zaptel:1] Set("Zap/1-1", "DID=3321327") in new stack
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Executing [3321327@from-zaptel:2] Goto("Zap/1-1", "s|1") in new stack
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Goto (from-zaptel,s,1)
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Executing [s@from-zaptel:1] NoOp("Zap/1-1", "Entering from-zaptel with DID == 3321327") in new stack
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Executing [s@from-zaptel:2] Ringing("Zap/1-1", "") in new stack
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Executing [s@from-zaptel:3] Set("Zap/1-1", "DID=3321327") in new stack
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Executing [s@from-zaptel:4] NoOp("Zap/1-1", "DID is now 3321327") in new stack
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Executing [s@from-zaptel:5] GotoIf("Zap/1-1", "1?zapok:notzap") in new stack
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Goto (from-zaptel,s,8)
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Executing [s@from-zaptel:8] NoOp("Zap/1-1", "Is a Zaptel Channel") in new stack
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Executing [s@from-zaptel:9] Set("Zap/1-1", "CHAN=1-1") in new stack
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Executing [s@from-zaptel:10] Set("Zap/1-1", "CHAN=1") in new stack
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Executing [s@from-zaptel:11] Macro("Zap/1-1", "from-zaptel-1|3321327|1") in new stack
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Executing [s@macro-from-zaptel-1:1] NoOp("Zap/1-1", "Entering macro-from-zaptel-1 with DID = 3321327") in new stack
[Feb 9 16:03:47] DEBUG[2539] app_macro.c: Executed application: Noop
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Executing [s@macro-from-zaptel-1:2] Gosub("Zap/1-1", "app-blacklist-check|s|1") in new stack
[Feb 9 16:03:47] DEBUG[2539] app_macro.c: Executed application: Gosub
[Feb 9 16:03:47] DEBUG[2539] app_macro.c: Incrementing gosub_level
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Executing [s@app-blacklist-check:1] LookupBlacklist("Zap/1-1", "") in new stack
[Feb 9 16:03:47] DEBUG[2539] app_macro.c: Executed application: LookupBlacklist
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Executing [s@app-blacklist-check:2] GotoIf("Zap/1-1", "0?blacklisted") in new stack
[Feb 9 16:03:47] DEBUG[2539] app_macro.c: Executed application: GotoIf
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Executing [s@app-blacklist-check:3] Return("Zap/1-1", "") in new stack
[Feb 9 16:03:47] DEBUG[2539] app_macro.c: Executed application: Return
[Feb 9 16:03:47] DEBUG[2539] app_macro.c: Decrementing gosub_level
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Executing [s@macro-from-zaptel-1:3] Set("Zap/1-1", "__FROM_DID=s") in new stack
[Feb 9 16:03:47] DEBUG[2539] app_macro.c: Executed application: Set
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Executing [s@macro-from-zaptel-1:4] GotoIf("Zap/1-1", "0 ?cidok") in new stack
[Feb 9 16:03:47] DEBUG[2539] app_macro.c: Executed application: GotoIf
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Executing [s@macro-from-zaptel-1:5] Set("Zap/1-1", "CALLERID(name)=8178452493") in new stack
[Feb 9 16:03:47] DEBUG[2539] app_macro.c: Executed application: Set
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Executing [s@macro-from-zaptel-1:6] NoOp("Zap/1-1", "CallerID is "8178452493" ") in new stack
[Feb 9 16:03:47] DEBUG[2539] app_macro.c: Executed application: Noop
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Executing [s@macro-from-zaptel-1:7] Set("Zap/1-1", "FAX_RX=disabled") in new stack
[Feb 9 16:03:47] DEBUG[2539] app_macro.c: Executed application: Set
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Executing [s@macro-from-zaptel-1:8] Goto("Zap/1-1", "timeconditions|1|1") in new stack
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Goto (timeconditions,1,1)
[Feb 9 16:03:47] DEBUG[2539] app_macro.c: Executed application: Goto
[Feb 9 16:03:47] VERBOSE[2539] logger.c: == Channel 'Zap/1-1' jumping out of macro 'from-zaptel-1'
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Executing [1@timeconditions:1] GotoIfTime("Zap/1-1", "17:00-18:00|mon-fri|1-31|jan-dec?ext-group|602|1") in new stack
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Executing [1@timeconditions:2] Goto("Zap/1-1", "ext-group|600|1") in new stack
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Goto (ext-group,600,1)
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Executing [600@ext-group:1] Macro("Zap/1-1", "user-callerid|") in new stack
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Executing [s@macro-user-callerid:1] NoOp("Zap/1-1", "user-callerid: 8178452493 8178452493") in new stack
[Feb 9 16:03:47] DEBUG[2539] app_macro.c: Executed application: Noop
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Executing [s@macro-user-callerid:2] Set("Zap/1-1", "AMPUSER=8178452493") in new stack
[Feb 9 16:03:47] DEBUG[2539] app_macro.c: Executed application: Set
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Executing [s@macro-user-callerid:3] GotoIf("Zap/1-1", "0?report") in new stack
[Feb 9 16:03:47] DEBUG[2539] app_macro.c: Executed application: GotoIf
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Executing [s@macro-user-callerid:4] GotoIf("Zap/1-1", "0?start") in new stack
[Feb 9 16:03:47] DEBUG[2539] app_macro.c: Executed application: GotoIf
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Executing [s@macro-user-callerid:5] Set("Zap/1-1", "REALCALLERIDNUM=8178452493") in new stack
[Feb 9 16:03:47] DEBUG[2539] app_macro.c: Executed application: Set
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Executing [s@macro-user-callerid:6] NoOp("Zap/1-1", "REALCALLERIDNUM is 8178452493") in new stack
[Feb 9 16:03:47] DEBUG[2539] app_macro.c: Executed application: NoOp
[Feb 9 16:03:47] DEBUG[2539] func_db.c: DB: DEVICE/8178452493/user not found in database.
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Executing [s@macro-user-callerid:7] Set("Zap/1-1", "AMPUSER=") in new stack
[Feb 9 16:03:47] DEBUG[2539] app_macro.c: Executed application: Set
[Feb 9 16:03:47] DEBUG[2539] func_db.c: DB: AMPUSER//cidname not found in database.
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Executing [s@macro-user-callerid:8] Set("Zap/1-1", "AMPUSERCIDNAME=") in new stack
[Feb 9 16:03:47] DEBUG[2539] app_macro.c: Executed application: Set
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Executing [s@macro-user-callerid:9] GotoIf("Zap/1-1", "1?report") in new stack
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Goto (macro-user-callerid,s,13)
[Feb 9 16:03:47] DEBUG[2539] app_macro.c: Executed application: GotoIf
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Executing [s@macro-user-callerid:13] NoOp("Zap/1-1", "TTL: ARG1: ") in new stack
[Feb 9 16:03:47] DEBUG[2539] app_macro.c: Executed application: Noop
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Executing [s@macro-user-callerid:14] GotoIf("Zap/1-1", "0?continue") in new stack
[Feb 9 16:03:47] DEBUG[2539] app_macro.c: Executed application: GotoIf
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Executing [s@macro-user-callerid:15] Set("Zap/1-1", "__TTL=64") in new stack
[Feb 9 16:03:47] DEBUG[2539] app_macro.c: Executed application: Set
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Executing [s@macro-user-callerid:16] GotoIf("Zap/1-1", "1?continue") in new stack
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Goto (macro-user-callerid,s,23)
[Feb 9 16:03:47] DEBUG[2539] app_macro.c: Executed application: GotoIf
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Executing [s@macro-user-callerid:23] NoOp("Zap/1-1", "Using CallerID "8178452493" ") in new stack
[Feb 9 16:03:47] DEBUG[2539] app_macro.c: Executed application: NoOp
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Executing [600@ext-group:2] GotoIf("Zap/1-1", "1?skipdb") in new stack
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Goto (ext-group,600,4)
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Executing [600@ext-group:4] Set("Zap/1-1", "__NODEST=") in new stack
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Executing [600@ext-group:5] Set("Zap/1-1", "__BLKVM_OVERRIDE=BLKVM/600/Zap/1-1") in new stack
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Executing [600@ext-group:6] Set("Zap/1-1", "__BLKVM_BASE=600") in new stack
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Executing [600@ext-group:7] Set("Zap/1-1", "DB(BLKVM/600/Zap/1-1)=TRUE") in new stack
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Executing [600@ext-group:8] Set("Zap/1-1", "RRNODEST=") in new stack
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Executing [600@ext-group:9] Set("Zap/1-1", "__NODEST=600") in new stack
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Executing [600@ext-group:10] Set("Zap/1-1", "RecordMethod=Group") in new stack
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Executing [600@ext-group:11] Macro("Zap/1-1", "record-enable|100|Group") in new stack
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Executing [s@macro-record-enable:1] GotoIf("Zap/1-1", "0?2:4") in new stack
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Goto (macro-record-enable,s,4)
[Feb 9 16:03:47] DEBUG[2539] app_macro.c: Executed application: GotoIf
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Executing [s@macro-record-enable:4] AGI("Zap/1-1", "recordingcheck|20080209-160347|1202594627.34") in new stack
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- AGI Script recordingcheck completed, returning 0
[Feb 9 16:03:47] DEBUG[2539] app_macro.c: Executed application: AGI
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Executing [s@macro-record-enable:5] NoOp("Zap/1-1", "No recording needed") in new stack
[Feb 9 16:03:47] DEBUG[2539] app_macro.c: Executed application: Noop
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Executing [600@ext-group:12] Set("Zap/1-1", "RingGroupMethod=ringall") in new stack
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Executing [600@ext-group:13] Macro("Zap/1-1", "dial|15|m(FUN)t|100") in new stack
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Executing [s@macro-dial:1] GotoIf("Zap/1-1", "1?dial") in new stack
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Goto (macro-dial,s,3)
[Feb 9 16:03:47] DEBUG[2539] app_macro.c: Executed application: GotoIf
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Executing [s@macro-dial:3] AGI("Zap/1-1", "dialparties.agi") in new stack
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
[Feb 9 16:03:47] VERBOSE[2539] logger.c: dialparties.agi: Starting New Dialparties.agi
[Feb 9 16:03:47] VERBOSE[2542] logger.c: == Parsing '/etc/asterisk/manager.conf': [Feb 9 16:03:47] VERBOSE[2542] logger.c: Found
[Feb 9 16:03:47] VERBOSE[2542] logger.c: == Parsing '/etc/asterisk/manager_additional.conf': [Feb 9 16:03:47] VERBOSE[2542] logger.c: Found
[Feb 9 16:03:47] VERBOSE[2542] logger.c: == Parsing '/etc/asterisk/manager_custom.conf': [Feb 9 16:03:47] VERBOSE[2542] logger.c: Found
[Feb 9 16:03:47] VERBOSE[2542] logger.c: == Manager 'admin' logged on from 127.0.0.1
[Feb 9 16:03:47] VERBOSE[2539] logger.c: dialparties.agi: Caller ID name is '8178452493' number is '8178452493'
[Feb 9 16:03:47] VERBOSE[2539] logger.c: dialparties.agi: Methodology of ring is 'ringall'
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- dialparties.agi: Added extension 100 to extension map
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- dialparties.agi: Extension 100 cf is disabled
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- dialparties.agi: Extension 100 do not disturb is disabled
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- dialparties.agi: dbset CALLTRACE/100 to 8178452493
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- AGI Script dialparties.agi completed, returning 0
[Feb 9 16:03:47] DEBUG[2539] app_macro.c: Executed application: AGI
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Executing [s@macro-dial:10] Dial("Zap/1-1", "SIP/100|15|m(FUN)tM(auto-blkvm)") in new stack
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Called 100
[Feb 9 16:03:47] VERBOSE[2539] logger.c: -- Started music on hold, class 'FUN', on Zap/1-1
[Feb 9 16:03:47] DEBUG[2539] chan_zap.c: Received AST_CONTROL_PROGRESS on Zap/1-1
[Feb 9 16:03:47] VERBOSE[2542] logger.c: == Manager 'admin' logged off from 127.0.0.1
[Feb 9 16:03:47] WARNING[2539] file.c: File /v



Joe
Posts: 89
Member Since:
2006-05-31
In another thread that you started on this subject.....

In another thread that you started on this subject, it was suggested that if you have "catch all" (any DID / any CID) route to your ring group at the top of your incoming routes list in FreePBX , that you delete it and see if that helps. If it does, try adding it back in at the end of the list if you really need a "catch everything else" route. I just want to make sure that if this applies, you'll be sure to try it.



tseymour
Posts: 109
Member Since:
2006-11-18
an any DID/any CID suggestion

I don't have one.(don't think so) In this new version 2.4, you have this ZAP channel DID thing.
I have gone as far as this:
On XO communications web portal, I have set just 6 numbers to hunt. These numbers where their original 6 that hunted on their old PBX system and the old circuit was AT&T.
On FreePBX, I have set these 6 numbers only as well. Main, Main1, Main2, etc... to Main 6 and these inbound routes go to RingGroup1 and rings 1 extension (100) if the recpt is on DND, it goes to RingGroup 2 and rings 7 exts. If no one answers it goes to the IVR. This all works fine. But when you dial a DID that I have setup to go to an extension, it goes to the above setup.
Is the above considered an any/any?

This is a law firm and having to drastically change how this rings may be a very bad thing! They get kinda pissy when they miss calls... *wink*
T



Joe
Posts: 89
Member Since:
2006-05-31
Don't use the Zap Channel DID thing.

You don't need to setup anything in the Zap Channel DID thing. Just use the DID's directly in the Inbound Route setup. See my last answer in one of your other threads on this same issue for more details.

Did you purposely litter up the forum with repeated separate inquiries on the same problem or is the Forum software screwing up and fragmenting the threads?



tseymour
Posts: 109
Member Since:
2006-11-18
Littering the form

I would NOT do anything like that on purpose. I had started a thread 3 weeks ago and didn't get a bite on it. So, thinking it didn't post right or whatever, I started this one. I do have another with the PIN codes not showing up in the CDR as a different thread.



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.