Page 1 of 1

Inbound call hangs up

PostPosted: Tue Aug 20, 2019 2:43 am
by RMAH
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

Re: Inbound call hangs up

PostPosted: Tue Aug 20, 2019 8:01 am
by ambiorixg12
I see your sytem run the agi-VDAD_ALL_inbound.agi script , after the calls should be sent to the closers that are logged. But it just hnagup the call after playing music on hold. Can you post your DID setup

Re: Inbound call hangs up

PostPosted: Wed Aug 21, 2019 3:20 am
by RMAH
Hi, when the agent is paused the caller stays in queue but when the agent go´s active it hangups directly.
https://ibb.co/MVs6MXs
https://ibb.co/mGZVN1k

Re: Inbound call hangs up

PostPosted: Wed Aug 21, 2019 9:11 am
by ambiorixg12
Dont know if I might be wrong but it looks you re sending calls to a chat ingroup, I havent use chat feature, but I think if you re going to send inbound calls they should go to a regular ingroup

Re: Inbound call hangs up

PostPosted: Thu Aug 22, 2019 9:56 pm
by williamconley
ambiorixg12 wrote:Dont know if I might be wrong but it looks you re sending calls to a chat ingroup, I havent use chat feature, but I think if you re going to send inbound calls they should go to a regular ingroup

Very true. It's a common failure to route the DID to a location that can't possibly accept the call (or even to fail to configure that route entirely, I've seen many instances of routing to ingroup but without even choosing an ingroup).

Re: Inbound call hangs up

PostPosted: Fri Aug 23, 2019 1:15 am
by RMAH
Dont work with a ingroup selected. Also this settings works fine on a fresh install