Hello Support Team!
I have installed VICIdial on a single machine. I can make
outbound call (through the Agent's web interface) with the
Carrier settings below.
Through out the post i changed the following:
SIP accont with sipaccount.
SIP accont password with sipaccountpassword.
SIP server IP with 188.XX.XXX.XX (public IP).
Our DID (for inbound calls) with DID.
Carrier settings
Carrier ID: SIP_CARRIER.
Carrier Name: VICIdial SIP Carrier.
Admin User Group: All.
Registration String: register => sipaccount:sipaccountpassword@188.XX.XXX.XX:5060/DID (with DID being our DID).
Template ID: NONE.
Account Entry:
[sipaccount]
disallow=all
allow=ulaw
type=friend
username=sipaccount
secret=sipaccountpassword
host=188.XX.XXX.XX
dtmfmode=rfc2833
context=trunkinbound
qualify=yes
Protocol: SIP
Globals String: Empty
Dialplan Entry:
exten => _9237XXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9237XXXXXXXXX,2,Dial(SIP/${EXTEN:1}@sipaccount,,tTo)
exten => _9237XXXXXXXXX,3,Hangup()
Server IP: XXX:XXX:XX:XXX (VICIdial server IP)
Active: Y
But when i make inbound calls i get the message "the callee is busy now, please try again later. Below shows the Logs when the inbound call is going through.
Detailed explanation of inbound configuration.
Ingroup configurationGroup ID: Test_sales_in_group
Group Name: Primary Sales Line
Active: Y
Admin User Group: All
Next Agent Call:ring all
Queue Priority: 0 (No other ingoup is active in the system)
Script: CALLNOTE (default script)
I went to the campaign and added the ingroup into it.
DID settingDID Extension: Ourcompany'sDID
Active:Y
Admin User Group: All
DID Route: INGROUP
In-Group ID: Test_sales_in_group (The ingroup created above)
In-Group Call Handle Method: CID
In-Group Agent Search Method: LB
In-Group List ID: 106 (Which is the List i created to upload leads in the campaign)
I changed the trunkinbound in Extensions.conf as below.
[trunkinbound]
exten => DID,1,AGI(agi-DID_route.agi)
exten => DID,n,Hangup()
exten => h,1,AGI(agi://127.0.0.1:4577/call_log--HVcauses ... EBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME}-----${HANGUPCAUSE(${HANGUPCAUSE_KEYS()},tech)}))
Asterisk logs during inbound calls localhost*CLI>
== Using SIP RTP CoS mark 5
> 0x7f3a40026900 -- Strict RTP learning after remote address set to: 188.XX.XXX.XX:10460
-- Executing [DID@trunkinbound:1] AGI("SIP/sipaccount-0000000e", "agi-DID_route.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-DID_route.agi
-- <SIP/sipaccount-0000000e>AGI Script agi-DID_route.agi completed, returning 0
-- Executing [DID@trunkinbound:2] Hangup("SIP/sipaccount-0000000e", "") in new stack
== Spawn extension (trunkinbound, DID, 2) exited non-zero on 'SIP/sipaccount-0000000e'
[Mar 30 16:49:46] WARNING[15492][C-0000001e]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
-- Executing [h@trunkinbound:1] AGI("SIP/sipaccount-0000000e", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16--------------------)") in new stack
-- <SIP/sipaccount-0000000e>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ----------) completed, returning 0
I have followed the admininstrator manual and as well searched the solution online to no avail (what i see are other cases different mind).
Thank you for helping reolve this problem.
System information
VERSION: 2.14-738a
BUILD: 200210-1628
single server
install is done with the help of scratch installation of vicidial on CentOS 7