Page 1 of 1

Asterisk CLI Error

PostPosted: Wed Feb 26, 2020 6:29 pm
by Ajay22
Hi Team,

Im facing multiples issue after doing scratch installation on CentOS 7 Asterisk 13.17.2

im not getting any outbound calls logs in asterisk CLI ( asterisk -r )

im only getting error message not full CLI logs

Can some one help me to enable my asterisk cli logger so that i can see the cli logs while calls are getting place and what replay we are getting from carrier

[Feb 26 19:57:27] NOTICE[13287]: manager.c:4309 action_hangup: Request to hangup non-existent channel: SIP/voitekk1-00000029
[Feb 26 19:57:30] WARNING[13186][C-0000005c]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Feb 26 19:57:30] WARNING[13185][C-0000005d]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Feb 26 19:57:33] WARNING[13193][C-00000065]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Feb 26 19:57:34] ERROR[13362][C-00000067]: netsock2.c:305 ast_sockaddr_resolve: getaddrinfo("vicidial", "(null)", ...): Name or service not known
[Feb 26 19:57:34] WARNING[13362][C-00000067]: acl.c:800 resolve_first: Unable to lookup 'vicidial'
[Feb 26 19:57:34] ERROR[13366][C-00000068]: netsock2.c:305 ast_sockaddr_resolve: getaddrinfo("vicidial", "(null)", ...): Name or service not known
[Feb 26 19:57:34] WARNING[13366][C-00000068]: acl.c:800 resolve_first: Unable to lookup 'vicidial'
[Feb 26 19:57:34] ERROR[13370][C-00000069]: netsock2.c:305 ast_sockaddr_resolve: getaddrinfo("vicidial", "(null)", ...): Name or service not known
[Feb 26 19:57:34] WARNING[13370][C-00000069]: acl.c:800 resolve_first: Unable to lookup 'vicidial'
[Feb 26 19:57:34] WARNING[13238][C-00000066]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Feb 26 19:57:46] WARNING[13365][C-0000006c]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Feb 26 19:57:46] ERROR[13448][C-0000006e]: netsock2.c:305 ast_sockaddr_resolve: getaddrinfo("vicidial", "(null)", ...): Name or service not known
[Feb 26 19:57:46] WARNING[13448][C-0000006e]: acl.c:800 resolve_first: Unable to lookup 'vicidial'
[Feb 26 19:57:47] WARNING[13361][C-0000006d]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Feb 26 19:57:49] ERROR[13472][C-0000006f]: netsock2.c:305 ast_sockaddr_resolve: getaddrinfo("vicidial", "(null)", ...): Name or service not known
[Feb 26 19:57:49] WARNING[13472][C-0000006f]: acl.c:800 resolve_first: Unable to lookup 'vicidial'
[Feb 26 19:57:51] WARNING[13277][C-00000070]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Feb 26 19:57:51] WARNING[13369][C-00000071]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Feb 26 19:57:51] ERROR[13520][C-00000072]: netsock2.c:305 ast_sockaddr_resolve: getaddrinfo("vicidial", "(null)", ...): Name or service not known
[Feb 26 19:57:51] WARNING[13520][C-00000072]: acl.c:800 resolve_first: Unable to lookup 'vicidial'
[Feb 26 19:57:51] ERROR[13524][C-00000073]: netsock2.c:305 ast_sockaddr_resolve: getaddrinfo("vicidial", "(null)", ...): Name or service not known
[Feb 26 19:57:51] WARNING[13524][C-00000073]: acl.c:800 resolve_first: Unable to lookup 'vicidial'
[Feb 26 19:57:54] NOTICE[13545]: manager.c:4309 action_hangup: Request to hangup non-existent channel: SIP/voitekk1-00000030
[Feb 26 19:57:54] WARNING[13384][C-0000006a]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Feb 26 19:57:54] WARNING[13383][C-0000006b]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Feb 26 19:57:56] ERROR[13576][C-00000074]: netsock2.c:305 ast_sockaddr_resolve: getaddrinfo("vicidial", "(null)", ...): Name or service not known
[Feb 26 19:57:56] WARNING[13576][C-00000074]: acl.c:800 resolve_first: Unable to lookup 'vicidial'
[Feb 26 19:57:57] NOTICE[13582]: manager.c:4309 action_hangup: Request to hangup non-existent channel: SIP/voitekk1-00000031
[Feb 26 19:57:59] ERROR[13598][C-00000075]: netsock2.c:305 ast_sockaddr_resolve: getaddrinfo("vicidial", "(null)", ...): Name or service not known
[Feb 26 19:57:59] WARNING[13598][C-00000075]: acl.c:800 resolve_first: Unable to lookup 'vicidial'
[Feb 26 19:57:59] WARNING[13615][C-00000076]: app_meetme.c:5252 admin_exec: Conference number '8600051' not found!
[Feb 26 19:57:59] WARNING[13615][C-00000076]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Feb 26 19:58:09] WARNING[13575][C-00000077]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Feb 26 19:58:10] WARNING[13519][C-00000078]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Feb 26 19:58:12] WARNING[13471][C-00000079]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Feb 26 19:58:13] WARNING[13597][C-0000007a]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Feb 26 19:58:16] NOTICE[13753]: manager.c:4309 action_hangup: Request to hangup non-existent channel: SIP/voitekk1-00000037
[Feb 26 19:58:18] NOTICE[13761]: manager.c:4309 action_hangup: Request to hangup non-existent channel: SIP/voitekk1-0000003a

