Asterisk outgoing fax and data connections ok, incoming not

Hi there,

this may be the completely wrong place to post this specific question, but maybe there’s some Asterisk professionals out there that could give a quick hint on my problem.

My setup is as follows:

  • Elastix 2.0.3 64-bit
  • OpenVox B800P controller
  • Connected to three BRI-interfaces in Germany
  • two ports are configured in NT mode for internal, a server with AVM!Fritz ISDN pci card is connected, providing a fax server

We used to have some Siemens Hicom E-300 in use, the fax server would work behind that system without problems for years. Now that we are in the process to implement Asterisk, we encountered problems.
Fax as well as data connections are involved. We are able to send faxes and establish data connections to the outside world without any trouble.

Receiving Faxes is causing troubles. The incoming call is signaled to the fax and data software, but it won’t be picked up. We do not have any “accept only a specific CID”-policy in effect.

Here comes a log excerpt of an outbound connection, which is working to our satisfaction:

[Jul 24 22:35:15] VERBOSE[11782] chan_dahdi.c: -- Accepting overlap call from '1234540' to '054321' on channel 0/2, span 2 [Jul 24 22:35:15] VERBOSE[11823] chan_dahdi.c: -- Starting simple switch on 'DAHDI/5-1' [Jul 24 22:35:16] WARNING[11788] chan_dahdi.c: No D-channels available! Using Primary channel 24 as D-channel anyway! [Jul 24 22:35:19] VERBOSE[11823] pbx.c: -- Executing [054321@from-internal:1] Macro("DAHDI/5-1", "user-callerid,SKIPTTL,") in new stack [Jul 24 22:35:19] VERBOSE[11823] pbx.c: -- Executing [s@macro-user-callerid:1] Set("DAHDI/5-1", "AMPUSER=1234540") in new stack [Jul 24 22:35:19] VERBOSE[11823] pbx.c: -- Executing [s@macro-user-callerid:2] GotoIf("DAHDI/5-1", "0?report") in new stack [Jul 24 22:35:19] VERBOSE[11823] pbx.c: -- Executing [s@macro-user-callerid:3] ExecIf("DAHDI/5-1", "1?Set(REALCALLERIDNUM=1234540)") in new stack [Jul 24 22:35:19] VERBOSE[11823] pbx.c: -- Executing [s@macro-user-callerid:4] Set("DAHDI/5-1", "AMPUSER=1234540") in new stack [Jul 24 22:35:19] VERBOSE[11823] pbx.c: -- Executing [s@macro-user-callerid:5] Set("DAHDI/5-1", "AMPUSERCIDNAME=S0") in new stack [Jul 24 22:35:19] VERBOSE[11823] pbx.c: -- Executing [s@macro-user-callerid:6] GotoIf("DAHDI/5-1", "0?report") in new stack [Jul 24 22:35:19] VERBOSE[11823] pbx.c: -- Executing [s@macro-user-callerid:7] Set("DAHDI/5-1", "AMPUSERCID=40") in new stack [Jul 24 22:35:19] VERBOSE[11823] pbx.c: -- Executing [s@macro-user-callerid:8] Set("DAHDI/5-1", "CALLERID(all)="S0" <40>") in new stack [Jul 24 22:35:19] VERBOSE[11823] pbx.c: -- Executing [s@macro-user-callerid:9] ExecIf("DAHDI/5-1", "0?Set(CHANNEL(language)=)") in new stack [Jul 24 22:35:19] VERBOSE[11823] pbx.c: -- Executing [s@macro-user-callerid:10] GotoIf("DAHDI/5-1", "1?continue") in new stack [Jul 24 22:35:19] VERBOSE[11823] pbx.c: -- Goto (macro-user-callerid,s,19) [Jul 24 22:35:19] VERBOSE[11823] pbx.c: -- Executing [s@macro-user-callerid:19] NoOp("DAHDI/5-1", "Using CallerID "S0" <40>") in new stack [Jul 24 22:35:19] WARNING[11823] pbx.c: Can't find trailing parenthesis for function 'LEN(70711234540'? [Jul 24 22:35:19] WARNING[11823] pbx.c: Can't find trailing parenthesis for function 'LEN('? [Jul 24 22:35:19] VERBOSE[11823] pbx.c: -- Executing [054321@from-internal:2] ExecIf("DAHDI/5-1", "0?Set(TRUNKCIDOVERRIDE=70711234550)") in new stack [Jul 24 22:35:19] VERBOSE[11823] pbx.c: -- Executing [054321@from-internal:3] Set("DAHDI/5-1", "_NODEST=") in new stack [Jul 24 22:35:19] VERBOSE[11823] pbx.c: -- Executing [054321@from-internal:4] Macro("DAHDI/5-1", "record-enable,1234540,OUT,") in new stack [Jul 24 22:35:19] VERBOSE[11823] pbx.c: -- Executing [s@macro-record-enable:1] GotoIf("DAHDI/5-1", "1?check") in new stack [Jul 24 22:35:19] VERBOSE[11823] pbx.c: -- Goto (macro-record-enable,s,4) [Jul 24 22:35:19] VERBOSE[11823] pbx.c: -- Executing [s@macro-record-enable:4] ExecIf("DAHDI/5-1", "0?MacroExit()") in new stack [Jul 24 22:35:19] VERBOSE[11823] pbx.c: -- Executing [s@macro-record-enable:5] GotoIf("DAHDI/5-1", "0?Group:OUT") in new stack [Jul 24 22:35:19] VERBOSE[11823] pbx.c: -- Goto (macro-record-enable,s,15) [Jul 24 22:35:19] VERBOSE[11823] pbx.c: -- Executing [s@macro-record-enable:15] GotoIf("DAHDI/5-1", "0?IN") in new stack [Jul 24 22:35:19] VERBOSE[11823] pbx.c: -- Executing [s@macro-record-enable:16] ExecIf("DAHDI/5-1", "1?MacroExit()") in new stack [Jul 24 22:35:19] VERBOSE[11823] pbx.c: -- Executing [054321@from-internal:5] Macro("DAHDI/5-1", "dialout-trunk,1,54321,,") in new stack [Jul 24 22:35:19] VERBOSE[11823] pbx.c: -- Executing [s@macro-dialout-trunk:1] Set("DAHDI/5-1", "DIAL_TRUNK=1") in new stack [Jul 24 22:35:19] VERBOSE[11823] pbx.c: -- Executing [s@macro-dialout-trunk:2] GosubIf("DAHDI/5-1", "0?sub-pincheck,s,1") in new stack [Jul 24 22:35:19] VERBOSE[11823] pbx.c: -- Executing [s@macro-dialout-trunk:3] GotoIf("DAHDI/5-1", "0?disabletrunk,1") in new stack [Jul 24 22:35:19] VERBOSE[11823] pbx.c: -- Executing [s@macro-dialout-trunk:4] Set("DAHDI/5-1", "DIAL_NUMBER=54321") in new stack [Jul 24 22:35:19] VERBOSE[11823] pbx.c: -- Executing [s@macro-dialout-trunk:5] Set("DAHDI/5-1", "DIAL_TRUNK_OPTIONS=tr") in new stack [Jul 24 22:35:19] VERBOSE[11823] pbx.c: -- Executing [s@macro-dialout-trunk:6] Set("DAHDI/5-1", "OUTBOUND_GROUP=OUT_1") in new stack [Jul 24 22:35:19] VERBOSE[11823] pbx.c: -- Executing [s@macro-dialout-trunk:7] GotoIf("DAHDI/5-1", "1?nomax") in new stack [Jul 24 22:35:19] VERBOSE[11823] pbx.c: -- Goto (macro-dialout-trunk,s,9) [Jul 24 22:35:19] VERBOSE[11823] pbx.c: -- Executing [s@macro-dialout-trunk:9] GotoIf("DAHDI/5-1", "0?skipoutcid") in new stack [Jul 24 22:35:19] VERBOSE[11823] pbx.c: -- Executing [s@macro-dialout-trunk:10] Set("DAHDI/5-1", "DIAL_TRUNK_OPTIONS=") in new stack [Jul 24 22:35:19] VERBOSE[11823] pbx.c: -- Executing [s@macro-dialout-trunk:11] Macro("DAHDI/5-1", "outbound-callerid,1") in new stack [Jul 24 22:35:19] VERBOSE[11823] pbx.c: -- Executing [s@macro-outbound-callerid:1] ExecIf("DAHDI/5-1", "0?Set(CALLERPRES()=)") in new stack [Jul 24 22:35:19] VERBOSE[11823] pbx.c: -- Executing [s@macro-outbound-callerid:2] ExecIf("DAHDI/5-1", "0?Set(REALCALLERIDNUM=40)") in new stack [Jul 24 22:35:19] VERBOSE[11823] pbx.c: -- Executing [s@macro-outbound-callerid:3] GotoIf("DAHDI/5-1", "1?normcid") in new stack [Jul 24 22:35:19] VERBOSE[11823] pbx.c: -- Goto (macro-outbound-callerid,s,6) [Jul 24 22:35:19] VERBOSE[11823] pbx.c: -- Executing [s@macro-outbound-callerid:6] Set("DAHDI/5-1", "USEROUTCID=70711234540") in new stack [Jul 24 22:35:19] VERBOSE[11823] pbx.c: -- Executing [s@macro-outbound-callerid:7] Set("DAHDI/5-1", "EMERGENCYCID=") in new stack [Jul 24 22:35:19] VERBOSE[11823] pbx.c: -- Executing [s@macro-outbound-callerid:8] Set("DAHDI/5-1", "TRUNKOUTCID=") in new stack [Jul 24 22:35:19] VERBOSE[11823] pbx.c: -- Executing [s@macro-outbound-callerid:9] GotoIf("DAHDI/5-1", "1?trunkcid") in new stack [Jul 24 22:35:19] VERBOSE[11823] pbx.c: -- Goto (macro-outbound-callerid,s,12) [Jul 24 22:35:19] VERBOSE[11823] pbx.c: -- Executing [s@macro-outbound-callerid:12] ExecIf("DAHDI/5-1", "0?Set(CALLERID(all)=)") in new stack [Jul 24 22:35:19] VERBOSE[11823] pbx.c: -- Executing [s@macro-outbound-callerid:13] ExecIf("DAHDI/5-1", "1?Set(CALLERID(all)=70711234540)") in new stack [Jul 24 22:35:19] VERBOSE[11823] pbx.c: -- Executing [s@macro-outbound-callerid:14] ExecIf("DAHDI/5-1", "0?Set(CALLERID(all)=)") in new stack [Jul 24 22:35:19] VERBOSE[11823] pbx.c: -- Executing [s@macro-outbound-callerid:15] ExecIf("DAHDI/5-1", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack [Jul 24 22:35:19] VERBOSE[11823] pbx.c: -- Executing [s@macro-dialout-trunk:12] ExecIf("DAHDI/5-1", "0?AGI(fixlocalprefix)") in new stack [Jul 24 22:35:19] VERBOSE[11823] pbx.c: -- Executing [s@macro-dialout-trunk:13] Set("DAHDI/5-1", "OUTNUM=54321") in new stack [Jul 24 22:35:19] VERBOSE[11823] pbx.c: -- Executing [s@macro-dialout-trunk:14] Set("DAHDI/5-1", "custom=DAHDI/g0") in new stack [Jul 24 22:35:19] VERBOSE[11823] pbx.c: -- Executing [s@macro-dialout-trunk:15] ExecIf("DAHDI/5-1", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^))") in new stack [Jul 24 22:35:19] VERBOSE[11823] pbx.c: -- Executing [s@macro-dialout-trunk:16] Macro("DAHDI/5-1", "dialout-trunk-predial-hook,") in new stack [Jul 24 22:35:19] VERBOSE[11823] pbx.c: -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("DAHDI/5-1", "") in new stack [Jul 24 22:35:19] VERBOSE[11823] pbx.c: -- Executing [s@macro-dialout-trunk:17] GotoIf("DAHDI/5-1", "0?bypass,1") in new stack [Jul 24 22:35:19] VERBOSE[11823] pbx.c: -- Executing [s@macro-dialout-trunk:18] GotoIf("DAHDI/5-1", "0?customtrunk") in new stack [Jul 24 22:35:19] VERBOSE[11823] pbx.c: -- Executing [s@macro-dialout-trunk:19] Dial("DAHDI/5-1", "DAHDI/g0/54321,300,") in new stack [Jul 24 22:35:19] VERBOSE[11823] chan_dahdi.c: -- Requested transfer capability: 0x08 - DIGITAL [Jul 24 22:35:19] VERBOSE[11823] app_dial.c: -- Called g0/54321 [Jul 24 22:35:19] VERBOSE[11823] app_dial.c: -- DAHDI/14-1 is proceeding passing it to DAHDI/5-1 [Jul 24 22:35:19] VERBOSE[11823] app_dial.c: -- DAHDI/14-1 is ringing [Jul 24 22:35:19] VERBOSE[11823] app_dial.c: -- DAHDI/14-1 answered DAHDI/5-1 [Jul 24 22:35:19] VERBOSE[11823] chan_dahdi.c: -- Native bridging DAHDI/5-1 and DAHDI/14-1 [Jul 24 22:37:47] VERBOSE[11782] chan_dahdi.c: -- Channel 0/2, span 2 got hangup request, cause 16 [Jul 24 22:37:47] VERBOSE[11823] pbx.c: -- Executing [h@macro-dialout-trunk:1] Macro("DAHDI/5-1", "hangupcall,") in new stack [Jul 24 22:37:47] VERBOSE[11823] pbx.c: -- Executing [s@macro-hangupcall:1] GotoIf("DAHDI/5-1", "1?noautomon") in new stack [Jul 24 22:37:47] VERBOSE[11823] pbx.c: -- Goto (macro-hangupcall,s,3) [Jul 24 22:37:47] VERBOSE[11823] pbx.c: -- Executing [s@macro-hangupcall:3] NoOp("DAHDI/5-1", "TOUCH_MONITOR_OUTPUT=") in new stack [Jul 24 22:37:47] VERBOSE[11823] pbx.c: -- Executing [s@macro-hangupcall:4] GotoIf("DAHDI/5-1", "1?skiprg") in new stack [Jul 24 22:37:47] VERBOSE[11823] pbx.c: -- Goto (macro-hangupcall,s,7) [Jul 24 22:37:47] VERBOSE[11823] pbx.c: -- Executing [s@macro-hangupcall:7] GotoIf("DAHDI/5-1", "1?skipblkvm") in new stack [Jul 24 22:37:47] VERBOSE[11823] pbx.c: -- Goto (macro-hangupcall,s,10) [Jul 24 22:37:47] VERBOSE[11823] pbx.c: -- Executing [s@macro-hangupcall:10] GotoIf("DAHDI/5-1", "1?theend") in new stack [Jul 24 22:37:47] VERBOSE[11823] pbx.c: -- Goto (macro-hangupcall,s,12) [Jul 24 22:37:47] VERBOSE[11823] pbx.c: -- Executing [s@macro-hangupcall:12] Hangup("DAHDI/5-1", "") in new stack [Jul 24 22:37:47] VERBOSE[11823] app_macro.c: == Spawn extension (macro-hangupcall, s, 12) exited non-zero on 'DAHDI/5-1' in macro 'hangupcall' [Jul 24 22:37:47] VERBOSE[11823] chan_dahdi.c: -- Hungup 'DAHDI/14-1' [Jul 24 22:37:47] VERBOSE[11823] app_macro.c: == Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'DAHDI/5-1' in macro 'dialout-trunk' [Jul 24 22:37:47] VERBOSE[11823] pbx.c: == Spawn extension (from-internal, 054321, 5) exited non-zero on 'DAHDI/5-1' [Jul 24 22:37:47] VERBOSE[11823] chan_dahdi.c: -- Hungup 'DAHDI/5-1'

When it comes receiving faxes or data connection, it will not work out, as I stated above. Here is the logfile excerp of some receiving attempt:

[Jul 24 22:38:42] VERBOSE[11786] chan_dahdi.c: -- Accepting overlap call from '00707154321' to '1234540' on channel 0/1, span 6 [Jul 24 22:38:42] VERBOSE[11824] chan_dahdi.c: -- Starting simple switch on 'DAHDI/16-1' [Jul 24 22:38:44] WARNING[11788] chan_dahdi.c: No D-channels available! Using Primary channel 24 as D-channel anyway! [Jul 24 22:38:45] VERBOSE[11824] pbx.c: -- Executing [1234540@from-pstn:1] Macro("DAHDI/16-1", "exten-vm,novm,1234540") in new stack [Jul 24 22:38:45] VERBOSE[11824] pbx.c: -- Executing [s@macro-exten-vm:1] Macro("DAHDI/16-1", "user-callerid,") in new stack [Jul 24 22:38:45] VERBOSE[11824] pbx.c: -- Executing [s@macro-user-callerid:1] Set("DAHDI/16-1", "AMPUSER=00707154321") in new stack [Jul 24 22:38:45] VERBOSE[11824] pbx.c: -- Executing [s@macro-user-callerid:2] GotoIf("DAHDI/16-1", "0?report") in new stack [Jul 24 22:38:45] VERBOSE[11824] pbx.c: -- Executing [s@macro-user-callerid:3] ExecIf("DAHDI/16-1", "1?Set(REALCALLERIDNUM=00707154321)") in new stack [Jul 24 22:38:45] VERBOSE[11824] pbx.c: -- Executing [s@macro-user-callerid:4] Set("DAHDI/16-1", "AMPUSER=") in new stack [Jul 24 22:38:45] VERBOSE[11824] pbx.c: -- Executing [s@macro-user-callerid:5] Set("DAHDI/16-1", "AMPUSERCIDNAME=") in new stack [Jul 24 22:38:45] VERBOSE[11824] pbx.c: -- Executing [s@macro-user-callerid:6] GotoIf("DAHDI/16-1", "1?report") in new stack [Jul 24 22:38:45] VERBOSE[11824] pbx.c: -- Goto (macro-user-callerid,s,10) [Jul 24 22:38:45] VERBOSE[11824] pbx.c: -- Executing [s@macro-user-callerid:10] GotoIf("DAHDI/16-1", "0?continue") in new stack [Jul 24 22:38:45] VERBOSE[11824] pbx.c: -- Executing [s@macro-user-callerid:11] Set("DAHDI/16-1", "__TTL=64") in new stack [Jul 24 22:38:45] VERBOSE[11824] pbx.c: -- Executing [s@macro-user-callerid:12] GotoIf("DAHDI/16-1", "1?continue") in new stack [Jul 24 22:38:45] VERBOSE[11824] pbx.c: -- Goto (macro-user-callerid,s,19) [Jul 24 22:38:45] VERBOSE[11824] pbx.c: -- Executing [s@macro-user-callerid:19] NoOp("DAHDI/16-1", "Using CallerID "" <00707154321>") in new stack [Jul 24 22:38:45] VERBOSE[11824] pbx.c: -- Executing [s@macro-exten-vm:2] Set("DAHDI/16-1", "RingGroupMethod=none") in new stack [Jul 24 22:38:45] VERBOSE[11824] pbx.c: -- Executing [s@macro-exten-vm:3] Set("DAHDI/16-1", "VMBOX=novm") in new stack [Jul 24 22:38:45] VERBOSE[11824] pbx.c: -- Executing [s@macro-exten-vm:4] Set("DAHDI/16-1", "EXTTOCALL=1234540") in new stack [Jul 24 22:38:45] VERBOSE[11824] pbx.c: -- Executing [s@macro-exten-vm:5] Set("DAHDI/16-1", "CFUEXT=") in new stack [Jul 24 22:38:45] VERBOSE[11824] pbx.c: -- Executing [s@macro-exten-vm:6] Set("DAHDI/16-1", "CFBEXT=") in new stack [Jul 24 22:38:45] VERBOSE[11824] pbx.c: -- Executing [s@macro-exten-vm:7] Set("DAHDI/16-1", "RT=""") in new stack [Jul 24 22:38:45] VERBOSE[11824] pbx.c: -- Executing [s@macro-exten-vm:8] Macro("DAHDI/16-1", "record-enable,1234540,IN") in new stack [Jul 24 22:38:45] VERBOSE[11824] pbx.c: -- Executing [s@macro-record-enable:1] GotoIf("DAHDI/16-1", "1?check") in new stack [Jul 24 22:38:45] VERBOSE[11824] pbx.c: -- Goto (macro-record-enable,s,4) [Jul 24 22:38:45] VERBOSE[11824] pbx.c: -- Executing [s@macro-record-enable:4] ExecIf("DAHDI/16-1", "0?MacroExit()") in new stack [Jul 24 22:38:45] VERBOSE[11824] pbx.c: -- Executing [s@macro-record-enable:5] GotoIf("DAHDI/16-1", "0?Group:OUT") in new stack [Jul 24 22:38:45] VERBOSE[11824] pbx.c: -- Goto (macro-record-enable,s,15) [Jul 24 22:38:45] VERBOSE[11824] pbx.c: -- Executing [s@macro-record-enable:15] GotoIf("DAHDI/16-1", "1?IN") in new stack [Jul 24 22:38:45] VERBOSE[11824] pbx.c: -- Goto (macro-record-enable,s,20) [Jul 24 22:38:45] VERBOSE[11824] pbx.c: -- Executing [s@macro-record-enable:20] ExecIf("DAHDI/16-1", "1?MacroExit()") in new stack [Jul 24 22:38:45] VERBOSE[11824] pbx.c: -- Executing [s@macro-exten-vm:9] Macro("DAHDI/16-1", "dial,,tr,1234540") in new stack [Jul 24 22:38:45] VERBOSE[11824] pbx.c: -- Executing [s@macro-dial:1] GotoIf("DAHDI/16-1", "1?dial") in new stack [Jul 24 22:38:45] VERBOSE[11824] pbx.c: -- Goto (macro-dial,s,3) [Jul 24 22:38:45] VERBOSE[11824] pbx.c: -- Executing [s@macro-dial:3] AGI("DAHDI/16-1", "dialparties.agi") in new stack [Jul 24 22:38:45] VERBOSE[11824] res_agi.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi [Jul 24 22:38:45] VERBOSE[11824] res_agi.c: dialparties.agi: Starting New Dialparties.agi [Jul 24 22:38:45] VERBOSE[11824] res_agi.c: dialparties.agi: Caller ID name is 'unknown' number is '00707154321' [Jul 24 22:38:45] VERBOSE[11824] res_agi.c: > dialparties.agi: USE_CONFIRMATION: 'FALSE' [Jul 24 22:38:45] VERBOSE[11824] res_agi.c: > dialparties.agi: RINGGROUP_INDEX: '' [Jul 24 22:38:45] VERBOSE[11824] res_agi.c: dialparties.agi: Methodology of ring is 'none' [Jul 24 22:38:45] VERBOSE[11824] res_agi.c: -- dialparties.agi: Added extension 1234540 to extension map [Jul 24 22:38:45] VERBOSE[11824] res_agi.c: -- dialparties.agi: Extension 1234540 cf is disabled [Jul 24 22:38:45] VERBOSE[11824] res_agi.c: -- dialparties.agi: Extension 1234540 do not disturb is disabled [Jul 24 22:38:45] VERBOSE[11824] res_agi.c: > dialparties.agi: extnum 1234540 has: cw: 0; hascfb: 0 [] hascfu: 0 [] [Jul 24 22:38:45] VERBOSE[11824] res_agi.c: dialparties.agi: EXTENSION_STATE: 0 (NOT_INUSE) [Jul 24 22:38:45] VERBOSE[11824] res_agi.c: dialparties.agi: Extension 1234540 has ExtensionState: 0 [Jul 24 22:38:45] VERBOSE[11824] res_agi.c: -- dialparties.agi: Checking CW and CFB status for extension 1234540 [Jul 24 22:38:45] VERBOSE[11824] res_agi.c: -- dialparties.agi: dbset CALLTRACE/1234540 to 00707154321 [Jul 24 22:38:45] VERBOSE[11824] res_agi.c: -- dialparties.agi: Filtered ARG3: 1234540 [Jul 24 22:38:45] VERBOSE[11824] res_agi.c: -- <DAHDI/16-1>AGI Script dialparties.agi completed, returning 0 [Jul 24 22:38:45] VERBOSE[11824] pbx.c: -- Executing [s@macro-dial:7] Dial("DAHDI/16-1", "DAHDI/DAHDI/g2,,tr") in new stack [Jul 24 22:38:45] WARNING[11824] chan_dahdi.c: Unable to determine channel for data DAHDI/g2 [Jul 24 22:38:45] WARNING[11824] app_dial.c: Unable to create channel of type 'DAHDI' (cause 0 - Unknown) [Jul 24 22:38:45] VERBOSE[11824] app_dial.c: == Everyone is busy/congested at this time (1:0/0/1) [Jul 24 22:38:45] VERBOSE[11824] pbx.c: -- Executing [s@macro-dial:8] Set("DAHDI/16-1", "DIALSTATUS=CHANUNAVAIL") in new stack [Jul 24 22:38:45] VERBOSE[11824] pbx.c: -- Executing [s@macro-dial:9] GosubIf("DAHDI/16-1", "0?CHANUNAVAIL,1") in new stack [Jul 24 22:38:45] VERBOSE[11824] pbx.c: -- Executing [s@macro-exten-vm:10] GotoIf("DAHDI/16-1", "0?exit,return") in new stack [Jul 24 22:38:45] VERBOSE[11824] pbx.c: -- Executing [s@macro-exten-vm:11] Set("DAHDI/16-1", "SV_DIALSTATUS=CHANUNAVAIL") in new stack [Jul 24 22:38:45] VERBOSE[11824] pbx.c: -- Executing [s@macro-exten-vm:12] GosubIf("DAHDI/16-1", "0?docfu,1") in new stack [Jul 24 22:38:45] VERBOSE[11824] pbx.c: -- Executing [s@macro-exten-vm:13] GosubIf("DAHDI/16-1", "0?docfb,1") in new stack [Jul 24 22:38:45] VERBOSE[11824] pbx.c: -- Executing [s@macro-exten-vm:14] Set("DAHDI/16-1", "DIALSTATUS=CHANUNAVAIL") in new stack [Jul 24 22:38:45] VERBOSE[11824] pbx.c: -- Executing [s@macro-exten-vm:15] NoOp("DAHDI/16-1", "Voicemail is 'novm'") in new stack [Jul 24 22:38:45] VERBOSE[11824] pbx.c: -- Executing [s@macro-exten-vm:16] GotoIf("DAHDI/16-1", "1?s-CHANUNAVAIL,1") in new stack [Jul 24 22:38:45] VERBOSE[11824] pbx.c: -- Goto (macro-exten-vm,s-CHANUNAVAIL,1) [Jul 24 22:38:45] VERBOSE[11824] pbx.c: -- Executing [s-CHANUNAVAIL@macro-exten-vm:1] NoOp("DAHDI/16-1", "IVR_RETVM: IVR_CONTEXT: ") in new stack [Jul 24 22:38:45] VERBOSE[11824] pbx.c: -- Executing [s-CHANUNAVAIL@macro-exten-vm:2] GotoIf("DAHDI/16-1", "0?exit,1") in new stack [Jul 24 22:38:45] VERBOSE[11824] pbx.c: -- Executing [s-CHANUNAVAIL@macro-exten-vm:3] PlayTones("DAHDI/16-1", "congestion") in new stack [Jul 24 22:38:45] VERBOSE[11824] pbx.c: -- Executing [s-CHANUNAVAIL@macro-exten-vm:4] Congestion("DAHDI/16-1", "10") in new stack [Jul 24 22:38:48] WARNING[11788] chan_dahdi.c: No D-channels available! Using Primary channel 24 as D-channel anyway! [Jul 24 22:38:52] WARNING[11788] chan_dahdi.c: No D-channels available! Using Primary channel 24 as D-channel anyway! [Jul 24 22:38:56] VERBOSE[11824] app_macro.c: == Spawn extension (macro-exten-vm, s-CHANUNAVAIL, 4) exited non-zero on 'DAHDI/16-1' in macro 'exten-vm' [Jul 24 22:38:56] VERBOSE[11824] pbx.c: == Spawn extension (from-pstn, 1234540, 1) exited non-zero on 'DAHDI/16-1' [Jul 24 22:38:56] VERBOSE[11824] pbx.c: -- Executing [h@from-pstn:1] Hangup("DAHDI/16-1", "") in new stack [Jul 24 22:38:56] VERBOSE[11824] pbx.c: == Spawn extension (from-pstn, h, 1) exited non-zero on 'DAHDI/16-1' [Jul 24 22:38:56] VERBOSE[11824] chan_dahdi.c: -- Hungup 'DAHDI/16-1'

One aspect, that came to our attention, was, that outbound connections use “native bridging”, whereas inbound connections seem to make use of something in the dialparties.agi script.

Is there any way to make Asterisk use native bridging also in inbound connections in dependency of the called CID?

Thank you folks so much for you advice!

Mark

I switched from Elastix to FreePBX Distro, now everything is working perfectly.