Asterisk wont hang up

I’ve configured asterisk and managed to get it running, so when I dial a number, everythings smooth, I can hear they can hear. However when it comes to hanging up if I hang up, nothing happens. Im really confused i’ve checked all the settings but can’t seem to find the problem.

I’ve attached the logs, I can’t see anything wrong though. Please help me identify where the problem is:

VERBOSE[13189] pbx.c: -- Executing [h@macro-dialout-trunk:1] Macro("SIP/500-0000000a", "hangupcall,") in new stack [Oct 1 22:24:41] VERBOSE[13189] pbx.c: -- Executing [s@macro-hangupcall:1] GotoIf("SIP/500-0000000a", "1?endmixmoncheck") in new stack [Oct 1 22:24:41] VERBOSE[13189] pbx.c: -- Goto (macro-hangupcall,s,9) [Oct 1 22:24:41] VERBOSE[13189] pbx.c: -- Executing [s@macro-hangupcall:9] NoOp("SIP/500-0000000a", "End of MIXMON check") in new stack [Oct 1 22:24:41] VERBOSE[13189] pbx.c: -- Executing [s@macro-hangupcall:10] GotoIf("SIP/500-0000000a", "1?nomeetmemon") in new stack [Oct 1 22:24:41] VERBOSE[13189] pbx.c: -- Goto (macro-hangupcall,s,28) [Oct 1 22:24:41] VERBOSE[13189] pbx.c: -- Executing [s@macro-hangupcall:28] NoOp("SIP/500-0000000a", "End of MEETME check") in new stack [Oct 1 22:24:41] VERBOSE[13189] pbx.c: -- Executing [s@macro-hangupcall:29] GotoIf("SIP/500-0000000a", "1?noautomon") in new stack [Oct 1 22:24:41] VERBOSE[13189] pbx.c: -- Goto (macro-hangupcall,s,34) [Oct 1 22:24:41] VERBOSE[13189] pbx.c: -- Executing [s@macro-hangupcall:34] NoOp("SIP/500-0000000a", "TOUCH_MONITOR_OUTPUT=") in new stack [Oct 1 22:24:41] VERBOSE[13189] pbx.c: -- Executing [s@macro-hangupcall:35] GotoIf("SIP/500-0000000a", "1?noautomon2") in new stack [Oct 1 22:24:41] VERBOSE[13189] pbx.c: -- Goto (macro-hangupcall,s,41) [Oct 1 22:24:41] VERBOSE[13189] pbx.c: -- Executing [s@macro-hangupcall:41] NoOp("SIP/500-0000000a", "MONITOR_FILENAME=") in new stack [Oct 1 22:24:41] VERBOSE[13189] pbx.c: -- Executing [s@macro-hangupcall:42] GotoIf("SIP/500-0000000a", "1?skiprg") in new stack [Oct 1 22:24:41] VERBOSE[13189] pbx.c: -- Goto (macro-hangupcall,s,45) [Oct 1 22:24:41] VERBOSE[13189] pbx.c: -- Executing [s@macro-hangupcall:45] GotoIf("SIP/500-0000000a", "1?skipblkvm") in new stack [Oct 1 22:24:41] VERBOSE[13189] pbx.c: -- Goto (macro-hangupcall,s,48) [Oct 1 22:24:41] VERBOSE[13189] pbx.c: -- Executing [s@macro-hangupcall:48] GotoIf("SIP/500-0000000a", "1?theend") in new stack [Oct 1 22:24:41] VERBOSE[13189] pbx.c: -- Goto (macro-hangupcall,s,50) [Oct 1 22:24:41] VERBOSE[13189] pbx.c: -- Executing [s@macro-hangupcall:50] AGI("SIP/500-0000000a", "hangup.agi") in new stack [Oct 1 22:24:41] VERBOSE[13189] res_agi.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi [Oct 1 22:24:41] VERBOSE[13189] res_agi.c: -- <SIP/500-0000000a>AGI Script hangup.agi completed, returning 0 [Oct 1 22:24:41] VERBOSE[13189] pbx.c: -- Executing [s@macro-hangupcall:51] Hangup("SIP/500-0000000a", "") in new stack [Oct 1 22:24:41] VERBOSE[13189] app_macro.c: == Spawn extension (macro-hangupcall, s, 51) exited non-zero on 'SIP/500-0000000a' in macro 'hangupcall' [Oct 1 22:24:41] VERBOSE[13189] features.c: == Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on 'SIP/500-0000000a' [Oct 1 22:24:41] VERBOSE[13189] app_macro.c: == Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'SIP/500-0000000a' in macro 'dialout-trunk' [Oct 1 22:24:41] VERBOSE[13189] pbx.c: == Spawn extension (from-internal, 0025740224468, 6) exited non-zero on 'SIP/500-0000000a'

Edit 1- Its a bit odd but if i set a id it decides not to want to hang up

I don’t believe you wrote the dialplan! This needs to be asked on a forum for the GUI in question.

The trace does seem to show a hangup - in fact it only starts when one side had already hung up.