Call stuck at : Waiting for Ring

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Call stuck at : Waiting for Ring

Postby mitul036 » Sun Aug 23, 2020 11:19 pm

Hello, I am new to VICIBOX. Here are my VICIbox details:

VICIdial 9
VERSION: 2.14-766a
BUILD: 200816-0912

Asterisk version: 13.34.0-vici

Softphone: eyebeam

ISO: ViciBox_v9.x86_64-9.0.3.iso (Rufus and thumbdrive)

I am using Dell t140 as my server and it is behind NAT (Mikrotik router have the public IP, and the server is behind the router.)

Here is my dialplan, I am dialing Australian local number and my sip provider is also Australian company:

Code: Select all
Global String
NEWSIP= SIP/NEWSIP


Dialplan
Code: Select all
exten => _9XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9XXXXXXXXXX,n,Dial(${NEWSIP}/${EXTEN:1},,To)
exten => _9XXXXXXXXXX,n,Hangup


trunk info:
Code: Select all
[NEWSIP]
disallow=all
allow=ulaw
allow=alaw
canreinvite=no
dtmfmode=rfc2833
type=friend
username=XXX
fromuser=XXX
secret=XXX
host=sip.acevoip.com.au
fromdomain=sip.acevoip.com.au
context=trunkinbound
nat=force_rport,comedia
insecure=invite,port


Here is the registration string:
Code: Select all
register => xxx:xxx @sip.acevoip.com.au :5060


Now my SIP is registered and works perfectly when I directly dial any number using my softphone. But the problem arises when I try to make any outbound calls through agent screen. Either auto dial or Manual It gets stuck at: Waiting for ring....
And here is the asterisk CLI command output:

Code: Select all
vicibox9:~ # asterisk -rvvvvvvv
[Aug 24 09:43:21] Asterisk 13.34.0-vici, Copyright (C) 1999 - 2014, Digium, Inc. and others.
[Aug 24 09:43:21] Created by Mark Spencer <markster@digium.com>
[Aug 24 09:43:21] Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
[Aug 24 09:43:21] This is free software, with components licensed under the GNU General Public
[Aug 24 09:43:21] License version 2 and other licenses; you are welcome to redistribute it under
[Aug 24 09:43:21] certain conditions. Type 'core show license' for details.
[Aug 24 09:43:21] =========================================================================
[Aug 24 09:43:21] Connected to Asterisk 13.34.0-vici currently running on vicibox9 (pid = 2092)
[Aug 24 09:43:54]   == Using SIP RTP CoS mark 5
[Aug 24 09:43:54]     -- Called 201
[Aug 24 09:43:54]     -- SIP/201-00000000 is ringing
[Aug 24 09:43:56]        > 0x7f8ed400fce0 -- Strict RTP learning after remote address set to: 192.168.1.200:35502
[Aug 24 09:43:56]     -- SIP/201-00000000 answered
[Aug 24 09:43:56]     -- Executing [8600051@default:1] MeetMe("SIP/201-00000000", "8600051,F") in new stack
[Aug 24 09:43:56]     -- Created MeetMe conference 1023 for conference '8600051'
[Aug 24 09:43:56]     -- <SIP/201-00000000> Playing 'conf-onlyperson.gsm' (language 'en')
[Aug 24 09:43:56]        > 0x7f8ed400fce0 -- Strict RTP switching to RTP target address 192.168.1.200:35502 as source
[Aug 24 09:44:01]        > 0x7f8ed400fce0 -- Strict RTP learning complete - Locking on source address 192.168.1.200:35502
[Aug 24 09:44:35]     -- Called 58600051@default
[Aug 24 09:44:35]     -- Executing [58600051@default:1] MeetMe("Local/58600051@default-00000000;2", "8600051,Fmq") in new stack
[Aug 24 09:44:35]     -- Local/58600051@default-00000000;1 answered
[Aug 24 09:44:35]     -- Executing [8309@default:1] Answer("Local/58600051@default-00000000;1", "") in new stack
[Aug 24 09:44:35]     -- Executing [8309@default:2] Monitor("Local/58600051@default-00000000;1", "wav,20200824-034435_91300223266") in new stack
[Aug 24 09:44:35]     -- Executing [8309@default:3] Wait("Local/58600051@default-00000000;1", "3600") in new stack
[Aug 24 09:44:57]     -- Manager 'sendcron' from 127.0.0.1, hanging up channel: Local/58600051@default-00000000;2
[Aug 24 09:44:57]   == Spawn extension (default, 58600051, 1) exited non-zero on 'Local/58600051@default-00000000;2'
[Aug 24 09:44:57] WARNING[5149][C-00000001]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Aug 24 09:44:57]     -- Executing [h@default:1] AGI("Local/58600051@default-00000000;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0--------------------)") in new stack
[Aug 24 09:44:57]     -- <Local/58600051@default-00000000;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0--------------------) completed, returning 0
[Aug 24 09:44:57]   == Spawn extension (default, 8309, 3) exited non-zero on 'Local/58600051@default-00000000;1'
[Aug 24 09:44:57] WARNING[5148][C-00000002]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Aug 24 09:44:57]     -- Executing [h@default:1] AGI("Local/58600051@default-00000000;1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0--------------------)") in new stack
[Aug 24 09:44:57]     -- <Local/58600051@default-00000000;1>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0--------------------) completed, returning 0
vicibox9*CLI>


Can anyone point me what I am doing wrong? I am stuck like this for the last 1 week and can't find any solution. Any pointers will be highly appreciated.
mitul036
 
Posts: 2
Joined: Fri Aug 21, 2020 4:52 am

Re: Call stuck at : Waiting for Ring

Postby carpenox » Mon Aug 24, 2020 9:28 am

i dont see you trying to dial a number in that CLI output.... I can help but its hard thru messages here because its slow. Message me on facebook: chris nox
Alma Linux 9.3 | SVN Version: 3822 | DB Schema Version: 1711 | Asterisk 18.18.1
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WhatsApp: +19549477572 -:- Skype: live:carpenox_3 | Discord: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2250
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: Call stuck at : Waiting for Ring

Postby mitul036 » Thu Sep 17, 2020 10:00 pm

Thanks for the reply carpenox and really sorry for this delayed response. I am able to fix my issue. I was using a faulty extension for dialing. It is all working now. Thanks again.
mitul036
 
Posts: 2
Joined: Fri Aug 21, 2020 4:52 am

Re: Call stuck at : Waiting for Ring

Postby carpenox » Thu Sep 17, 2020 11:06 pm

no problem, can you post the solution that fixed the issue incase someone else comes along this post in the future with the same problem.....glad it all worked out
Alma Linux 9.3 | SVN Version: 3822 | DB Schema Version: 1711 | Asterisk 18.18.1
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WhatsApp: +19549477572 -:- Skype: live:carpenox_3 | Discord: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2250
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 86 guests

cron