Re: Asterisk CLI Error

PostPosted: Wed Feb 26, 2020 6:49 pm
by williamconley
1) You are performing a scratch installation, but have not listed your installation .iso (ie: the CentOS .iso version you are starting with) and you have not posted a link to your installation instructions. Please be aware that the goal here is not JUST to get you up and running, but to save this information online so the next guy who tries to use that same installation method and hits the same snag can find this post and get the same solution.

2) More to the point: What if someone on here has already used those installation instructions and either has a better set OR a fix for the one you are using? You could get a direct link to get you fully operational immediately. Just a thought. 8-) (Please post a link to your installation instructions)

3) To view the asterisk CLI WITH perl errors (should any occur):
Code: Select all
screen -r asterisk

Beware: This is not "a console" this is "THE console". If you hit ctrl-c, you will shut off asterisk. use ctrl-a then ctrl-d to detach from that screen and leave it running.

4) To add debugging to an asterisk console, you can use these:
Code: Select all
sip set debug on
core set debug 5
iax2 set debug on

kill them with
Code: Select all
sip set debug off
core set debug 0
iax2 set debug off


5) You should NOT be performing a scratch install. You should be installing from the Vicibox .iso installer. You're going to create a headache for yourself much worse than getting a used car with a lot of problems. This is more like getting a used car for which there are NO replacement parts and you'll have to machine all your own parts. Use Vicibox. That's why it exists. Rackspace has Vicidial servers running Vicibox right now. They aren't as inexpensive as some other colocation facilities (ahem, "PoundTeam Incorporated" comes to mind, as well as ViciHost.com ...)

Re: Asterisk CLI Error

PostPosted: Wed Feb 26, 2020 8:57 pm
by Ajay22
Hi Williamconley,

Thanks for your prompt reply,

i have re install the vicidial from scratch method this time i have install asterisk 13.21.0-vici

im facing 2 error on this as compare to asterisk 13.17.2-vici

i have done scratch installation method from this reefer https://vicigeek.com/vicidial-scratch-i ... terisk-13/

Also i have spoken with Rackspace for vicibox server installation from where i can deploy it instant server but they are not aware of that can you pls send me the rackspace market link of vicibox

Re: Asterisk CLI Error

PostPosted: Wed Feb 26, 2020 9:00 pm
by Ajay22
Dear Sir,

