Can not do any Outbound call.
Added by beshoo beshoo about 1 year ago
Dear support.
Thank you for your time reviewing all posts.
After hours of searching to fis this problem decide to open this , it may help others how may faced the same situation I have.
First of all, I got a provider and I test to make a call directly form Zoiper5, and it works so are sure there is no problem with the provider.
Now, when the agent log in , chose the campine , click on the file button, it just said waiting for ring and the call time out.
Now lets go the debugging
systemctl status asterisk l
------------------------
When agent log , do call , The asterisk -r show nothing even after "Console verbose was OFF and is now 30."
but if I view the messages log I can see the following
------------------------------
Lets see the "/var/log/asterisk/messages"
A lot of this message:
[Dec 8 11:47:16] NOTICE8895 chan_sip.c: -- Registration for '[email protected]' timed out, trying again (Attempt #42)
[Dec 8 11:47:36] NOTICE8895 chan_sip.c: -- Registration for '[email protected]' timed out, trying again (Attempt #43)
[Dec 8 11:47:56] NOTICE8895 chan_sip.c: -- Registration for '[email protected]' timed out, trying again (Attempt #44)
-----------------------------------------
And here is the most errors appears!
[Dec 8 11:21:21] ERROR[14159] tcptls.c: Unable to bind AMI server to 0.0.0.0:5038: Address already in use [Dec 8 11:21:21] NOTICE[14159] loader.c: 236 modules will be loaded. [Dec 8 11:21:21] ERROR[14159] config_options.c: Could not find option suitable for category 'opus' named 'samprate' at line 210 of [Dec 8 11:21:21] ERROR[14159] res_sorcery_config.c: Could not create an object of type 'opus' with id 'opus' from configuration file 'codecs.conf' [Dec 8 11:21:21] WARNING[14159] res_phoneprov.c: Unable to find a valid server address or name. [Dec 8 11:21:21] ERROR[14159] ari/config.c: No configured users for ARI [Dec 8 11:21:21] WARNING[14159] res_config_mysql.c: MySQL RealTime: No database user found, using 'asterisk' as default. [Dec 8 11:21:21] WARNING[14159] res_config_mysql.c: MySQL RealTime: No database password found, using 'asterisk' as default. [Dec 8 11:21:21] WARNING[14159] res_config_mysql.c: MySQL RealTime: No database host found, using localhost via socket. [Dec 8 11:21:21] WARNING[14159] res_config_mysql.c: MySQL RealTime: No database name found, using 'asterisk' as default. [Dec 8 11:21:21] WARNING[14159] res_config_mysql.c: MySQL RealTime: No database port found, using 3306 as default. [Dec 8 11:21:21] WARNING[14159] res_config_mysql.c: MySQL RealTime: No database socket found, using '/var/lib/mysql/mysql.sock' as default. [Dec 8 11:21:21] WARNING[14159] res_config_mysql.c: MySQL RealTime: No database socket found (and unable to detect a suitable path). [Dec 8 11:21:21] WARNING[14159] res_musiconhold.c: No music on hold classes configured, disabling music on hold. [Dec 8 11:21:21] WARNING[14159] chan_dahdi.c: Ignoring any changes to 'userbase' (on reload) at line 23. [Dec 8 11:21:21] WARNING[14159] chan_dahdi.c: Ignoring any changes to 'vmsecret' (on reload) at line 31. [Dec 8 11:21:21] WARNING[14159] chan_dahdi.c: Ignoring any changes to 'hassip' (on reload) at line 35. [Dec 8 11:21:21] WARNING[14159] chan_dahdi.c: Ignoring any changes to 'hasiax' (on reload) at line 39. [Dec 8 11:21:21] WARNING[14159] chan_dahdi.c: Ignoring any changes to 'hasmanager' (on reload) at line 47. [Dec 8 11:21:21] WARNING[14159] db.c: Couldn't execute stmt: SQL logic error or missing database [Dec 8 11:21:21] VERBOSE[14159] chan_sip.c: SIP channel loading... [Dec 8 11:21:21] WARNING[14201] db.c: Couldn't execute statment: SQL logic error or missing database [Dec 8 11:21:21] NOTICE[14159] chan_sip.c: The 'username' field for sip peers has been deprecated in favor of the term 'defaultuser' [Dec 8 11:21:21] WARNING[14159] channel.c: Already have a handler for type 'MulticastRTP' [Dec 8 11:21:21] ERROR[14159] chan_multicast_rtp.c: Unable to register channel class 'MulticastRTP' [Dec 8 11:21:21] NOTICE[14244] chan_sip.c: Peer 'ukrcall' is now Reachable. (40ms / 2000ms) [Dec 8 11:21:21] NOTICE[14159] confbridge/conf_config_parser.c: Adding default_menu menu to app_confbridge [Dec 8 11:21:21] NOTICE[14159] cel_custom.c: No mappings found in cel_custom.conf. Not logging CEL to custom CSVs. [Dec 8 11:21:21] NOTICE[14244] chan_sip.c: Peer 'kamailio' is now Reachable. (148ms / 2000ms) [Dec 8 11:21:21] WARNING[14159] db.c: Couldn't execute statment: SQL logic error or missing database [Dec 8 11:21:21] WARNING[14159] db.c: Couldn't execute statment: SQL logic error or missing database [Dec 8 11:21:21] ERROR[14159] pbx_dundi.c: Unable to bind to 0.0.0.0 port 4520: Address already in use [Dec 8 11:21:21] ERROR[14159] codec_dahdi.c: Failed to open /dev/dahdi/transcode: No such file or directory [Dec 8 11:21:21] NOTICE[14159] app_conference.c: Loading app_konference module release=2.7 [Dec 8 11:21:21] VERBOSE[14159] asterisk.c: Asterisk Ready.
------------------------------------------------------------
Other status:
systemctl status ngcp-rtpengine
systemctl status kamailio -l
Replies (6)
RE: Can not do any Outbound call. - Added by beshoo beshoo about 1 year ago
I don’t understand the meaning of Carriers > Dial Prefix.
Let’s say I want to call a phone number like +96597775566. Do I need to create a Carrier for each country and set the Dial Prefix to the country code?
I don’t know what the Dial Prefix is used for, so I set it to 963. Now I want to call a Kuwait number +96550963266. I set the country code to Kuwait, which is 965, and in the CSV file that has the leads, I set the phone_number without 965 and set the country code to 965.
What does phone_code mean?
When I do a call from agent interface, I see something like:
But there is no call made ...
and the log look like this :
/var/log/asterisk/messages
[Dec 8 10:41:07] VERBOSE[8273][C-00000044] pbx.c: Spawn extension (default, 96396550963266, 3) exited non-zero on 'Local/8600051@default-0000002b;1'
What is this mean :
Unable to create channel of type 'SIP'
[Dec 8 21:53:58] WARNING[12712][C-00000053] app_dial.c: Unable to create channel of type 'SIP' (cause 20 - Subscriber absent) [Dec 8 21:53:58] VERBOSE[12712][C-00000053] app_dial.c: Everyone is busy/congested at this time (1:0/0/1) [Dec 8 21:53:58] VERBOSE[12712][C-00000053] pbx.c: Executing [96396597775566@default:3] Hangup("Local/8600051@default-00000035;1", "") in new stack [Dec 8 21:53:58] VERBOSE[12712][C-00000053] pbx.c: Spawn extension (default, 96396597775566, 3) exited non-zero on 'Local/8600051@default-00000035;1' [Dec 8 21:53:58] WARNING[12712][C-00000053] func_hangupcause.c: Unable to find information for channel [Dec 8 21:53:58] VERBOSE[12712][C-00000053] pbx.c: Executing [h@default:1] AGI("Local/8600051@default-00000035;1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----20-----CHANUNAVAIL---------------)") in new stack
As you can see all this problems because lack of documentation!
RE: Can not do any Outbound call. - Added by beshoo beshoo about 1 year ago
So, are the system try to call : 96396597775566?
Executing [96396597775566@default:3]
If there is documentation that describes how to debug the program processes, I would be grateful. It would be a valuable resource for self-learning
RE: Can not do any Outbound call. - Added by beshoo beshoo about 1 year ago
1. Complete carrier settings.
2. Screenshot of your campaign settings.
---
---
---
---
---
RE: Can not do any Outbound call. - Added by Wittie Manansala about 1 year ago
I replied here: https://goautodial.org/boards/3/topics/21962?r=21997. Let's use that link. Regarding the issues, I think you might have just one problem