FreePBX Extensions hangup issue

freepbx-15
Tags: #<Tag:0x00007f702cbc5e28>

#1

I have installed FreePBX v15 and configure Extension.

Upon dial, extension do answer the call but hangs up immediately:
[2020-12-25 16:39:12] VERBOSE[18981][C-0000001f] app_dial.c: SIP/4002-00000025 is ringing
[2020-12-25 16:39:12] VERBOSE[18981][C-0000001f] app_dial.c: SIP/4002-00000025 answered SIP/from-jha-00000024
[2020-12-25 16:39:12] VERBOSE[18982][C-0000001f] bridge_channel.c: Channel SIP/4002-00000025 joined ‘simple_bridge’ basic-bridge
[2020-12-25 16:39:12] VERBOSE[18981][C-0000001f] bridge_channel.c: Channel SIP/from-jha-00000024 joined ‘simple_bridge’ basic-bridge
[2020-12-25 16:39:31] VERBOSE[18981][C-0000001f] bridge_channel.c: Channel SIP/from-jha-00000024 left ‘simple_bridge’ basic-bridge
[2020-12-25 16:39:31] VERBOSE[18982][C-0000001f] bridge_channel.c: Channel SIP/4002-00000025 left ‘simple_bridge’ basic-bridge
[2020-12-25 16:39:31] VERBOSE[18981][C-0000001f] app_macro.c: Spawn extension (macro-dial-one, s, 55) exited non-zero on ‘SIP/from-jha-00000024’ in macro ‘dial-one’
[2020-12-25 16:39:31] VERBOSE[18981][C-0000001f] app_macro.c: Spawn extension (macro-exten-vm, s, 14) exited non-zero on ‘SIP/from-jha-00000024’ in macro ‘exten-vm’
[2020-12-25 16:39:31] VERBOSE[18981][C-0000001f] pbx.c: Spawn extension (from-internal, 4002, 3) exited non-zero on ‘SIP/from-jha-00000024’
[2020-12-25 16:39:31] VERBOSE[18981][C-0000001f] pbx.c: Executing [h@from-internal:1] Macro(“SIP/from-jha-00000024”, “hangupcall”) in new stack
[2020-12-25 16:39:31] VERBOSE[18981][C-0000001f] pbx.c: Executing [s@macro-hangupcall:1] GotoIf(“SIP/from-jha-00000024”, “1?theend”) in new stack
[2020-12-25 16:39:31] VERBOSE[18981][C-0000001f] pbx_builtins.c: Goto (macro-hangupcall,s,3)
[2020-12-25 16:39:31] VERBOSE[18981][C-0000001f] pbx.c: Executing [s@macro-hangupcall:3] ExecIf(“SIP/from-jha-00000024”, “0?Set(CDR(recordingfile)=)”) in new stack
[2020-12-25 16:39:31] VERBOSE[18981][C-0000001f] pbx.c: Executing [s@macro-hangupcall:4] NoOp(“SIP/from-jha-00000024”, "SIP/4002-00000025 montior file= ") in new stack
[2020-12-25 16:39:31] VERBOSE[18981][C-0000001f] pbx.c: Executing [s@macro-hangupcall:5] GotoIf(“SIP/from-jha-00000024”, “1?skipagi”) in new stack
[2020-12-25 16:39:31] VERBOSE[18981][C-0000001f] pbx_builtins.c: Goto (macro-hangupcall,s,7)
[2020-12-25 16:39:31] VERBOSE[18981][C-0000001f] pbx.c: Executing [s@macro-hangupcall:7] Hangup(“SIP/from-jha-00000024”, “”) in new stack
[2020-12-25 16:39:31] VERBOSE[18981][C-0000001f] app_macro.c: Spawn extension (macro-hangupcall, s, 7) exited non-zero on ‘SIP/from-jha-00000024’ in macro ‘hangupcall’
[2020-12-25 16:39:31] VERBOSE[18981][C-0000001f] pbx.c: Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/from-jha-00000024’

Please advice


#2

I am stuck please advice


(James Zhu) #3

please set debug level higher and see more. Maybe, you can check the nat if nated or codecs of both sides.


#4

NAT and Codec looks good.

How to enable debug


#5

At the Asterisk command prompt, type
sip set debug on
You should see
SIP Debugging enabled
Make another failing call, paste the Asterisk log for the call (which will now include a SIP trace) at pastebin.freepbx.org and post the link here.