im facing this error
also answering machine and no answer autodial calls are not getting disconnected from asterisk its keep on connected with carrier also i have noticed that answering machine calls are not getting hit to agents but from background of asterisk its connected

resolve_first: Unable to lookup 'vicidial' <- vicidial is my server name

Code: Select all
Connected to Asterisk 13.21.0-vici currently running on vicidial (pid = 2293)
[Feb 26 20:50:47] NOTICE[2380]: chan_sip.c:24639 handle_response_peerpoke: Peer '7001' is now Reachable. (131ms / 2000ms)
[Feb 26 20:50:54] ERROR[3622]: netsock2.c:305 ast_sockaddr_resolve: getaddrinfo("vicidial", "(null)", ...): Name or service not known
[Feb 26 20:50:54] WARNING[3622]: acl.c:835 resolve_first: Unable to lookup 'vicidial'
[Feb 26 20:51:09] ERROR[3738][C-00000002]: netsock2.c:305 ast_sockaddr_resolve: getaddrinfo("vicidial", "(null)", ...): Name or service not known
[Feb 26 20:51:09] WARNING[3738][C-00000002]: acl.c:835 resolve_first: Unable to lookup 'vicidial'
[Feb 26 20:51:09] ERROR[3745][C-00000003]: netsock2.c:305 ast_sockaddr_resolve: getaddrinfo("vicidial", "(null)", ...): Name or service not known
[Feb 26 20:51:09] WARNING[3745][C-00000003]: acl.c:835 resolve_first: Unable to lookup 'vicidial'
[Feb 26 20:51:09] ERROR[3750][C-00000004]: netsock2.c:305 ast_sockaddr_resolve: getaddrinfo("vicidial", "(null)", ...): Name or service not known
[Feb 26 20:51:09] WARNING[3750][C-00000004]: acl.c:835 resolve_first: Unable to lookup 'vicidial'
[Feb 26 20:51:09] ERROR[3754][C-00000005]: netsock2.c:305 ast_sockaddr_resolve: getaddrinfo("vicidial", "(null)", ...): Name or service not known
[Feb 26 20:51:09] WARNING[3754][C-00000005]: acl.c:835 resolve_first: Unable to lookup 'vicidial'
[Feb 26 20:51:13] WARNING[3737][C-00000006]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Feb 26 20:51:13] WARNING[3753][C-00000007]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Feb 26 20:51:17] ERROR[3852][C-0000000a]: netsock2.c:305 ast_sockaddr_resolve: getaddrinfo("vicidial", "(null)", ...): Name or service not known
[Feb 26 20:51:17] WARNING[3852][C-0000000a]: acl.c:835 resolve_first: Unable to lookup 'vicidial'
[Feb 26 20:51:24] NOTICE[3901]: manager.c:4366 action_hangup: Request to hangup non-existent channel: SIP/voitekk1-00000001
[Feb 26 20:51:24] WARNING[3825][C-00000008]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Feb 26 20:51:24] WARNING[3824][C-00000009]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Feb 26 20:51:24] WARNING[3851][C-0000000b]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Feb 26 20:51:30] WARNING[3744][C-0000000c]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Feb 26 20:51:32] WARNING[3749][C-0000000d]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Feb 26 20:51:42] ERROR[4031][C-0000000e]: netsock2.c:305 ast_sockaddr_resolve: getaddrinfo("vicidial", "(null)", ...): Name or service not known
[Feb 26 20:51:42] WARNING[4031][C-0000000e]: acl.c:835 resolve_first: Unable to lookup 'vicidial'
[Feb 26 20:51:42] ERROR[4037][C-0000000f]: netsock2.c:305 ast_sockaddr_resolve: getaddrinfo("vicidial", "(null)", ...): Name or service not known
[Feb 26 20:51:42] WARNING[4037][C-0000000f]: acl.c:835 resolve_first: Unable to lookup 'vicidial'
[Feb 26 20:51:42] ERROR[4043][C-00000010]: netsock2.c:305 ast_sockaddr_resolve: getaddrinfo("vicidial", "(null)", ...): Name or service not known
[Feb 26 20:51:42] WARNING[4043][C-00000010]: acl.c:835 resolve_first: Unable to lookup 'vicidial'
[Feb 26 20:51:42] ERROR[4047][C-00000011]: netsock2.c:305 ast_sockaddr_resolve: getaddrinfo("vicidial", "(null)", ...): Name or service not known
[Feb 26 20:51:42] WARNING[4047][C-00000011]: acl.c:835 resolve_first: Unable to lookup 'vicidial'
[Feb 26 20:52:01] WARNING[4042][C-00000012]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Feb 26 20:52:05] ERROR[4224][C-00000013]: netsock2.c:305 ast_sockaddr_resolve: getaddrinfo("vicidial", "(null)", ...): Name or service not known
[Feb 26 20:52:05] WARNING[4224][C-00000013]: acl.c:835 resolve_first: Unable to lookup 'vicidial'
[Feb 26 20:52:06] WARNING[4030][C-00000014]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Feb 26 20:52:06] WARNING[4036][C-00000015]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Feb 26 20:52:10] ERROR[4298][C-00000018]: netsock2.c:305 ast_sockaddr_resolve: getaddrinfo("vicidial", "(null)", ...): Name or service not known
[Feb 26 20:52:10] WARNING[4298][C-00000018]: acl.c:835 resolve_first: Unable to lookup 'vicidial'
[Feb 26 20:52:18] NOTICE[4351]: manager.c:4366 action_hangup: Request to hangup non-existent channel: SIP/voitekk1-00000006
[Feb 26 20:52:18] WARNING[4291][C-00000016]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Feb 26 20:52:18] WARNING[4290][C-00000017]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Feb 26 20:52:22] ERROR[4391][C-0000001a]: netsock2.c:305 ast_sockaddr_resolve: getaddrinfo("vicidial", "(null)", ...): Name or service not known
[Feb 26 20:52:22] WARNING[4391][C-0000001a]: acl.c:835 resolve_first: Unable to lookup 'vicidial'
[Feb 26 20:52:23] WARNING[4297][C-00000019]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Feb 26 20:52:27] WARNING[4223][C-0000001b]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Feb 26 20:52:27] ERROR[4442][C-0000001c]: netsock2.c:305 ast_sockaddr_resolve: getaddrinfo("vicidial", "(null)", ...): Name or service not known
[Feb 26 20:52:27] WARNING[4442][C-0000001c]: acl.c:835 resolve_first: Unable to lookup 'vicidial'
[Feb 26 20:52:30] ERROR[4479][C-0000001e]: netsock2.c:305 ast_sockaddr_resolve: getaddrinfo("vicidial", "(null)", ...): Name or service not known
[Feb 26 20:52:30] WARNING[4479][C-0000001e]: acl.c:835 resolve_first: Unable to lookup 'vicidial'
[Feb 26 20:52:30] WARNING[4441][C-0000001d]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Feb 26 20:52:35] ERROR[4516][C-0000001f]: netsock2.c:305 ast_sockaddr_resolve: getaddrinfo("vicidial", "(null)", ...): Name or service not known
[Feb 26 20:52:35] WARNING[4516][C-0000001f]: acl.c:835 resolve_first: Unable to lookup 'vicidial'
[Feb 26 20:52:43] ERROR[4560][C-00000020]: netsock2.c:305 ast_sockaddr_resolve: getaddrinfo("vicidial", "(null)", ...): Name or service not known
[Feb 26 20:52:43] WARNING[4560][C-00000020]: acl.c:835 resolve_first: Unable to lookup 'vicidial'
[Feb 26 20:52:48] WARNING[4390][C-00000021]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Feb 26 20:52:55] WARNING[4559][C-00000022]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Feb 26 20:52:55] WARNING[4515][C-00000023]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Feb 26 20:53:02] NOTICE[4706]: manager.c:4366 action_hangup: Request to hangup non-existent channel: SIP/voitekk1-00000010