Problem forwarding external calls

Discussion in 'General' started by fskmac, Jun 7, 2010.

  1. fskmac

    Joined:
    Jun 7, 2010
    Messages:
    8
    Likes Received:
    0
    Here is the situation.

    I have Elastix installed on a HP DL360 G6 Xeon E5540 2.53GHz 1P/4C 6GB Memory 4SFF
    (2.5) P410i/256 Model with a Digium TE121 on it.

    There is a PRI line coming in so there are 23 channels.

    Someone externally calls in to an extension, we will call this person EXTERNAL1. The extension, which we will call ASTERISK-EXT is set to forward to calls to another external number, like a cell phone or something, this will be called EXTERNAL2.

    From EXTERNAL1 you hear a few rings, then it goes to the extenstion (ASTERISK-EXT) voicemail.

    Attached is the debug information for when this occurs, i have replaced the numbers with EXTERNAL1, ASTERISK-EXT, and EXTERNAL2.

    Please let me know if any more information is required, and what possible solutions to this may be. From looking through the debug info it seems that when the call is forwarded, it tries to go out the same channel.

    Code:
        -- Accepting call from 'EXTERNAL1' to 'ASTERISK-EXT' on channel 0/16, span 1
        -- Executing [ASTERISK-EXT@from-pstn:1] Set("DAHDI/16-1", "__FROM_DID=ASTERISK-EXT") in new stack
        -- Executing [ASTERISK-EXT@from-pstn:2] Gosub("DAHDI/16-1", "app-blacklist-check|s|1") in new stack
        -- Executing [s@app-blacklist-check:1] LookupBlacklist("DAHDI/16-1", "") in new stack
        -- Executing [s@app-blacklist-check:2] GotoIf("DAHDI/16-1", "0?blacklisted") in new stack
        -- Executing [s@app-blacklist-check:3] Set("DAHDI/16-1", "CALLED_BLACKLIST=1") in new stack
        -- Executing [s@app-blacklist-check:4] Return("DAHDI/16-1", "") in new stack
        -- Executing [ASTERISK-EXT@from-pstn:3] ExecIf("DAHDI/16-1", "1 |Set|CALLERID(name)=EXTERNAL1") in new stack
        -- Executing [ASTERISK-EXT@from-pstn:4] Set("DAHDI/16-1", "__CALLINGPRES_SV=allowed") in new stack
        -- Executing [ASTERISK-EXT@from-pstn:5] SetCallerPres("DAHDI/16-1", "allowed_not_screened") in new stack
        -- Executing [ASTERISK-EXT@from-pstn:6] Goto("DAHDI/16-1", "from-did-direct|2028|1") in new stack
        -- Goto (from-did-direct,2028,1)
        -- Executing [2028@from-did-direct:1] Macro("DAHDI/16-1", "exten-vm|2028|2028") in new stack
        -- Executing [s@macro-exten-vm:1] Macro("DAHDI/16-1", "user-callerid|") in new stack
        -- Executing [s@macro-user-callerid:1] Set("DAHDI/16-1", "AMPUSER=EXTERNAL1") in new stack
        -- Executing [s@macro-user-callerid:2] GotoIf("DAHDI/16-1", "0?report") in new stack
        -- Executing [s@macro-user-callerid:3] ExecIf("DAHDI/16-1", "1|Set|REALCALLERIDNUM=EXTERNAL1") in new stack
        -- Executing [s@macro-user-callerid:4] Set("DAHDI/16-1", "AMPUSER=") in new stack
        -- Executing [s@macro-user-callerid:5] Set("DAHDI/16-1", "AMPUSERCIDNAME=") in new stack
        -- Executing [s@macro-user-callerid:6] GotoIf("DAHDI/16-1", "1?report") in new stack
        -- Goto (macro-user-callerid,s,10)
        -- Executing [s@macro-user-callerid:10] GotoIf("DAHDI/16-1", "0?continue") in new stack
        -- Executing [s@macro-user-callerid:11] Set("DAHDI/16-1", "__TTL=64") in new stack
        -- Executing [s@macro-user-callerid:12] GotoIf("DAHDI/16-1", "1?continue") in new stack
        -- Goto (macro-user-callerid,s,19)
        -- Executing [s@macro-user-callerid:19] NoOp("DAHDI/16-1", "Using CallerID "EXTERNAL1" <EXTERNAL1>") in new stack
        -- Executing [s@macro-exten-vm:2] Set("DAHDI/16-1", "RingGroupMethod=none") in new stack
        -- Executing [s@macro-exten-vm:3] Set("DAHDI/16-1", "VMBOX=2028") in new stack
        -- Executing [s@macro-exten-vm:4] Set("DAHDI/16-1", "EXTTOCALL=2028") in new stack
        -- Executing [s@macro-exten-vm:5] Set("DAHDI/16-1", "CFUEXT=") in new stack
        -- Executing [s@macro-exten-vm:6] Set("DAHDI/16-1", "CFBEXT=") in new stack
        -- Executing [s@macro-exten-vm:7] Set("DAHDI/16-1", "RT=15") in new stack
        -- Executing [s@macro-exten-vm:8] Macro("DAHDI/16-1", "record-enable|2028|IN") in new stack
        -- Executing [s@macro-record-enable:1] GotoIf("DAHDI/16-1", "1?check") in new stack
        -- Goto (macro-record-enable,s,4)
        -- Executing [s@macro-record-enable:4] ExecIf("DAHDI/16-1", "0|MacroExit|") in new stack
        -- Executing [s@macro-record-enable:5] GotoIf("DAHDI/16-1", "0?Group:OUT") in new stack
        -- Goto (macro-record-enable,s,15)
        -- Executing [s@macro-record-enable:15] GotoIf("DAHDI/16-1", "1?IN") in new stack
        -- Goto (macro-record-enable,s,20)
        -- Executing [s@macro-record-enable:20] ExecIf("DAHDI/16-1", "1|MacroExit|") in new stack
        -- Executing [s@macro-exten-vm:9] Macro("DAHDI/16-1", "dial|15|trWw|2028") in new stack
        -- Executing [s@macro-dial:1] GotoIf("DAHDI/16-1", "1?dial") in new stack
        -- Goto (macro-dial,s,3)
        -- Executing [s@macro-dial:3] AGI("DAHDI/16-1", "dialparties.agi") in new stack
        -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
      dialparties.agi: Starting New Dialparties.agi
      == Parsing '/etc/asterisk/manager.conf': Found
      == Parsing '/etc/asterisk/manager_additional.conf': Found
      == Parsing '/etc/asterisk/manager_custom.conf': Found
      == Manager 'admin' logged on from 127.0.0.1
      dialparties.agi: Caller ID name is 'EXTERNAL1' number is 'EXTERNAL1'
      dialparties.agi: USE_CONFIRMATION:  'FALSE'
      dialparties.agi: RINGGROUP_INDEX:   ''
      dialparties.agi: Methodology of ring is  'none'
        --  dialparties.agi: Added extension 2028 to extension map
           >  dialparties.agi: Extension 2028 has call screening off
        --  dialparties.agi: Extension 2028 cf is disabled
        --  dialparties.agi: Extension 2028 do not disturb is disabled
           >  dialparties.agi: extnum 2028 has:  cw: 0; hascfb: 0 [] hascfu: 0 []
      dialparties.agi: ExtensionState: 0
      dialparties.agi: Extension 2028 has ExtensionState: 0
        --  dialparties.agi: Checking CW and CFB status for extension 2028
        --  dialparties.agi: dbset CALLTRACE/2028 to EXTERNAL1
        --  dialparties.agi: Filtered ARG3: 2028
      == Manager 'admin' logged off from 127.0.0.1
        -- AGI Script dialparties.agi completed, returning 0
        -- Executing [s@macro-dial:7] Dial("DAHDI/16-1", "SIP/2028|15|trWw") in new stack
        -- Called 2028
        -- Got SIP response 302 "Moved Temporarily" back from 10.253.250.21
        -- Now forwarding DAHDI/16-1 to 'Local/EXTERNAL2@from-internal' (thanks to SIP/2028-08b8d108)
        -- Executing [EXTERNAL2@from-internal:1] Macro("Local/EXTERNAL2@from-internal-405a,2", "user-callerid|SKIPTTL|") in new stack
        -- Executing [s@macro-user-callerid:1] Set("Local/EXTERNAL2@from-internal-405a,2", "AMPUSER=EXTERNAL1") in new stack
        -- Executing [s@macro-user-callerid:2] GotoIf("Local/EXTERNAL2@from-internal-405a,2", "1?report") in new stack
        -- Goto (macro-user-callerid,s,10)
        -- Executing [s@macro-user-callerid:10] GotoIf("Local/EXTERNAL2@from-internal-405a,2", "1?continue") in new stack
        -- Goto (macro-user-callerid,s,19)
        -- Executing [s@macro-user-callerid:19] NoOp("Local/EXTERNAL2@from-internal-405a,2", "Using CallerID "EXTERNAL1" <EXTERNAL1>") in new stack
        -- Executing [EXTERNAL2@from-internal:2] Set("Local/EXTERNAL2@from-internal-405a,2", "_NODEST=") in new stack
        -- Executing [EXTERNAL2@from-internal:3] Macro("Local/EXTERNAL2@from-internal-405a,2", "record-enable|EXTERNAL1|OUT|") in new stack
        -- Executing [s@macro-record-enable:1] GotoIf("Local/EXTERNAL2@from-internal-405a,2", "1?check") in new stack
        -- Goto (macro-record-enable,s,4)
        -- Executing [s@macro-record-enable:4] ExecIf("Local/EXTERNAL2@from-internal-405a,2", "0|MacroExit|") in new stack
        -- Executing [s@macro-record-enable:5] GotoIf("Local/EXTERNAL2@from-internal-405a,2", "0?Group:OUT") in new stack
        -- Goto (macro-record-enable,s,15)
        -- Executing [s@macro-record-enable:15] GotoIf("Local/EXTERNAL2@from-internal-405a,2", "0?IN") in new stack
        -- Executing [s@macro-record-enable:16] ExecIf("Local/EXTERNAL2@from-internal-405a,2", "1|MacroExit|") in new stack
        -- Executing [EXTERNAL2@from-internal:4] Macro("Local/EXTERNAL2@from-internal-405a,2", "dialout-trunk|2|9099726636||") in new stack
        -- Executing [s@macro-dialout-trunk:1] Set("Local/EXTERNAL2@from-internal-405a,2", "DIAL_TRUNK=2") in new stack
        -- Executing [s@macro-dialout-trunk:2] GosubIf("Local/EXTERNAL2@from-internal-405a,2", "0?sub-pincheck|s|1") in new stack
        -- Executing [s@macro-dialout-trunk:3] GotoIf("Local/EXTERNAL2@from-internal-405a,2", "0?disabletrunk|1") in new stack
        -- Executing [s@macro-dialout-trunk:4] Set("Local/EXTERNAL2@from-internal-405a,2", "DIAL_NUMBER=9099726636") in new stack
        -- Executing [s@macro-dialout-trunk:5] Set("Local/EXTERNAL2@from-internal-405a,2", "DIAL_TRUNK_OPTIONS=trWw") in new stack
        -- Executing [s@macro-dialout-trunk:6] Set("Local/EXTERNAL2@from-internal-405a,2", "OUTBOUND_GROUP=OUT_2") in new stack
        -- Executing [s@macro-dialout-trunk:7] GotoIf("Local/EXTERNAL2@from-internal-405a,2", "1?nomax") in new stack
        -- Goto (macro-dialout-trunk,s,9)
        -- Executing [s@macro-dialout-trunk:9] GotoIf("Local/EXTERNAL2@from-internal-405a,2", "0?skipoutcid") in new stack
        -- Executing [s@macro-dialout-trunk:10] Set("Local/EXTERNAL2@from-internal-405a,2", "DIAL_TRUNK_OPTIONS=Ww") in new stack
        -- Executing [s@macro-dialout-trunk:11] Macro("Local/EXTERNAL2@from-internal-405a,2", "outbound-callerid|2") in new stack
        -- Executing [s@macro-outbound-callerid:1] ExecIf("Local/EXTERNAL2@from-internal-405a,2", "1|SetCallerPres|allowed") in new stack
        -- Executing [s@macro-outbound-callerid:2] ExecIf("Local/EXTERNAL2@from-internal-405a,2", "1|Set|REALCALLERIDNUM=EXTERNAL1") in new stack
        -- Executing [s@macro-outbound-callerid:3] GotoIf("Local/EXTERNAL2@from-internal-405a,2", "0?normcid") in new stack
        -- Executing [s@macro-outbound-callerid:4] Set("Local/EXTERNAL2@from-internal-405a,2", "USEROUTCID=EXTERNAL1") in new stack
        -- Executing [s@macro-outbound-callerid:5] GotoIf("Local/EXTERNAL2@from-internal-405a,2", "1?bypass") in new stack
        -- Goto (macro-outbound-callerid,s,7)
        -- Executing [s@macro-outbound-callerid:7] Set("Local/EXTERNAL2@from-internal-405a,2", "EMERGENCYCID=") in new stack
        -- Executing [s@macro-outbound-callerid:8] Set("Local/EXTERNAL2@from-internal-405a,2", "TRUNKOUTCID=424202000") in new stack
        -- Executing [s@macro-outbound-callerid:9] GotoIf("Local/EXTERNAL2@from-internal-405a,2", "1?trunkcid") in new stack
        -- Goto (macro-outbound-callerid,s,12)
        -- Executing [s@macro-outbound-callerid:12] ExecIf("Local/EXTERNAL2@from-internal-405a,2", "1|Set|CALLERID(all)=424202000") in new stack
        -- Executing [s@macro-outbound-callerid:13] ExecIf("Local/EXTERNAL2@from-internal-405a,2", "1|Set|CALLERID(all)=EXTERNAL1") in new stack
        -- Executing [s@macro-outbound-callerid:14] ExecIf("Local/EXTERNAL2@from-internal-405a,2", "0|Set|CALLERID(all)=") in new stack
        -- Executing [s@macro-outbound-callerid:15] ExecIf("Local/EXTERNAL2@from-internal-405a,2", "0|SetCallerPres|prohib_passed_screen") in new stack
        -- Executing [s@macro-dialout-trunk:12] ExecIf("Local/EXTERNAL2@from-internal-405a,2", "1|AGI|fixlocalprefix") in new stack
        -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
           >  fixlocalprefix: Using pattern .
      ==  fixlocalprefix: Dialpattern . matched. 9099726636 -> 9099726636
        -- AGI Script fixlocalprefix completed, returning 0
        -- Executing [s@macro-dialout-trunk:13] Set("Local/EXTERNAL2@from-internal-405a,2", "OUTNUM=9099726636") in new stack
        -- Executing [s@macro-dialout-trunk:14] Set("Local/EXTERNAL2@from-internal-405a,2", "custom=DAHDI/g0") in new stack
        -- Executing [s@macro-dialout-trunk:15] ExecIf("Local/EXTERNAL2@from-internal-405a,2", "0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^)Ww") in new stack
        -- Executing [s@macro-dialout-trunk:16] Macro("Local/EXTERNAL2@from-internal-405a,2", "dialout-trunk-predial-hook|") in new stack
        -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("Local/EXTERNAL2@from-internal-405a,2", "") in new stack
        -- Executing [s@macro-dialout-trunk:17] GotoIf("Local/EXTERNAL2@from-internal-405a,2", "0?bypass|1") in new stack
        -- Executing [s@macro-dialout-trunk:18] GotoIf("Local/EXTERNAL2@from-internal-405a,2", "0?customtrunk") in new stack
        -- Executing [s@macro-dialout-trunk:19] Dial("Local/EXTERNAL2@from-internal-405a,2", "DAHDI/g0/9099726636|300|Ww") in new stack
        -- Requested transfer capability: 0x00 - SPEECH
        -- Called g0/9099726636
        -- DAHDI/1-1 is proceeding passing it to Local/EXTERNAL2@from-internal-405a,2
        -- Local/EXTERNAL2@from-internal-405a,1 is proceeding passing it to DAHDI/16-1
        -- Channel 0/1, span 1 got hangup request, cause 7
        -- Hungup 'DAHDI/1-1'
      == Everyone is busy/congested at this time (1:0/0/1)
        -- Executing [s@macro-dialout-trunk:20] NoOp("Local/EXTERNAL2@from-internal-405a,2", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 7") in new stack
        -- Executing [s@macro-dialout-trunk:21] Goto("Local/EXTERNAL2@from-internal-405a,2", "s-CHANUNAVAIL|1") in new stack
        -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
        -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("Local/EXTERNAL2@from-internal-405a,2", "RC=7") in new stack
        -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("Local/EXTERNAL2@from-internal-405a,2", "7|1") in new stack
        -- Goto (macro-dialout-trunk,7,1)
        -- Executing [7@macro-dialout-trunk:1] Goto("Local/EXTERNAL2@from-internal-405a,2", "continue|1") in new stack
        -- Goto (macro-dialout-trunk,continue,1)
        -- Executing [continue@macro-dialout-trunk:1] GotoIf("Local/EXTERNAL2@from-internal-405a,2", "1?noreport") in new stack
        -- Goto (macro-dialout-trunk,continue,3)
        -- Executing [continue@macro-dialout-trunk:3] NoOp("Local/EXTERNAL2@from-internal-405a,2", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 7 - failing through to other trunks") in new stack
        -- Executing [continue@macro-dialout-trunk:4] Set("Local/EXTERNAL2@from-internal-405a,2", "CALLERID(number)=EXTERNAL1") in new stack
        -- Executing [EXTERNAL2@from-internal:5] Macro("Local/EXTERNAL2@from-internal-405a,2", "outisbusy|") in new stack
        -- Executing [s@macro-outisbusy:1] Progress("Local/EXTERNAL2@from-internal-405a,2", "") in new stack
        -- Local/EXTERNAL2@from-internal-405a,1 is making progress passing it to DAHDI/16-1
        -- Executing [s@macro-outisbusy:2] GotoIf("Local/EXTERNAL2@from-internal-405a,2", "0?emergency|1") in new stack
        -- Executing [s@macro-outisbusy:3] GotoIf("Local/EXTERNAL2@from-internal-405a,2", "0?intracompany|1") in new stack
        -- Executing [s@macro-outisbusy:4] Playback("Local/EXTERNAL2@from-internal-405a,2", "all-circuits-busy-now&pls-try-call-later| noanswer") in new stack
        -- <Local/EXTERNAL2@from-internal-405a,2> Playing 'all-circuits-busy-now' (language 'en')
        -- Stopped music on hold on DAHDI/15-1
        -- Executing [h@macro-dial:1] Macro("SIP/2003-08b607b0<ZOMBIE>", "hangupcall") in new stack
        -- Executing [s@macro-hangupcall:1] GotoIf("SIP/2003-08b607b0<ZOMBIE>", "1?skiprg") in new stack
        -- Goto (macro-hangupcall,s,4)
        -- Executing [s@macro-hangupcall:4] GotoIf("SIP/2003-08b607b0<ZOMBIE>", "1?skipblkvm") in new stack
        -- Goto (macro-hangupcall,s,7)
        -- Executing [s@macro-hangupcall:7] GotoIf("SIP/2003-08b607b0<ZOMBIE>", "1?theend") in new stack
        -- Goto (macro-hangupcall,s,9)
        -- Executing [s@macro-hangupcall:9] Hangup("SIP/2003-08b607b0<ZOMBIE>", "") in new stack
      == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/2003-08b607b0<ZOMBIE>' in macro 'hangupcall'
      == Spawn h extension (macro-dial, h, 1) exited non-zero on 'SIP/2003-08b607b0<ZOMBIE>'
      == Spawn extension (macro-dial, s, 7) exited non-zero on 'SIP/2003-08b607b0<ZOMBIE>' in macro 'dial'
      == Spawn extension (ext-group, 600, 23) exited non-zero on 'SIP/2003-08b607b0<ZOMBIE>'
        -- <Local/EXTERNAL2@from-internal-405a,2> Playing 'pls-try-call-later' (language 'en')
        -- Executing [s@macro-outisbusy:5] Congestion("Local/EXTERNAL2@from-internal-405a,2", "20") in new stack
        -- Local/EXTERNAL2@from-internal-405a,1 is circuit-busy
      == Spawn extension (macro-outisbusy, s, 5) exited non-zero on 'Local/EXTERNAL2@from-internal-405a,2' in macro 'outisbusy'
      == Everyone is busy/congested at this time (1:0/1/0)
      == Spawn extension (from-internal, EXTERNAL2, 5) exited non-zero on 'Local/EXTERNAL2@from-internal-405a,2'
        -- Executing [h@from-internal:1] Macro("Local/EXTERNAL2@from-internal-405a,2", "hangupcall") in new stack
        -- Executing [s@macro-hangupcall:1] GotoIf("Local/EXTERNAL2@from-internal-405a,2", "1?skiprg") in new stack
        -- Goto (macro-hangupcall,s,4)
        -- Executing [s@macro-hangupcall:4] GotoIf("Local/EXTERNAL2@from-internal-405a,2", "1?skipblkvm") in new stack
        -- Goto (macro-hangupcall,s,7)
        -- Executing [s@macro-hangupcall:7] GotoIf("Local/EXTERNAL2@from-internal-405a,2", "1?theend") in new stack
        -- Goto (macro-hangupcall,s,9)
        -- Executing [s@macro-hangupcall:9] Hangup("Local/EXTERNAL2@from-internal-405a,2", "") in new stack
      == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'Local/EXTERNAL2@from-internal-405a,2' in macro 'hangupcall'
      == Spawn extension (from-internal, s, 1) exited non-zero on 'Local/EXTERNAL2@from-internal-405a,2'
        -- Executing [s@macro-dial:8] Set("DAHDI/16-1", "DIALSTATUS=CONGESTION") in new stack
        -- Executing [s@macro-dial:9] GosubIf("DAHDI/16-1", "0?CONGESTION|1") in new stack
        -- Executing [s@macro-exten-vm:10] GotoIf("DAHDI/16-1", "0?exit|return") in new stack
        -- Executing [s@macro-exten-vm:11] Set("DAHDI/16-1", "SV_DIALSTATUS=CONGESTION") in new stack
        -- Executing [s@macro-exten-vm:12] GosubIf("DAHDI/16-1", "0?docfu|1") in new stack
        -- Executing [s@macro-exten-vm:13] GosubIf("DAHDI/16-1", "0?docfb|1") in new stack
        -- Executing [s@macro-exten-vm:14] Set("DAHDI/16-1", "DIALSTATUS=CONGESTION") in new stack
        -- Executing [s@macro-exten-vm:15] NoOp("DAHDI/16-1", "Voicemail is 2028") in new stack
        -- Executing [s@macro-exten-vm:16] GotoIf("DAHDI/16-1", "0?s-CONGESTION|1") in new stack
        -- Executing [s@macro-exten-vm:17] NoOp("DAHDI/16-1", "Sending to Voicemail box 2028") in new stack
        -- Executing [s@macro-exten-vm:18] Macro("DAHDI/16-1", "vm|2028|CONGESTION|") in new stack
        -- Executing [s@macro-vm:1] Macro("DAHDI/16-1", "user-callerid|SKIPTTL") in new stack
        -- Executing [s@macro-user-callerid:1] Set("DAHDI/16-1", "AMPUSER=EXTERNAL1") in new stack
        -- Executing [s@macro-user-callerid:2] GotoIf("DAHDI/16-1", "0?report") in new stack
        -- Executing [s@macro-user-callerid:3] ExecIf("DAHDI/16-1", "0|Set|REALCALLERIDNUM=EXTERNAL1") in new stack
        -- Executing [s@macro-user-callerid:4] Set("DAHDI/16-1", "AMPUSER=") in new stack
        -- Executing [s@macro-user-callerid:5] Set("DAHDI/16-1", "AMPUSERCIDNAME=") in new stack
        -- Executing [s@macro-user-callerid:6] GotoIf("DAHDI/16-1", "1?report") in new stack
        -- Goto (macro-user-callerid,s,10)
        -- Executing [s@macro-user-callerid:10] GotoIf("DAHDI/16-1", "1?continue") in new stack
        -- Goto (macro-user-callerid,s,19)
        -- Executing [s@macro-user-callerid:19] NoOp("DAHDI/16-1", "Using CallerID "EXTERNAL1" <EXTERNAL1>") in new stack
        -- Executing [s@macro-vm:2] Set("DAHDI/16-1", "VMGAIN=""") in new stack
        -- Executing [s@macro-vm:3] GotoIf("DAHDI/16-1", "1?vmx|1") in new stack
        -- Goto (macro-vm,vmx,1)
        -- Executing [vmx@macro-vm:1] Set("DAHDI/16-1", "MEXTEN=2028") in new stack
        -- Executing [vmx@macro-vm:2] Set("DAHDI/16-1", "MMODE=CONGESTION") in new stack
        -- Executing [vmx@macro-vm:3] Set("DAHDI/16-1", "RETVM=") in new stack
        -- Executing [vmx@macro-vm:4] Set("DAHDI/16-1", "MODE=unavail") in new stack
        -- Executing [vmx@macro-vm:5] GotoIf("DAHDI/16-1", "1?chknomsg") in new stack
        -- Goto (macro-vm,vmx,7)
        -- Executing [vmx@macro-vm:7] GotoIf("DAHDI/16-1", "0?s-CONGESTION|1") in new stack
        -- Executing [vmx@macro-vm:8] GotoIf("DAHDI/16-1", "1?notdirect") in new stack
        -- Goto (macro-vm,vmx,10)
        -- Executing [vmx@macro-vm:10] NoOp("DAHDI/16-1", "Checking if ext 2028 is enabled: ") in new stack
        -- Executing [vmx@macro-vm:11] GotoIf("DAHDI/16-1", "1?s-CONGESTION|1") in new stack
        -- Goto (macro-vm,s-CONGESTION,1)
        -- Executing [s-CONGESTION@macro-vm:1] Macro("DAHDI/16-1", "get-vmcontext|2028") in new stack
        -- Executing [s@macro-get-vmcontext:1] Set("DAHDI/16-1", "VMCONTEXT=default") in new stack
        -- Executing [s@macro-get-vmcontext:2] GotoIf("DAHDI/16-1", "0?200:300") in new stack
        -- Goto (macro-get-vmcontext,s,300)
        -- Executing [s@macro-get-vmcontext:300] NoOp("DAHDI/16-1", "") in new stack
        -- Executing [s-CONGESTION@macro-vm:2] VoiceMail("DAHDI/16-1", "2028@default|u") in new stack
        -- <DAHDI/16-1> Playing 'vm-theperson' (language 'en')
    
     
  2. dicko

    Joined:
    Oct 24, 2008
    Messages:
    4,099
    Likes Received:
    0
    You might want to try

    cancallforward=no in chan_dahdi.conf, because it apparently can't.

    isdn cause 7 fails ,

    isdn 7 says "Call awarded and being delivered in an established channel"

    dicko
     
  3. fskmac

    Joined:
    Jun 7, 2010
    Messages:
    8
    Likes Received:
    0
    Thanks for the advice dicko.

    I have just tried this, and the result is still the same.

    "Channel 0/2, span 1 got hangup request, cause 7".

    Would it matter where the call forwarding is set? If it's on the phone or on the asterisk server? Guess I'll play around with both.

    Any more advice is greatly welcomed.
     
  4. dicko

    Joined:
    Oct 24, 2008
    Messages:
    4,099
    Likes Received:
    0
    Sorry no advice, never seen this behavior, asterisk tried to bridge channel 1 with 16 but cause 7 was sent to channel 1 and so hung it up, One problem with the dahdi.conf files is that the parameters don't always fully "take" until you bring down asterisk and the dahdi channels/spans and then bring them all up again.

    dicko
     
  5. fskmac

    Joined:
    Jun 7, 2010
    Messages:
    8
    Likes Received:
    0
    hmmmmm, well I will keep trying to troubleshoot I suppose.

    The server was brought down and up yesterday for a scheduled power outage (if that counts as bringing asterisk and channel/spans down and up).

    This issue is really baffling me =\
     
  6. dicko

    Joined:
    Oct 24, 2008
    Messages:
    4,099
    Likes Received:
    0
    :) there is a temporal disjunct between when the server was cycled and when you edited the file and my suggestion as to when to:-

    service asterisk stop && service dahdi stop && sleep 5 && service dahdi start && service asterisk start


    intrigues me, you got a time machine there :) ?

    dicko
     
  7. fskmac

    Joined:
    Jun 7, 2010
    Messages:
    8
    Likes Received:
    0
    haha.

    I just did an asterisk restart after i edited the file.

    I will try bringing asterisk and dahdi down and up and see if that does anything.
     
  8. fskmac

    Joined:
    Jun 7, 2010
    Messages:
    8
    Likes Received:
    0
    Well... no avail there.

    Still same old problem. There isn't much info i can find on the isdn cause 7, other than what it is, doesn't seem like this is a common issue =\
     
  9. dicko

    Joined:
    Oct 24, 2008
    Messages:
    4,099
    Likes Received:
    0
    As a consolation, there are thousands of combinations of ISDN parameters, At least one will work :), perhaps someone here has a similar trunk ?

    good luck
     
  10. fskmac

    Joined:
    Jun 7, 2010
    Messages:
    8
    Likes Received:
    0
    Thanks a lot dicko.

    I'll keep trying to figure it out. If I ever do, I'll be sure to post the fix here so the next unlucky sap that encounters this won't have such a hard time.
     
  11. dicko

    Joined:
    Oct 24, 2008
    Messages:
    4,099
    Likes Received:
    0
    Don't forget to post your particular vendor here you never know, sorry I couldn't help

    dicko
     
  12. fskmac

    Joined:
    Jun 7, 2010
    Messages:
    8
    Likes Received:
    0
    Right.

    The PRI line is through NTT.
     
  13. dicko

    Joined:
    Oct 24, 2008
    Messages:
    4,099
    Likes Received:
    0
    NTT as in Nippon Telegraph and Telephone ?

    Sorry no experience.
     
  14. fskmac

    Joined:
    Jun 7, 2010
    Messages:
    8
    Likes Received:
    0
    Correct. A Japanese provider. Not sure if they are elsewhere as well...
     
  15. dicko

    Joined:
    Oct 24, 2008
    Messages:
    4,099
    Likes Received:
    0
    PTT's are usually restricted by charter to their homeland. I might be wrong.

    We don't see many japanese users here, do you use J1's for the PRI? I'm intrigued

    dicko
     

Share This Page