Author Topic: Outbound Calls works rarely. Most of the time it tells HANGUP  (Read 1380 times)

Shree Venus

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
    • Email
Hi,

We are using Asterisk server along with synway gateway configured to make outbound and inbound calls for a Call center. Everything is working fine but most of the time we could not complete the task as outbound calls are not succeeded. Am stuck over here as outbound calls works very rarely, many times i use to get HANGUP.

What will be the error, any idea?




Code: [Select]
== Spawn extension (macro-hangupcall, s, 34) exited non-zero on 'SIP/6100-000005f2' in macro 'hangupcall'
  == Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on 'SIP/6100-000005f2'
  == Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'SIP/6100-000005f2' in macro 'dialout-trunk'
  == Spawn extension (from-internal, 99655528402, 6) exited non-zero on 'SIP/6100-000005f2'
  == MixMonitor close filestream
  == End MixMonitor Recording SIP/6100-000005f2
  == Everyone is busy/congested at this time (1:0/1/0)
    -- Executing [s@macro-dialout-trunk:20] NoOp("SIP/6100-000005f4", "Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 34") in new stack
    -- Executing [s@macro-dialout-trunk:21] Goto("SIP/6100-000005f4", "s-CONGESTION,1") in new stack
    -- Goto (macro-dialout-trunk,s-CONGESTION,1)
    -- Executing [s-CONGESTION@macro-dialout-trunk:1] Set("SIP/6100-000005f4", "RC=34") in new stack
    -- Executing [s-CONGESTION@macro-dialout-trunk:2] Goto("SIP/6100-000005f4", "34,1") in new stack
    -- Goto (macro-dialout-trunk,34,1)
    -- Executing [34@macro-dialout-trunk:1] Goto("SIP/6100-000005f4", "continue,1") in new stack
    -- Goto (macro-dialout-trunk,continue,1)
    -- Executing [continue@macro-dialout-trunk:1] GotoIf("SIP/6100-000005f4", "1?noreport") in new stack
    -- Goto (macro-dialout-trunk,continue,3)
    -- Executing [continue@macro-dialout-trunk:3] NoOp("SIP/6100-000005f4", "TRUNK Dial failed due to CONGESTION HANGUPCAUSE: 34 - failing through to other trunks") in new stack
    -- Executing [continue@macro-dialout-trunk:4] Set("SIP/6100-000005f4", "CALLERID(number)=6100") in new stack
    -- Executing [99655528402@from-internal:7] Macro("SIP/6100-000005f4", "outisbusy,") in new stack
    -- Executing [s@macro-outisbusy:1] Progress("SIP/6100-000005f4", "") in new stack
    -- Executing [s@macro-outisbusy:2] GotoIf("SIP/6100-000005f4", "0?emergency,1") in new stack
    -- Executing [s@macro-outisbusy:3] GotoIf("SIP/6100-000005f4", "0?intracompany,1") in new stack
    -- Executing [s@macro-outisbusy:4] Playback("SIP/6100-000005f4", "all-circuits-busy-now&pls-try-call-later, noanswer") in new stack
    -- <SIP/6100-000005f4> Playing 'all-circuits-busy-now.gsm' (language 'en')
    -- <SIP/6100-000005f4> Playing 'pls-try-call-later.gsm' (language 'en')
  == Spawn extension (macro-outisbusy, s, 4) exited non-zero on 'SIP/6100-000005f4' in macro 'outisbusy'
  == Spawn extension (from-internal, 99655528402, 7) exited non-zero on 'SIP/6100-000005f4'
    -- Executing [h@from-internal:1] Macro("SIP/6100-000005f4", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/6100-000005f4", "0?endmixmoncheck") in new stack
    -- Executing [s@macro-hangupcall:2] Set("SIP/6100-000005f4", "MIXMON_CALLFILENAME=/var/spool/asterisk/monitor/OUT6100-20160205-155952-1454668192.1524.wav") in new stack
    -- Executing [s@macro-hangupcall:3] GotoIf("SIP/6100-000005f4", "1?defaultmixmondir") in new stack
    -- Goto (macro-hangupcall,s,5)
    -- Executing [s@macro-hangupcall:5] System("SIP/6100-000005f4", "test -e /var/spool/asterisk/monitor/OUT6100-20160205-155952-1454668192.1524.wav") in new stack
    -- Executing [s@macro-hangupcall:6] NoOp("SIP/6100-000005f4", "SYSTEMSTATUS = SUCCESS") in new stack
    -- Executing [s@macro-hangupcall:7] GotoIf("SIP/6100-000005f4", "1?endmixmoncheck") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] NoOp("SIP/6100-000005f4", "End of MIXMON check") in new stack
    -- Executing [s@macro-hangupcall:10] GotoIf("SIP/6100-000005f4", "1?nomeetmemon") in new stack
    -- Goto (macro-hangupcall,s,15)
    -- Executing [s@macro-hangupcall:15] NoOp("SIP/6100-000005f4", "MEETME_RECORDINGFILE=") in new stack
    -- Executing [s@macro-hangupcall:16] GotoIf("SIP/6100-000005f4", "1?noautomon") in new stack
    -- Goto (macro-hangupcall,s,18)
    -- Executing [s@macro-hangupcall:18] NoOp("SIP/6100-000005f4", "TOUCH_MONITOR_OUTPUT=") in new stack
    -- Executing [s@macro-hangupcall:19] GotoIf("SIP/6100-000005f4", "1?noautomon2") in new stack
    -- Goto (macro-hangupcall,s,25)
    -- Executing [s@macro-hangupcall:25] NoOp("SIP/6100-000005f4", "MONITOR_FILENAME=") in new stack
    -- Executing [s@macro-hangupcall:26] GotoIf("SIP/6100-000005f4", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,29)
    -- Executing [s@macro-hangupcall:29] GotoIf("SIP/6100-000005f4", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,32)
    -- Executing [s@macro-hangupcall:32] GotoIf("SIP/6100-000005f4", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,34)
    -- Executing [s@macro-hangupcall:34] Hangup("SIP/6100-000005f4", "") in new stack
  == Spawn extension (macro-hangupcall, s, 34) exited non-zero on 'SIP/6100-000005f4' in macro 'hangupcall'
  == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/6100-000005f4'

