Inbound call hangs up
Posted: Tue Aug 20, 2019 2:43 am
I have a issue with the inbound calls. I have add evrything like in the manual. The call is coming in but then hangs up directly if the agent is ready.
[vicibox81:~ # asterisk -r
[Aug 19 13:20:05] Asterisk 13.21.1-vici, Copyright (C) 1999 - 2014, Digium, Inc. and others.
[Aug 19 13:20:05] Created by Mark Spencer <markster@digium.com>
[Aug 19 13:20:05] Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
[Aug 19 13:20:05] This is free software, with components licensed under the GNU General Public
[Aug 19 13:20:05] License version 2 and other licenses; you are welcome to redistribute it under
[Aug 19 13:20:05] certain conditions. Type 'core show license' for details.
[Aug 19 13:20:05] =========================================================================
[Aug 19 13:20:05] Connected to Asterisk 13.21.1-vici currently running on vicibox81 (pid = 1550)
[Aug 19 13:20:06] == Manager 'sendcron' logged on from 127.0.0.1
[Aug 19 13:20:06] == Manager 'sendcron' logged off from 127.0.0.1
[Aug 19 13:20:20] ERROR[3495][C-0000000d]: netsock2.c:305 ast_sockaddr_resolve: getaddrinfo("vicibox81", "(null)", ...): Name or service not known
[Aug 19 13:20:20] WARNING[3495][C-0000000d]: acl.c:835 resolve_first: Unable to lookup 'vicibox81'
[Aug 19 13:20:20] == Using SIP RTP CoS mark 5
[Aug 19 13:20:20] > 0x7fac400137d0 -- Strict RTP learning after remote address set to: 135.144.69.60:28600
[Aug 19 13:20:20] -- Executing [3174765555@trunkinbound:1] AGI("SIP/VPIN-00000002", "agi-DID_route.agi") in new stack
[Aug 19 13:20:20] -- Launched AGI Script /usr/share/asterisk/agi-bin/agi-DID_route.agi
[Aug 19 13:20:20] -- AGI Script Executing Application: (Monitor) Options: (wav,/var/spool/asterisk/monitor/MIX/20190819132020_3174765555_905666666011)
[Aug 19 13:20:20] -- <SIP/VPIN-00000002>AGI Script agi-DID_route.agi completed, returning 0
[Aug 19 13:20:20] -- Executing [99909*17***DID@default:1] Answer("SIP/VPIN-00000002", "") in new stack
[Aug 19 13:20:20] > 0x7fac400137d0 -- Strict RTP learning after remote address set to: 135.144.69.60:28600
[Aug 19 13:20:20] WARNING[3495]: chan_sip.c:4127 retrans_pkt: Timeout on 157943750-1210613229-1524892520 on non-critical invite transaction.
[Aug 19 13:20:20] > 0x7fac400137d0 -- Strict RTP switching to RTP target address 135.144.69.60:28600 as source
[Aug 19 13:20:20] -- Executing [99909*17***DID@default:2] AGI("SIP/VPIN-00000002", "agi-VDAD_ALL_inbound.agi") in new stack
[Aug 19 13:20:20] -- Launched AGI Script /usr/share/asterisk/agi-bin/agi-VDAD_ALL_inbound.agi
[Aug 19 13:20:20] -- <SIP/VPIN-00000002> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Aug 19 13:20:20] -- <SIP/VPIN-00000002> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Aug 19 13:20:22] -- Started music on hold, class 'default', on channel 'SIP/VPIN-00000002'
[Aug 19 13:20:25] > 0x7fac400137d0 -- Strict RTP learning complete - Locking on source address 135.144.69.60:28600
[Aug 19 13:20:25] -- <SIP/VPIN-00000002>AGI Script agi-VDAD_ALL_inbound.agi completed, returning 0
[Aug 19 13:20:25] -- Executing [99909*17***DID@default:3] Hangup("SIP/VPIN-00000002", "") in new stack
[Aug 19 13:20:25] == Spawn extension (default, 99909*17***DID, 3) exited non-zero on 'SIP/VPIN-00000002'
[Aug 19 13:20:25] WARNING[4045][C-0000000d]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Aug 19 13:20:25] -- Executing [h@default:1] AGI("SIP/VPIN-00000002", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16--------------------)") in new stack
[Aug 19 13:20:25] -- <SIP/VPIN-00000002>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ----------) completed, returning 0
[Aug 19 13:20:25] -- Stopped music on hold on SIP/VPIN-00000002
vicibox81*CLI> exit
[Aug 19 13:20:35] Asterisk cleanly ending (0).
[Aug 19 13:20:35] Executing last minute cleanups
vicibox81:~ #
I would appreciate it if someone could help
------------------------------------------------------------
Installed with Vicibox
VERSION: 2.14-717a
BUILD: 190724-1603
© 2019 ViciDial Group
CPU: 4 vCore
RAM: 8192 MB
Storage: 160 GB SSD
[vicibox81:~ # asterisk -r
[Aug 19 13:20:05] Asterisk 13.21.1-vici, Copyright (C) 1999 - 2014, Digium, Inc. and others.
[Aug 19 13:20:05] Created by Mark Spencer <markster@digium.com>
[Aug 19 13:20:05] Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
[Aug 19 13:20:05] This is free software, with components licensed under the GNU General Public
[Aug 19 13:20:05] License version 2 and other licenses; you are welcome to redistribute it under
[Aug 19 13:20:05] certain conditions. Type 'core show license' for details.
[Aug 19 13:20:05] =========================================================================
[Aug 19 13:20:05] Connected to Asterisk 13.21.1-vici currently running on vicibox81 (pid = 1550)
[Aug 19 13:20:06] == Manager 'sendcron' logged on from 127.0.0.1
[Aug 19 13:20:06] == Manager 'sendcron' logged off from 127.0.0.1
[Aug 19 13:20:20] ERROR[3495][C-0000000d]: netsock2.c:305 ast_sockaddr_resolve: getaddrinfo("vicibox81", "(null)", ...): Name or service not known
[Aug 19 13:20:20] WARNING[3495][C-0000000d]: acl.c:835 resolve_first: Unable to lookup 'vicibox81'
[Aug 19 13:20:20] == Using SIP RTP CoS mark 5
[Aug 19 13:20:20] > 0x7fac400137d0 -- Strict RTP learning after remote address set to: 135.144.69.60:28600
[Aug 19 13:20:20] -- Executing [3174765555@trunkinbound:1] AGI("SIP/VPIN-00000002", "agi-DID_route.agi") in new stack
[Aug 19 13:20:20] -- Launched AGI Script /usr/share/asterisk/agi-bin/agi-DID_route.agi
[Aug 19 13:20:20] -- AGI Script Executing Application: (Monitor) Options: (wav,/var/spool/asterisk/monitor/MIX/20190819132020_3174765555_905666666011)
[Aug 19 13:20:20] -- <SIP/VPIN-00000002>AGI Script agi-DID_route.agi completed, returning 0
[Aug 19 13:20:20] -- Executing [99909*17***DID@default:1] Answer("SIP/VPIN-00000002", "") in new stack
[Aug 19 13:20:20] > 0x7fac400137d0 -- Strict RTP learning after remote address set to: 135.144.69.60:28600
[Aug 19 13:20:20] WARNING[3495]: chan_sip.c:4127 retrans_pkt: Timeout on 157943750-1210613229-1524892520 on non-critical invite transaction.
[Aug 19 13:20:20] > 0x7fac400137d0 -- Strict RTP switching to RTP target address 135.144.69.60:28600 as source
[Aug 19 13:20:20] -- Executing [99909*17***DID@default:2] AGI("SIP/VPIN-00000002", "agi-VDAD_ALL_inbound.agi") in new stack
[Aug 19 13:20:20] -- Launched AGI Script /usr/share/asterisk/agi-bin/agi-VDAD_ALL_inbound.agi
[Aug 19 13:20:20] -- <SIP/VPIN-00000002> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Aug 19 13:20:20] -- <SIP/VPIN-00000002> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Aug 19 13:20:22] -- Started music on hold, class 'default', on channel 'SIP/VPIN-00000002'
[Aug 19 13:20:25] > 0x7fac400137d0 -- Strict RTP learning complete - Locking on source address 135.144.69.60:28600
[Aug 19 13:20:25] -- <SIP/VPIN-00000002>AGI Script agi-VDAD_ALL_inbound.agi completed, returning 0
[Aug 19 13:20:25] -- Executing [99909*17***DID@default:3] Hangup("SIP/VPIN-00000002", "") in new stack
[Aug 19 13:20:25] == Spawn extension (default, 99909*17***DID, 3) exited non-zero on 'SIP/VPIN-00000002'
[Aug 19 13:20:25] WARNING[4045][C-0000000d]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Aug 19 13:20:25] -- Executing [h@default:1] AGI("SIP/VPIN-00000002", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16--------------------)") in new stack
[Aug 19 13:20:25] -- <SIP/VPIN-00000002>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ----------) completed, returning 0
[Aug 19 13:20:25] -- Stopped music on hold on SIP/VPIN-00000002
vicibox81*CLI> exit
[Aug 19 13:20:35] Asterisk cleanly ending (0).
[Aug 19 13:20:35] Executing last minute cleanups
vicibox81:~ #
I would appreciate it if someone could help
------------------------------------------------------------
Installed with Vicibox
VERSION: 2.14-717a
BUILD: 190724-1603
© 2019 ViciDial Group
CPU: 4 vCore
RAM: 8192 MB
Storage: 160 GB SSD