Hallo Christian,
okay.. hier mal die CLI Ausgabe bei einem Anruf von intern 24 über isdn wieder rein 0:
ich tippe mal auf die DID konfiguration.. aber wundere mich, warum es mit der 2.4 freepbx funktioniert hat..
Extension Changed 24[ext-local] new state InUse for Notify User 68
Extension Changed 24[ext-local] new state InUse for Notify User 88
Extension Changed 24[ext-local] new state InUse for Notify User 23
Extension Changed 24[ext-local] new state InUse for Notify User 22
Extension Changed 24[ext-local] new state InUse for Notify User 25
-- Executing [0xxxxx780@from-internal:1] Macro("SIP/24-ac084760", "user-callerid|SKIPTTL|") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/24-ac084760", "AMPUSER=24") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/24-ac084760", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/24-ac084760", "1|Set|REALCALLERIDNUM=24") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/24-ac084760", "AMPUSER=24") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/24-ac084760", "AMPUSERCIDNAME=Dennis Imm") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/24-ac084760", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/24-ac084760", "AMPUSERCID=24") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/24-ac084760", "CALLERID(all)="Dennis Imm" <24>") in new stack
-- Executing [s@macro-user-callerid:9] Set("SIP/24-ac084760", "REALCALLERIDNUM=24") in new stack
-- Executing [s@macro-user-callerid:10] ExecIf("SIP/24-ac084760", "1|Set|CHANNEL(language)=de") in new stack
-- Executing [s@macro-user-callerid:11] GotoIf("SIP/24-ac084760", "1?continue") in new stack
-- Goto (macro-user-callerid,s,20)
-- Executing [s@macro-user-callerid:20] NoOp("SIP/24-ac084760", "Using CallerID "Dennis Imm" <24>") in new stack
-- Executing [0xxxxx780@from-internal:2] Set("SIP/24-ac084760", "_NODEST=") in new stack
-- Executing [0xxxxx780@from-internal:3] Macro("SIP/24-ac084760", "record-enable|24|OUT|") in new stack
-- Executing [s@macro-record-enable:1] MacroExit("SIP/24-ac084760", "") in new stack
-- Executing [0xxxxx780@from-internal:4] Macro("SIP/24-ac084760", "dialout-trunk|2|xxxxx780||") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/24-ac084760", "DIAL_TRUNK=2") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/24-ac084760", "0?sub-pincheck|s|1") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/24-ac084760", "0?disabletrunk|1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/24-ac084760", "DIAL_NUMBER=xxxxx780") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/24-ac084760", "DIAL_TRUNK_OPTIONS=trT") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/24-ac084760", "OUTBOUND_GROUP=OUT_2") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/24-ac084760", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/24-ac084760", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/24-ac084760", "DIAL_TRUNK_OPTIONS=tT") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/24-ac084760", "outbound-callerid|2") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/24-ac084760", "0|SetCallerPres|") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/24-ac084760", "0|Set|REALCALLERIDNUM=24") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/24-ac084760", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("SIP/24-ac084760", "USEROUTCID="Dennis Imm" <089xxxxx7824>") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/24-ac084760", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/24-ac084760", "TRUNKOUTCID="SunStop Bayern" <089xxxxx780>") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/24-ac084760", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/24-ac084760", "1|Set|CALLERID(all)=SunStop Bayern <089xxxxx780>") in new stack
-- Executing [s@macro-outbound-callerid:13] GotoIf("SIP/24-ac084760", "0?exit") in new stack
-- Executing [s@macro-outbound-callerid:14] Set("SIP/24-ac084760", "CALLERID(all)=Dennis Imm <089xxxxx7824>") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/24-ac084760", "0|SetCallerPres|prohib_passed_screen") in new stack
-- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/24-ac084760", "1|AGI|fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
== fixlocalprefix: Dialpattern 01019+Z. matched. xxxxx780 -> 01019xxxxx780
-- AGI Script fixlocalprefix completed, returning 0
-- Executing [s@macro-dialout-trunk:13] Set("SIP/24-ac084760", "OUTNUM=01019xxxxx780") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/24-ac084760", "custom=AMP") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/24-ac084760", "0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^)tT") in new stack
-- Executing [s@macro-dialout-trunk:16] Macro("SIP/24-ac084760", "dialout-trunk-predial-hook|") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/24-ac084760", "") in new stack
-- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/24-ac084760", "0?bypass|1") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/24-ac084760", "1?customtrunk") in new stack
-- Goto (macro-dialout-trunk,s,21)
-- Executing [s@macro-dialout-trunk:21] Set("SIP/24-ac084760", "pre_num=AMP:misdn/1/") in new stack
-- Executing [s@macro-dialout-trunk:22] Set("SIP/24-ac084760", "the_num=OUTNUM") in new stack
-- Executing [s@macro-dialout-trunk:23] Set("SIP/24-ac084760", "post_num=") in new stack
-- Executing [s@macro-dialout-trunk:24] GotoIf("SIP/24-ac084760", "1?outnum:skipoutnum") in new stack
-- Goto (macro-dialout-trunk,s,25)
-- Executing [s@macro-dialout-trunk:25] Set("SIP/24-ac084760", "the_num=01019xxxxx780") in new stack
-- Executing [s@macro-dialout-trunk:26] Dial("SIP/24-ac084760", "misdn/1/01019xxxxx780|300|tT") in new stack
P[ 1] channel with stid:0 for one second still in use!
P[ 0] --> * NEW CHANNEL dad:01019xxxxx780 oad
null)
P[ 1] read_config: Getting Config
P[ 1] --> TON: Unknown
P[ 1] --> LTON: Unknown
P[ 1] --> CTON: Unknown
P[ 1] * CALL: 1/01019xxxxx780
P[ 1] --> * dad:0xxxxx780 tech:mISDN/0-u49 ctx:from-trunk
P[ 1] --> * adding2newbc ext 0xxxxx780
P[ 1] --> * adding2newbc callerid 089xxxxx7824
P[ 1] --> pres: -1 screen: 1
P[ 1] NO OPTS GIVEN
P[ 1] I SEND:SETUP oad:089xxxxx7824 dad:01019xxxxx780 pid:19
P[ 1] --> channel:0 mode:TE cause:16 ocause:16 rad: cad:
P[ 1] --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
P[ 1] --> caps:Speech pi:0 keypad: sending_complete:0
P[ 1] --> found chan: 1
P[ 1] --> found channel: 1
P[ 1] --> new_l3id 50009
P[ 1] --> * SEND: State Dialing pid:19
-- Called 1/01019xxxxx780
P[ 1] set_channel: bc->channel:1 channel:1
P[ 1] I IND :NEW_CHANNEL oad:089xxxxx7824 dad:01019xxxxx780 pid:19 state:CALLING
P[ 1] --> channel:1 mode:TE cause:16 ocause:16 rad: cad:
P[ 1] --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
P[ 1] --> caps:Speech pi:0 keypad: sending_complete:0
P[ 1] --> updating channel name to [mISDN/1-u50]
P[ 1] --> TRANSPARENT Mode
P[ 1] I IND :SETUP_ACKNOWLEDGE oad:089xxxxx7824 dad:01019xxxxx780 pid:19 state:CALLING
P[ 1] --> channel:1 mode:TE cause:16 ocause:16 rad: cad:
P[ 1] --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
P[ 1] --> caps:Speech pi:0 keypad: sending_complete:0
P[ 1] --> updating channel name to [mISDN/1-u51]
P[ 1] BCHAN: bchan ACT Confirm pid:19
P[ 1] channel with stid:0 for one second still in use!
P[ 1] set_channel: bc->channel:0 channel:2
P[ 1] I IND :NEW_CHANNEL oad:89xxxxx7824 dad:xxxxx780 pid:20 state:none
P[ 1] --> channel:2 mode:TE cause:16 ocause:16 rad: cad:
P[ 1] --> info_dad: onumplan:2 dnumplan:4 rnumplan: cpnnumplan:0
P[ 1] --> caps:Speech pi:0 keypad: sending_complete:0
P[ 1] Chan not existing at the moment bc->l3id:20352 bc:0x2aaaac04b490 event:NEW_CHANNEL port:1 channel:2
P[ 1] NO USERUESRINFO
P[ 1] --> found chan (preselected): 2
P[ 1] --> TRANSPARENT Mode
P[ 1] I IND :SETUP oad:89xxxxx7824 dad:xxxxx780 pid:20 state:none
P[ 1] --> channel:2 mode:TE cause:16 ocause:16 rad: cad:
P[ 1] --> info_dad: onumplan:2 dnumplan:4 rnumplan: cpnnumplan:0
P[ 1] --> caps:Speech pi:0 keypad: sending_complete:0
P[ 1] --> Bearer: Speech
P[ 1] --> Codec: Alaw
P[ 1] --> Bearer: Speech
P[ 1] --> Codec: Alaw
P[ 0] --> * NEW CHANNEL dad:xxxxx780 oad:89xxxxx7824
P[ 1] read_config: Getting Config
P[ 1] --> CTON: Unknown
P[ 1] --> EXPORT_PID: pid:20
P[ 1] --> PRES: Restricted (0)
P[ 1] --> SCREEN: Unscreened (0)
P[ 1] I SEND
ROCEEDING oad:0089xxxxx7824 dad:xxxxx780 pid:20
P[ 1] --> channel:2 mode:TE cause:16 ocause:16 rad: cad:
P[ 1] --> info_dad: onumplan:2 dnumplan:4 rnumplan: cpnnumplan:0
P[ 1] --> caps:Speech pi:0 keypad: sending_complete:0
P[ 1] BCHAN: bchan ACT Confirm pid:20
-- Executing [xxxxx780@from-trunk:1] Goto("mISDN/2-u52", "handleMain") in new stack
== Spawn extension (from-trunk, xxxxx780, 1) exited non-zero on 'mISDN/2-u52'
-- Executing [h@from-trunk:1] NoOp("mISDN/2-u52", "Catch-All DID Match - Found h - You probably want a DID for this.") in new stack
-- Executing [h@from-trunk:2] Goto("mISDN/2-u52", "ext-did|s|1") in new stack
-- Goto (ext-did,s,1)
-- Executing [s@ext-did:1] Set("mISDN/2-u52", "__FROM_DID=s") in new stack
-- Executing [s@ext-did:2] Gosub("mISDN/2-u52", "app-blacklist-check|s|1") in new stack
-- Executing [s@app-blacklist-check:1] LookupBlacklist("mISDN/2-u52", "") in new stack
-- Executing [s@app-blacklist-check:2] GotoIf("mISDN/2-u52", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:3] Return("mISDN/2-u52", "") in new stack
-- Executing [s@ext-did:3] ExecIf("mISDN/2-u52", "1 |Set|CALLERID(name)=0089xxxxx7824") in new stack
-- Executing [s@ext-did:4] Ringing("mISDN/2-u52", "") in new stack
-- Executing [s@ext-did:5] Set("mISDN/2-u52", "FAX_RX=disabled") in new stack
-- Executing [s@ext-did:6] Set("mISDN/2-u52", "__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [s@ext-did:7] SetCallerPres("mISDN/2-u52", "allowed_not_screened") in new stack
-- Executing [s@ext-did:8] Goto("mISDN/2-u52", "from-did-direct|24|1") in new stack
-- Goto (from-did-direct,24,1)
-- Executing [24@from-did-direct:1] Macro("mISDN/2-u52", "exten-vm|24|24") in new stack
-- Executing [s@macro-exten-vm:1] Macro("mISDN/2-u52", "user-callerid") in new stack
-- Executing [s@macro-user-callerid:1] Set("mISDN/2-u52", "AMPUSER=0089xxxxx7824") in new stack
-- Executing [24@from-did-direct:2] Goto("mISDN/2-u52", "vmret|1") in new stack
-- Goto (from-did-direct,vmret,1)
-- Executing [vmret@from-did-direct:1] GotoIf("mISDN/2-u52", "0?playret") in new stack
-- Executing [vmret@from-did-direct:2] Hangup("mISDN/2-u52", "") in new stack
== Spawn extension (from-did-direct, vmret, 2) exited non-zero on 'mISDN/2-u52'
P[ 1] * IND : HANGUP pid:20 ctx:from-did-direct dad:vmret oad:0089xxxxx7824 State
IALING
P[ 1] --> l3id:20352
P[ 1] --> cause:16
P[ 1] --> out_cause:16
P[ 1] --> state
IALING
P[ 1] I SEND
ISCONNECT oad:0089xxxxx7824 dad:xxxxx780 pid:20
P[ 1] --> channel:2 mode:TE cause:16 ocause:16 rad: cad:
P[ 1] --> info_dad: onumplan:2 dnumplan:4 rnumplan: cpnnumplan:0
P[ 1] --> caps:Speech pi:0 keypad: sending_complete:0
P[ 1] --> Channel: mISDN/2-u52 hanguped new state:CLEANING
P[ 1] I IND :RELEASE oad:0089xxxxx7824 dad:xxxxx780 pid:20 state:CLEANING
P[ 1] --> channel:2 mode:TE cause:16 ocause:16 rad: cad:
P[ 1] --> info_dad: onumplan:2 dnumplan:4 rnumplan: cpnnumplan:0
P[ 1] --> caps:Speech pi:0 keypad: sending_complete:0
P[ 1] ast_hangup already called, so we have no ast ptr anymore in event(RELEASE)
P[ 1] --> No need to queue hangup
P[ 1] Cannot hangup chan, no ast
P[ 1] $$$ CLEANUP CALLED pid:20
P[ 1] $$$ Cleaning up bc with stid :10020100 pid:20
P[ 1] Sending Control ECHOCAN_OFF
P[ 1] BCHAN: MGR_DELLAYER|CNF pid:20
P[ 1] set_channel: bc->channel:1 channel:-1
P[ 1] I IND
ROCEEDING oad:089xxxxx7824 dad:01019xxxxx780 pid:19 state:CALLING_ACKNOWLEDGE
P[ 1] --> channel:1 mode:TE cause:16 ocause:16 rad: cad:
P[ 1] --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
P[ 1] --> caps:Speech pi:0 keypad: sending_complete:0
P[ 1] --> updating channel name to [mISDN/1-u53]
-- mISDN/1-u53 is proceeding passing it to SIP/24-ac084760
P[ 1] I IND
ISCONNECT oad:089xxxxx7824 dad:01019xxxxx780 pid:19 state
ROCEEDING
P[ 1] --> channel:1 mode:TE cause:16 ocause:16 rad: cad:
P[ 1] --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
P[ 1] --> caps:Speech pi:8 keypad: sending_complete:0
P[ 1] --> org:1 nt:0, inbandavail:1 state:6
P[ 1] --> Inband Info Avail, not sending RELEASE
Extension Changed 24[ext-local] new state Idle for Notify User 68
Extension Changed 24[ext-local] new state Idle for Notify User 88
Extension Changed 24[ext-local] new state Idle for Notify User 23
Extension Changed 24[ext-local] new state Idle for Notify User 22
Extension Changed 24[ext-local] new state Idle for Notify User 25
P[ 1] * IND : HANGUP pid:19 ctx:from-trunk dad:01019xxxxx780 oad:0xxxxx780 State
ISCONNECTED
P[ 1] --> l3id:50009
P[ 1] --> cause:16
P[ 1] --> out_cause:16
P[ 1] --> state
ISCONNECTED
P[ 1] I SEND:RELEASE oad:089xxxxx7824 dad:01019xxxxx780 pid:19
P[ 1] --> channel:1 mode:TE cause:16 ocause:16 rad: cad:
P[ 1] --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
P[ 1] --> caps:Speech pi:8 keypad: sending_complete:0
P[ 1] --> Channel: mISDN/1-u53 hanguped new state:CLEANING
== Spawn extension (macro-dialout-trunk, s, 26) exited non-zero on 'SIP/24-ac084760' in macro 'dialout-trunk'
== Spawn extension (macro-dialout-trunk, s, 26) exited non-zero on 'SIP/24-ac084760'
-- Executing [h@macro-dialout-trunk:1] Macro("SIP/24-ac084760", "hangupcall|") in new stack
-- Executing [s@macro-hangupcall:1] ResetCDR("SIP/24-ac084760", "w") in new stack
-- Executing [s@macro-hangupcall:2] NoCDR("SIP/24-ac084760", "") in new stack
-- Executing [s@macro-hangupcall:3] GotoIf("SIP/24-ac084760", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,6)
-- Executing [s@macro-hangupcall:6] GotoIf("SIP/24-ac084760", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] GotoIf("SIP/24-ac084760", "1?theend") in new stack
-- Goto (macro-hangupcall,s,11)
-- Executing [s@macro-hangupcall:11] Hangup("SIP/24-ac084760", "") in new stack
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/24-ac084760' in macro 'hangupcall'
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/24-ac084760'
P[ 1] I IND :RELEASE_COMPLETE oad:089xxxxx7824 dad:01019xxxxx780 pid:19 state:CLEANING
P[ 1] --> channel:1 mode:TE cause:16 ocause:16 rad: cad:
P[ 1] --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
P[ 1] --> caps:Speech pi:8 keypad: sending_complete:0
P[ 1] ast_hangup already called, so we have no ast ptr anymore in event(RELEASE_COMPLETE)
P[ 1] --> No need to queue hangup
P[ 1] Cannot hangup chan, no ast
P[ 1] $$$ CLEANUP CALLED pid:19
P[ 1] $$$ Cleaning up bc with stid :10010100 pid:19
P[ 1] Sending Control ECHOCAN_OFF
P[ 1] $$$ CLEANUP CALLED pid:19
P[ 1] BCHAN: MGR_DELLAYER|CNF pid:19
asterisk*CLI>