configuring dundi on two elastix boxes

Discussion in 'General' started by olumuyiwa, Jun 18, 2010.

  1. olumuyiwa

    Joined:
    Jun 18, 2010
    Messages:
    1
    Likes Received:
    0
    hello all,

    Please can anyone help me to troubleshoot my elastix box
    when ever an extension is dial for the second box it gives all circuit are busy now
    what can i do.
    here is the output of the call

    -- Executing [201@from-internal:1] Macro("SIP/105-09fe6e30", "user-callerid|SKIPTTL|") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/105-09fe6e30", "AMPUSER=105") in new stack
    -- Executing [s@macro-user-callerid:2] GotoIf("SIP/105-09fe6e30", "0?report") in new stack
    -- Executing [s@macro-user-callerid:3] ExecIf("SIP/105-09fe6e30", "1|Set|REALCALLERIDNUM=105") in new stack
    -- Executing [s@macro-user-callerid:4] Set("SIP/105-09fe6e30", "AMPUSER=105") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/105-09fe6e30", "AMPUSERCIDNAME=PHINET 2") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/105-09fe6e30", "0?report") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/105-09fe6e30", "AMPUSERCID=105") in new stack
    -- Executing [s@macro-user-callerid:8] Set("SIP/105-09fe6e30", "CALLERID(all)="PHINET 2" <105>") in new stack
    -- Executing [s@macro-user-callerid:9] ExecIf("SIP/105-09fe6e30", "0|Set|CHANNEL(language)=") in new stack
    -- Executing [s@macro-user-callerid:10] GotoIf("SIP/105-09fe6e30", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,19)
    -- Executing [s@macro-user-callerid:19] NoOp("SIP/105-09fe6e30", "Using CallerID "PHINET 2" <105>") in new stack
    -- Executing [201@from-internal:2] Set("SIP/105-09fe6e30", "_NODEST=") in new stack
    -- Executing [201@from-internal:3] Macro("SIP/105-09fe6e30", "record-enable|105|OUT|") in new stack
    -- Executing [s@macro-record-enable:1] GotoIf("SIP/105-09fe6e30", "1?check") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] AGI("SIP/105-09fe6e30", "recordingcheck|20100618-115647|1276858607.26") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
    recordingcheck|20100618-115647|1276858607.26: Outbound recording not enabled
    -- AGI Script recordingcheck completed, returning 0
    -- Executing [s@macro-record-enable:5] MacroExit("SIP/105-09fe6e30", "") in new stack
    -- Executing [201@from-internal:4] Macro("SIP/105-09fe6e30", "dialout-dundi|3|01||") in new stack
    -- Executing [s@macro-dialout-dundi:1] Set("SIP/105-09fe6e30", "DIAL_TRUNK=3") in new stack
    -- Executing [s@macro-dialout-dundi:2] GosubIf("SIP/105-09fe6e30", "0?sub-pincheck|s|1") in new stack
    -- Executing [s@macro-dialout-dundi:3] GotoIf("SIP/105-09fe6e30", "0?disabletrunk|1") in new stack
    -- Executing [s@macro-dialout-dundi:4] Set("SIP/105-09fe6e30", "DIAL_NUMBER=01") in new stack
    -- Executing [s@macro-dialout-dundi:5] Set("SIP/105-09fe6e30", "DIAL_TRUNK_OPTIONS=tr") in new stack
    -- Executing [s@macro-dialout-dundi:6] Set("SIP/105-09fe6e30", "OUTBOUND_GROUP=OUT_3") in new stack
    -- Executing [s@macro-dialout-dundi:7] GotoIf("SIP/105-09fe6e30", "1?nomax") in new stack
    -- Goto (macro-dialout-dundi,s,9)
    -- Executing [s@macro-dialout-dundi:9] GotoIf("SIP/105-09fe6e30", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-dundi:10] Set("SIP/105-09fe6e30", "DIAL_TRUNK_OPTIONS=") in new stack
    -- Executing [s@macro-dialout-dundi:11] Macro("SIP/105-09fe6e30", "outbound-callerid|3") in new stack
    -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/105-09fe6e30", "0|SetCallerPres|") in new stack
    -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/105-09fe6e30", "0|Set|REALCALLERIDNUM=105") in new stack
    -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/105-09fe6e30", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,6)
    -- Executing [s@macro-outbound-callerid:6] Set("SIP/105-09fe6e30", "USEROUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:7] Set("SIP/105-09fe6e30", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:8] Set("SIP/105-09fe6e30", "TRUNKOUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/105-09fe6e30", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,12)
    -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/105-09fe6e30", "0|Set|CALLERID(all)=") in new stack
    -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/105-09fe6e30", "0|Set|CALLERID(all)=") in new stack
    -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/105-09fe6e30", "0|SetCallerPres|prohib_passed_screen") in new stack
    -- Executing [s@macro-dialout-dundi:12] ExecIf("SIP/105-09fe6e30", "1|AGI|fixlocalprefix") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
    -- AGI Script fixlocalprefix completed, returning 0
    -- Executing [s@macro-dialout-dundi:13] Set("SIP/105-09fe6e30", "OUTNUM=01") in new stack
    -- Executing [s@macro-dialout-dundi:14] ExecIf("SIP/105-09fe6e30", "0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^)") in new stack
    -- Executing [s@macro-dialout-dundi:15] Macro("SIP/105-09fe6e30", "dialout-dundi-predial-hook|") in new stack
    -- Executing [s@macro-dialout-dundi:16] GotoIf("SIP/105-09fe6e30", "0?bypass|1") in new stack
    -- Executing [s@macro-dialout-dundi:17] GotoIf("SIP/105-09fe6e30", "0?customtrunk") in new stack
    -- Executing [s@macro-dialout-dundi:18] Macro("SIP/105-09fe6e30", "dundi-3|01") in new stack
    -- Executing [s@macro-dundi-3:1] Goto("SIP/105-09fe6e30", "01|1") in new stack
    -- Goto (macro-dundi-3,01,1)
    -- Executing [s@macro-dialout-dundi:19] Goto("SIP/105-09fe6e30", "s-|1") in new stack
    -- Goto (macro-dialout-dundi,s-,1)
    -- Executing [201@from-internal:5] Macro("SIP/105-09fe6e30", "dialout-trunk|2|01||") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("SIP/105-09fe6e30", "DIAL_TRUNK=2") in new stack
    -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/105-09fe6e30", "0?sub-pincheck|s|1") in new stack
    -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/105-09fe6e30", "0?disabletrunk|1") in new stack
    -- Executing [s@macro-dialout-trunk:4] Set("SIP/105-09fe6e30", "DIAL_NUMBER=01") in new stack
    -- Executing [s@macro-dialout-trunk:5] Set("SIP/105-09fe6e30", "DIAL_TRUNK_OPTIONS=tr") in new stack
    -- Executing [s@macro-dialout-trunk:6] Set("SIP/105-09fe6e30", "OUTBOUND_GROUP=OUT_2") in new stack
    -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/105-09fe6e30", "1?nomax") in new stack
    -- Goto (macro-dialout-trunk,s,9)
    -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/105-09fe6e30", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-trunk:10] Set("SIP/105-09fe6e30", "DIAL_TRUNK_OPTIONS=") in new stack
    -- Executing [s@macro-dialout-trunk:11] Macro("SIP/105-09fe6e30", "outbound-callerid|2") in new stack
    -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/105-09fe6e30", "0|SetCallerPres|") in new stack
    -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/105-09fe6e30", "0|Set|REALCALLERIDNUM=105") in new stack
    -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/105-09fe6e30", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,6)
    -- Executing [s@macro-outbound-callerid:6] Set("SIP/105-09fe6e30", "USEROUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:7] Set("SIP/105-09fe6e30", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:8] Set("SIP/105-09fe6e30", "TRUNKOUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/105-09fe6e30", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,12)
    -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/105-09fe6e30", "0|Set|CALLERID(all)=") in new stack
    -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/105-09fe6e30", "0|Set|CALLERID(all)=") in new stack
    -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/105-09fe6e30", "0|SetCallerPres|prohib_passed_screen") in new stack
    -- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/105-09fe6e30", "1|AGI|fixlocalprefix") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
    -- AGI Script fixlocalprefix completed, returning 0
    -- Executing [s@macro-dialout-trunk:13] Set("SIP/105-09fe6e30", "OUTNUM=01") in new stack
    -- Executing [s@macro-dialout-trunk:14] Set("SIP/105-09fe6e30", "custom=IAX2/phinet1") in new stack
    -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/105-09fe6e30", "0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^)") in new stack
    -- Executing [s@macro-dialout-trunk:16] Macro("SIP/105-09fe6e30", "dialout-trunk-predial-hook|") in new stack
    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/105-09fe6e30", "") in new stack
    -- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/105-09fe6e30", "0?bypass|1") in new stack
    -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/105-09fe6e30", "0?customtrunk") in new stack
    -- Executing [s@macro-dialout-trunk:19] Dial("SIP/105-09fe6e30", "IAX2/phinet1/01|300|") in new stack
    -- Call accepted by 192.168.1.200 (format gsm)
    -- Format for call is gsm
    -- Called phinet1/01
    -- IAX2/phinet1-16384 is ringing
    -- IAX2/phinet1-16384 is ringing
    -- Hungup 'IAX2/phinet1-16384'
    == Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'SIP/105-09fe6e30' in macro 'dialout-trunk'
    == Spawn extension (from-internal, 201, 5) exited non-zero on 'SIP/105-09fe6e30'
    -- Executing [h@macro-dialout-trunk:1] Macro("SIP/105-09fe6e30", "hangupcall|") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/105-09fe6e30", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,4)
    -- Executing [s@macro-hangupcall:4] GotoIf("SIP/105-09fe6e30", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,7)
    -- Executing [s@macro-hangupcall:7] GotoIf("SIP/105-09fe6e30", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] Hangup("SIP/105-09fe6e30", "") in new stack
    == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/105-09fe6e30' in macro 'hangupcall'
    == Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on 'SIP/105-09fe6e30'
    -- Remote UNIX connection.so
    -- Remote UNIX connection disconnected
     

Share This Page