-
Oui effectivement, ya plus de chose (pour rappel, on essai de voir pourquoi l'appel est router vers la route entrante "any DID / any CID") :
Par défaut les appels arrivent sur un ring group (n° 600) qui sert les postes qui sont connectés :
localhost*CLI> core set verbose 3
Verbosity is at least 3
-- Accepting call from '524xxxxxx' to 's' on channel 0/31, span 1
-- Executing [s@from-pstn:1] Set("DAHDI/i1/524xxxxxx-1e", "__FROM_DID=s") in new stack
-- Executing [s@from-pstn:2] Gosub("DAHDI/i1/524xxxxxx-1e", "app-blacklist-check,s,1") in new stack
-- Executing [s@app-blacklist-check:1] GotoIf("DAHDI/i1/524xxxxxx-1e", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:2] Set("DAHDI/i1/524xxxxxx-1e", "CALLED_BLACKLIST=1") in new stack
-- Executing [s@app-blacklist-check:3] Return("DAHDI/i1/524xxxxxx-1e", "") in new stack
-- Executing [s@from-pstn:3] ExecIf("DAHDI/i1/524xxxxxx-1e", "1 ?Set(CALLERID(name)=524579509)") in new stack
-- Executing [s@from-pstn:4] Set("DAHDI/i1/524xxxxxx-1e", "__CALLINGPRES_SV=allowed_passed_screen") in new stack
-- Executing [s@from-pstn:5] Set("DAHDI/i1/524xxxxxx-1e", "CALLERPRES()=allowed_not_screened") in new stack
-- Executing [s@from-pstn:6] Goto("DAHDI/i1/524xxxxxx-1e", "ext-group,600,1") in new stack
-- Goto (ext-group,600,1)
-- Executing [600@ext-group:1] Macro("DAHDI/i1/524xxxxxx-1e", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("DAHDI/i1/524xxxxxx-1e", "AMPUSER=524xxxxxx") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("DAHDI/i1/524xxxxxx-1e", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("DAHDI/i1/524xxxxxx-1e", "1?Set(REALCALLERIDNUM=524xxxxxx)") in new stack
-- Executing [s@macro-user-callerid:4] Set("DAHDI/i1/524xxxxxx-1e", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:5] Set("DAHDI/i1/524xxxxxx-1e", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("DAHDI/i1/524xxxxxx-1e", "1?report") in new stack
-- Goto (macro-user-callerid,s,10)
-- Executing [s@macro-user-callerid:10] GotoIf("DAHDI/i1/524xxxxxx-1e", "0?continue") in new stack
-- Executing [s@macro-user-callerid:11] Set("DAHDI/i1/524xxxxxx-1e", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("DAHDI/i1/524xxxxxx-1e", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] Set("DAHDI/i1/524xxxxxx-1e", "CALLERID(number)=524xxxxxx") in new stack
-- Executing [s@macro-user-callerid:20] Set("DAHDI/i1/524xxxxxx-1e", "CALLERID(name)=524xxxxxx") in new stack
-- Executing [s@macro-user-callerid:21] NoOp("DAHDI/i1/524xxxxxx-1e", "Using CallerID "524xxxxxx" <524xxxxxx>") in new stack
-- Executing [600@ext-group:2] GotoIf("DAHDI/i1/524xxxxxx-1e", "1?skipdb") in new stack
-- Goto (ext-group,600,4)
-- Executing [600@ext-group:4] Set("DAHDI/i1/524xxxxxx-1e", "__NODEST=") in new stack
-- Executing [600@ext-group:5] Set("DAHDI/i1/524xxxxxx-1e", "__BLKVM_OVERRIDE=BLKVM/600/DAHDI/i1/524xxxxxx-1e") in new stack
-- Executing [600@ext-group:6] Set("DAHDI/i1/524xxxxxx-1e", "__BLKVM_BASE=600") in new stack
-- Executing [600@ext-group:7] Set("DAHDI/i1/524xxxxxx-1e", "DB(BLKVM/600/DAHDI/i1/524xxxxxx-1e)=TRUE") in new stack
-- Executing [600@ext-group:8] Set("DAHDI/i1/524xxxxxx-1e", "RRNODEST=") in new stack
-- Executing [600@ext-group:9] Set("DAHDI/i1/524xxxxxx-1e", "__NODEST=600") in new stack
-- Executing [600@ext-group:10] GosubIf("DAHDI/i1/524xxxxxx-1e", "0?sub-rgsetcid,s,1") in new stack
-- Executing [600@ext-group:11] Set("DAHDI/i1/524xxxxxx-1e", "RecordMethod=Group") in new stack
-- Executing [600@ext-group:12] Macro("DAHDI/i1/524xxxxxx-1e", "record-enable,6133-6132,Group") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("DAHDI/i1/524xxxxxx-1e", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("DAHDI/i1/524xxxxxx-1e", "0?MacroExit()") in new stack
-- Executing [s@macro-record-enable:5] GotoIf("DAHDI/i1/524xxxxxx-1e", "1?Group:OUT") in new stack
-- Goto (macro-record-enable,s,6)
-- Executing [s@macro-record-enable:6] Set("DAHDI/i1/524xxxxxx-1e", "LOOPCNT=2") in new stack
-- Executing [s@macro-record-enable:7] Set("DAHDI/i1/524xxxxxx-1e", "ITER=1") in new stack
-- Executing [s@macro-record-enable:8] GotoIf("DAHDI/i1/524xxxxxx-1e", "1?continue") in new stack
-- Goto (macro-record-enable,s,13)
-- Executing [s@macro-record-enable:13] Set("DAHDI/i1/524xxxxxx-1e", "ITER=2") in new stack
-- Executing [s@macro-record-enable:14] GotoIf("DAHDI/i1/524xxxxxx-1e", "1?begin") in new stack
-- Goto (macro-record-enable,s,8)
-- Executing [s@macro-record-enable:8] GotoIf("DAHDI/i1/524xxxxxx-1e", "1?continue") in new stack
-- Goto (macro-record-enable,s,13)
-- Executing [s@macro-record-enable:13] Set("DAHDI/i1/524xxxxxx-1e", "ITER=3") in new stack
-- Executing [s@macro-record-enable:14] GotoIf("DAHDI/i1/524xxxxxx-1e", "0?begin") in new stack
-- Executing [s@macro-record-enable:15] GotoIf("DAHDI/i1/524xxxxxx-1e", "0?IN") in new stack
-- Executing [s@macro-record-enable:16] ExecIf("DAHDI/i1/524xxxxxx-1e", "1?MacroExit()") in new stack
-- Executing [600@ext-group:13] Set("DAHDI/i1/524xxxxxx-1e", "RingGroupMethod=ringall") in new stack
-- Executing [600@ext-group:14] Macro("DAHDI/i1/524xxxxxx-1e", "dial,20,tr,6133-6132") in new stack
-- Executing [s@macro-dial:1] GotoIf("DAHDI/i1/524xxxxxx-1e", "1?dial") in new stack
-- Goto (macro-dial,s,3)
-- Executing [s@macro-dial:3] AGI("DAHDI/i1/524xxxxxx-1e", "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 '524xxxxxx' number is '524xxxxxx'
dialparties.agi: Methodology of ring is 'ringall'
-- dialparties.agi: Added extension 6133 to extension map
-- dialparties.agi: Added extension 6132 to extension map
-- dialparties.agi: Extension 6133 cf is disabled
-- dialparties.agi: Extension 6132 cf is disabled
-- dialparties.agi: Extension 6133 do not disturb is disabled
-- dialparties.agi: Extension 6132 do not disturb is disabled
dialparties.agi: EXTENSION_STATE: 0 (NOT_INUSE)
dialparties.agi: Extension 6133 has ExtensionState: 0
-- dialparties.agi: Checking CW and CFB status for extension 6133
-- dialparties.agi: dbset CALLTRACE/6133 to 524xxxxxx
dialparties.agi: EXTENSION_STATE: 4 (UNAVAILABLE)
dialparties.agi: Extension 6132 has ExtensionState: 4
-- dialparties.agi: Checking CW and CFB status for extension 6132
-- dialparties.agi: dbset CALLTRACE/6132 to 524xxxxxx
-- dialparties.agi: Filtered ARG3: 6133-6132
-- <DAHDI/i1/524xxxxxx-1e>AGI Script dialparties.agi completed, returning 0
-- Executing [s@macro-dial:7] Dial("DAHDI/i1/524xxxxxx-1e", "SIP/6133&SIP/6132,20,trM(auto-blkvm)") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called SIP/6133
-- SIP/6133-00000032 is ringing
-- Span 1: Channel 0/31 got hangup request, cause 16
== Spawn extension (macro-dial, s, 7) exited non-zero on 'DAHDI/i1/524xxxxxx-1e' in macro 'dial'
== Spawn extension (ext-group, 600, 14) exited non-zero on 'DAHDI/i1/524xxxxxx-1e'
-- Executing [h@ext-group:1] Macro("DAHDI/i1/524xxxxxx-1e", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("DAHDI/i1/524xxxxxx-1e", "1?endmixmoncheck") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] NoOp("DAHDI/i1/524xxxxxx-1e", "End of MIXMON check") in new stack
-- Executing [s@macro-hangupcall:10] GotoIf("DAHDI/i1/524xxxxxx-1e", "1?nomeetmemon") in new stack
-- Goto (macro-hangupcall,s,28)
-- Executing [s@macro-hangupcall:28] NoOp("DAHDI/i1/524xxxxxx-1e", "End of MEETME check") in new stack
-- Executing [s@macro-hangupcall:29] GotoIf("DAHDI/i1/524xxxxxx-1e", "1?noautomon") in new stack
-- Goto (macro-hangupcall,s,34)
-- Executing [s@macro-hangupcall:34] NoOp("DAHDI/i1/524xxxxxx-1e", "TOUCH_MONITOR_OUTPUT=") in new stack
-- Executing [s@macro-hangupcall:35] GotoIf("DAHDI/i1/524xxxxxx-1e", "1?noautomon2") in new stack
-- Goto (macro-hangupcall,s,41)
-- Executing [s@macro-hangupcall:41] NoOp("DAHDI/i1/524xxxxxx-1e", "MONITOR_FILENAME=") in new stack
-- Executing [s@macro-hangupcall:42] GotoIf("DAHDI/i1/524xxxxxx-1e", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,45)
-- Executing [s@macro-hangupcall:45] GotoIf("DAHDI/i1/524xxxxxx-1e", "0?skipblkvm") in new stack
-- Executing [s@macro-hangupcall:46] NoOp("DAHDI/i1/524xxxxxx-1e", "Cleaning Up Block VM Flag: BLKVM/600/DAHDI/i1/524xxxxxx-1e") in new stack
-- Executing [s@macro-hangupcall:47] NoOp("DAHDI/i1/524xxxxxx-1e", "Deleting: BLKVM/600/DAHDI/i1/524xxxxxx-1e TRUE") in new stack
-- Executing [s@macro-hangupcall:48] GotoIf("DAHDI/i1/524xxxxxx-1e", "1?theend") in new stack
-- Goto (macro-hangupcall,s,50)
-- Executing [s@macro-hangupcall:50] AGI("DAHDI/i1/524xxxxxx-1e", "hangup.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi
-- <DAHDI/i1/524xxxxxx-1e>AGI Script hangup.agi completed, returning 0
-- Executing [s@macro-hangupcall:51] Hangup("DAHDI/i1/524xxxxxx-1e", "") in new stack
== Spawn extension (macro-hangupcall, s, 51) exited non-zero on 'DAHDI/i1/524xxxxxx-1e' in macro 'hangupcall'
== Spawn extension (ext-group, h, 1) exited non-zero on 'DAHDI/i1/524xxxxxx-1e'
-- Hungup 'DAHDI/i1/524xxxxxx-1e'
Voila
Règles de messages
- Vous ne pouvez pas créer de nouvelles discussions
- Vous ne pouvez pas envoyer des réponses
- Vous ne pouvez pas envoyer des pièces jointes
- Vous ne pouvez pas modifier vos messages
-
Règles du forum