can't manage to get inbound calls

All installation and configuration problems and questions

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

can't manage to get inbound calls

Postby lcx » Tue Jun 10, 2014 11:55 am

I created a DID, In-Group as described in the manual.
But nothing really happens, I see the call is reaching the server

Code: Select all
  -- Executing [431234567@trunkinbound:1] AGI("SIP/lcx-00000041", "agi-DID_route.agi") in new stack
  -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-DID_route.agi
  -- <SIP/lcx-00000041>AGI Script agi-DID_route.agi completed, returning 0
  -- Executing [431234567@trunkinbound:2] Hangup("SIP/lcx-00000041", "") in new stack
== Spawn extension (trunkinbound, 431234567, 2) exited non-zero on 'SIP/lcx-00000041'
  -- Executing [h@trunkinbound:1] AGI("SIP/lcx-00000041", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16---------------") in new stack
  -- <SIP/lcx-00000041>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16--------------- completed, returning 0
== Manager 'sendcron' logged on from 127.0.0.1


and it's being passed to agi-DID_route.agi but then it's just hung up.
I checked the logfiles but didn't find something useful there. What am I missing?
Agent is logged in, the in-group was selected, the "Allowed Inbound Groups" was enabled in the campaign but still no luck.


LE:

This is what I could find in the FASTagiout logfile:

Code: Select all
2014-06-10 18:56:50|VDfastAGI|begin|+++++++++++++++++ FastAGI Start ++++++++++++++++++++++++++++++++++++++++
2014-06-10 18:56:50|VDfastAGI|begin|Perl Environment Dump:
2014-06-10 18:56:50|VDfastAGI|begin|0|--debug
2014-06-10 18:56:50|VDfastAGI|begin|URL HVcauses: |PRI|NODEBUG|16|||0|
2014-06-10 18:56:50|VDfastAGI|begin|AGI Environment Dump:
2014-06-10 18:56:50|VDfastAGI|begin| -- accountcode =
2014-06-10 18:56:50|VDfastAGI|begin| -- callerid = 43650123123123
2014-06-10 18:56:50|VDfastAGI|begin| -- calleridname = 43650123123123
2014-06-10 18:56:50|VDfastAGI|begin| -- callingani2 = 0
2014-06-10 18:56:50|VDfastAGI|begin| -- callingpres = 0
2014-06-10 18:56:50|VDfastAGI|begin| -- callingtns = 0
2014-06-10 18:56:50|VDfastAGI|begin| -- callington = 0
2014-06-10 18:56:50|VDfastAGI|begin| -- channel = SIP/lcx-00000043
2014-06-10 18:56:50|VDfastAGI|begin| -- context = trunkinbound
2014-06-10 18:56:50|VDfastAGI|begin| -- dnid = 431234567
2014-06-10 18:56:50|VDfastAGI|begin| -- enhanced = 0.0
2014-06-10 18:56:50|VDfastAGI|begin| -- extension = h
2014-06-10 18:56:50|VDfastAGI|begin| -- language = en
2014-06-10 18:56:50|VDfastAGI|begin| -- network = yes
2014-06-10 18:56:50|VDfastAGI|begin| -- network_script = call_log--HVcauses--PRI-----NODEBUG-----16---------------
2014-06-10 18:56:50|VDfastAGI|begin| -- priority = 1
2014-06-10 18:56:50|VDfastAGI|begin| -- rdnis = unknown
2014-06-10 18:56:50|VDfastAGI|begin| -- request = agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16---------------
2014-06-10 18:56:50|VDfastAGI|begin| -- threadid = 139960765519616
2014-06-10 18:56:50|VDfastAGI|begin| -- type = SIP
2014-06-10 18:56:50|VDfastAGI|begin| -- uniqueid = 1402419410.104
2014-06-10 18:56:50|VDfastAGI|begin| -- version = 1.8.23.0-vici
2014-06-10 18:56:50|VDfastAGI|begin|AGI Variables: |1402419410.104|SIP/lcx-00000043|h|SIP|43650123123123|
2014-06-10 18:56:50|VDfastAGI|call_log|Process to run: |agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16---------------|call_log|END|
2014-06-10 18:56:50|VDfastAGI|call_log||CALL HUNG UP|
2014-06-10 18:56:50|VDfastAGI|call_log|URL HVcauses: |PRI|NODEBUG|16|||0|
2014-06-10 18:56:50|VDfastAGI|call_log||DELETE from live_inbound where uniqueid IN('1402419410.104','1402419410.104') and server_ip='10.10.20.17'|
2014-06-10 18:56:50|VDfastAGI|call_log|+++++ CALL LOG HUNGUP: |1402419410.104|SIP/lcx-00000043|h|2014-06-10 18:56:50|min: |
2014-06-10 18:56:50|VDfastAGI|call_log|DEBUG: NODEBUG
2014-06-10 18:56:50|VDfastAGI|call_log|VD_hangup : 43650123123123 SIP/lcx-00000043 1 52
2014-06-10 18:56:50|VDfastAGI|call_log||SELECT lead_id,callerid,campaign_id,alt_dial,stage,UNIX_TIMESTAMP(call_time),uniqueid,status,call_time,phone_code,phone_number,queue_position FROM vicidial_auto_calls where uniqueid = '1402419410.104' or callerid = '43650123123123' limit 1;|
2014-06-10 18:56:50|VDfastAGI|call_log|VD hangup: no VDAC record found: 1402419410.104 43650123123123
Vicidial 2.8-440a Build 140521-2101 from scratch | Asterisk 1.8.23.0-vici| Single Server (XEN Virtual Server)| No Digium/Sangoma Hardware | No Extra Software After Installation | Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz
lcx
 
Posts: 9
Joined: Sat Jun 07, 2014 5:13 am

Re: can't manage to get inbound calls

Postby williamconley » Tue Jun 10, 2014 12:44 pm

1) Welcome to the Party! 8-)