Sometimes i also get this :

Code: [Select]
Executing [s@macro-dialout-trunk:19] Dial("SIP/6100-00000604", "SIP/sip_trunk_test1/04524246277,300,") in new stack
  == Begin MixMonitor Recording SIP/6100-00000604
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Called SIP/sip_trunk_test1/04524246277
    -- SIP/sip_trunk_test1-00000605 is making progress passing it to SIP/6100-00000604
    -- SIP/sip_trunk_test1-00000605 answered SIP/6100-00000604
    -- Executing [h@macro-dialout-trunk:1] Macro("SIP/6100-00000604", "hangupcall,") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/6100-00000604", "0?endmixmoncheck") in new stack
    -- Executing [s@macro-hangupcall:2] Set("SIP/6100-00000604", "MIXMON_CALLFILENAME=/var/spool/asterisk/monitor/OUT6100-20160205-174336-1454674416.1540.wav") in new stack
    -- Executing [s@macro-hangupcall:3] GotoIf("SIP/6100-00000604", "1?defaultmixmondir") in new stack
    -- Goto (macro-hangupcall,s,5)
    -- Executing [s@macro-hangupcall:5] System("SIP/6100-00000604", "test -e /var/spool/asterisk/monitor/OUT6100-20160205-174336-1454674416.1540.wav") in new stack
    -- Executing [s@macro-hangupcall:6] NoOp("SIP/6100-00000604", "SYSTEMSTATUS = SUCCESS") in new stack
    -- Executing [s@macro-hangupcall:7] GotoIf("SIP/6100-00000604", "1?endmixmoncheck") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] NoOp("SIP/6100-00000604", "End of MIXMON check") in new stack
    -- Executing [s@macro-hangupcall:10] GotoIf("SIP/6100-00000604", "1?nomeetmemon") in new stack
    -- Goto (macro-hangupcall,s,15)
    -- Executing [s@macro-hangupcall:15] NoOp("SIP/6100-00000604", "MEETME_RECORDINGFILE=") in new stack
    -- Executing [s@macro-hangupcall:16] GotoIf("SIP/6100-00000604", "1?noautomon") in new stack
    -- Goto (macro-hangupcall,s,18)
    -- Executing [s@macro-hangupcall:18] NoOp("SIP/6100-00000604", "TOUCH_MONITOR_OUTPUT=") in new stack
    -- Executing [s@macro-hangupcall:19] GotoIf("SIP/6100-00000604", "1?noautomon2") in new stack
    -- Goto (macro-hangupcall,s,25)
    -- Executing [s@macro-hangupcall:25] NoOp("SIP/6100-00000604", "MONITOR_FILENAME=") in new stack
    -- Executing [s@macro-hangupcall:26] GotoIf("SIP/6100-00000604", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,29)
    -- Executing [s@macro-hangupcall:29] GotoIf("SIP/6100-00000604", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,32)
    -- Executing [s@macro-hangupcall:32] GotoIf("SIP/6100-00000604", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,34)
    -- Executing [s@macro-hangupcall:34] Hangup("SIP/6100-00000604", "") in new stack
  == Spawn extension (macro-hangupcall, s, 34) exited non-zero on 'SIP/6100-00000604' in macro 'hangupcall'
  == Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on 'SIP/6100-00000604'
  == Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'SIP/6100-00000604' in macro 'dialout-trunk'
  == Spawn extension (from-internal, 904524246277, 6) exited non-zero on 'SIP/6100-00000604'
  == MixMonitor close filestream
  == End MixMonitor Recording SIP/6100-00000604


Looking forward for the quickest reply and it is highly appreciated.

Thanks and regards,
Shree Venus
« Last Edit: February 05, 2016, 13:57:06 by Shree Venus »