2) As you are obviously new here, I have some suggestions to help us all help you:

When you post, please post your entire configuration including (but not limited to) your installation method and vicidial version with build.

This IS a requirement for posting along with reading the stickies (at the top of each forum) and the manager's manual (available on EFLO.net, both free and paid versions)

You should also post: Asterisk version, telephony hardware (model number is helpful here), cluster information if you have one, and whether any other software is installed in the box. If your installation method is "from scratch" you must post your operating system and should also post the .iso version from which you installed your original operating system. If your installation is "Hosted" list the site name of the host.

If this is a "Cloud" or "Virtual" server, please note the technology involved along with the version of that techology (ie: VMware Server Version 2.0.2). If it is not, merely stating the Motherboard model # and CPU would be helpful.

Similar to This:

Vicibox X.X from .iso | Vicidial X.X.X-XXX Build XXXXXX-XXXX | Asterisk X.X.X | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | Intel DG35EC | Core2Quad Q6600

3) You did not share your DID settings. You probably missed the assignment of WHICH ingroup. After all, routing it to "ingroup" does not help if you do not state WHICH ingroup to go to. :) (also: did you follow the vicidial manager's manual entry for this? step by step includes the choice of ingroup ...)

4) Happy Hunting 8-)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: can't manage to get inbound calls

Postby lcx » Tue Jun 10, 2014 12:56 pm

Hi, I used this howto to install on Debian instead of centos ray-solomon (can't post link as forum forbids it :( )
It's running on Debian 7 as a XEN VPS with Asterisk 1.8.23.0-vici, running one server only, no cluster.
VERSION: 2.8-440a
BUILD: 140521-2101
Outbound calls are working fine. I just have a problem getting the inbound calls to work :(

I wanted to add al ink for a screenshot of the did settings, but the forum tells me: "Your post looks too spamy for a new user, please remove off-site URLs."
since I have no other way, here is the link to the screenshot: i(dot)lcx(dot)co/vici_did.png

LE:

my extensions.conf for the inbound trunk look like this:

Code: Select all
[trunkinbound]
; DID call routing process
; exten => _XXXXXXXXXX,1,AGI(agi-DID_route.agi)  ; use this one instead of the one below if you are having delay issues, and match to number of received digits
exten => _X.,1,AGI(agi-DID_route.agi)
exten => _X.,n,Hangup()
; If you have DIDs that arrive with a plus sign at the beginning then uncomment
;exten => _+X.,1,AGI(agi-DID_route.agi)
;exten => _+X.,n,Hangup()

; FastAGI for VICIDIAL/astGUIclient call logging
exten => h,1,AGI(agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME})


forgot to answer your question. Yes I followed the vicidial manager's manual entry for this. step by step.
Vicidial 2.8-440a Build 140521-2101 from scratch | Asterisk 1.8.23.0-vici| Single Server (XEN Virtual Server)| No Digium/Sangoma Hardware | No Extra Software After Installation | Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz
lcx
 
Posts: 9
Joined: Sat Jun 07, 2014 5:13 am

Re: can't manage to get inbound calls

Postby lcx » Tue Jun 10, 2014 2:30 pm

Found it!

Turns out I was missing Asterisk/AGI.pm
On debian/ubuntu this means that libasterisk-agi-perl needs to be installed.
Vicidial 2.8-440a Build 140521-2101 from scratch | Asterisk 1.8.23.0-vici| Single Server (XEN Virtual Server)| No Digium/Sangoma Hardware | No Extra Software After Installation | Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz
lcx
 
Posts: 9
Joined: Sat Jun 07, 2014 5:13 am


Return to Support

Who is online

Users browsing this forum: No registered users and 112 guests