Inbound call not going to agent

All installation and configuration problems and questions

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

Inbound call not going to agent

Postby dkstinger » Mon Aug 27, 2007 2:59 pm

Hi
I am using Vicidial 2.0.3b with Asterisk 1.4.9 (oops!)

When a call comes in, the caller hears something like: "Your call is very important to us. Please stay online till you are transfered to the next available agent."
and this announcement keeps repeating for ever.

An agent is logged in to Vicidial and the softphone is properly registered. After a minute or so of logging in, the screen "Noone in your session: 8600051" comes up.

I think my meetme.conf and extensions.conf are in shape. (see below)

Please give me a clue.

The CLI Output:
*CLI> -- Executing [s@incoming:1] AGI("SIP/8891-08565258", "call_log.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/call_log.agi
-- AGI Script call_log.agi completed, returning 0
-- Executing [s@incoming:2] AGI("SIP/8891-08565258", "call_inbound.agi|LaptopPC-----2103724-----BrainTel SIP-----x-----y-----z-----w") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/call_inbound.agi
-- AGI Script call_inbound.agi completed, returning 0
-- Executing [s@incoming:3] Wait("SIP/8891-08565258", "1") in new stack
-- Executing [s@incoming:4] Answer("SIP/8891-08565258", "") in new stack
-- Executing [s@incoming:5] AGI("SIP/8891-08565258", "agi-VDADcloser_inboundCID.agi|CL_GALLERIA-----2103724-----Closer-----park----------999-----1") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADcloser_inboundCID.agi
-- Playing 'beep' (escape_digits=) (sample_offset 0)
-- Playing 'hold_tone' (escape_digits=) (sample_offset 0)
-- Playing 'generic_hold' (escape_digits=) (sample_offset 0)
-- Playing 'hold_tone' (escape_digits=) (sample_offset 0)
-- Playing 'hold_tone' (escape_digits=) (sample_offset 0)
-- Playing 'hold_tone' (escape_digits=) (sample_offset 0)
-- Playing 'hold_tone' (escape_digits=) (sample_offset 0)
== Spawn extension (incoming, s, 5) exited non-zero on 'SIP/8891-08565258'
-- Executing [h@incoming:1] DeadAGI("SIP/8891-08565258", "call_log.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/call_log.agi
-- AGI Script call_log.agi completed, returning 0




meetme.conf
[rooms]
conf => 8600
conf => 8601,1234

conf => 8600001
conf => 8600002
conf => 8600003
conf => 8600004
goes on .......................

conf => 8600051
conf => 8600052
conf => 8600053
conf => 8600054
conf => 8600055
conf => 8600056
conf => 8600057
conf => 8600058
conf => 8600059
conf => 8600060
conf => 8600061
goes on...........................

conf => 8600900
conf => 8600901
conf => 8600902
conf => 8600903
conf => 8600904
conf => 8600905
goes on..........................



extensions.conf
[general]
static=yes
writeprotect=no
clearglobalvars=no


[incoming]
exten => s,1,AGI(call_log.agi)
exten => s,n,AGI(call_inbound.agi,LaptopPC-----2103724-----BrainTel SIP-----x-----y-----z-----w)
exten => s,n,Wait(1)
exten => s,n,Answer()
exten => s,n,AGI(agi-VDADcloser_inboundCID.agi,CL_GALLERIA-----2103724-----Closer-----park----------999-----1)
exten => s,n,Dial(SIP/LaptopPC)
;exten => s,n,Playback(park)
exten => s,n,Hangup()

exten => h,1,DeadAGI(call_log.agi)
exten =>
h,2,DeadAGI(VD_hangup--HVcauses--PRI-----NODEBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME}))

exten => 100,1,Dial(SIP/Desktop,30,to)
exten => 100,n,Voicemail(u100)

exten => 101,1,Dial(SIP/LaptopPC,30,to)
exten => 101,n,Voicemail(u101)

exten => _03XXXXXXXXX,1,Goto(outgoing,${EXTEN},1)

; Extension 8600 + 8601 conference rooms
exten => 8600,1,Meetme,8600
exten => 8601,1,Meetme,8601

; # timeout invalid rules
exten => #,1,Playback(invalid) ; "Thanks for trying the demo"
exten => #,2,Hangup ; Hang them up.
exten => t,1,Goto(#,1) ; If they take too long, give up
exten => i,1,Playback(invalid) ; "That's not valid, try again"

; Give voicemail at extension 8500
exten => 8500,1,VoicemailMain
exten => 8500,2,Goto(s,6)

; parameters for agi-VDADcloser.agi (2 fields separated by five dashes "-----"):
; 1. the full extension formatted by VICIDIAL for internal transfers * separated
; 2. the word START to denote the beginning of the acceptance of the transfer
; inbound VICIDIAL transfer calls [can arrive through PRI T1 crossover or IAX channel]
exten => _90009.,1,Answer ; Answer the line
exten => _90009.,2,AGI(agi-VDADcloser.agi,${EXTEN}-----START)
exten => _90009.,3,Hangup

exten => 4545,1,Playback(park)

exten => 8600001,1,Meetme,8600001|q
exten => 8600002,1,Meetme,8600002|q
exten => 8600003,1,Meetme,8600003|q
exten => 8600004,1,Meetme,8600004|q
exten => 8600005,1,Meetme,8600005|q
exten => 8600006,1,Meetme,8600006|q
exten => 8600007,1,Meetme,8600007|q
exten => 8600008,1,Meetme,8600008|q
exten => 8600009,1,Meetme,8600009|q
exten => 8600010,1,Meetme,8600010|q
exten => 8600011,1,Meetme,8600011|q
exten => 8600012,1,Meetme,8600012|q
exten => 8600013,1,Meetme,8600013|q
exten => 8600014,1,Meetme,8600014|q
exten => 8600015,1,Meetme,8600015|q
exten => 8600016,1,Meetme,8600016|q
exten => 8600017,1,Meetme,8600017|q
exten => 8600018,1,Meetme,8600018|q
exten => 8600019,1,Meetme,8600019|q
exten => 8600020,1,Meetme,8600020|q
exten => 8600021,1,Meetme,8600021|q
exten => 8600022,1,Meetme,8600022|q
exten => 8600023,1,Meetme,8600023|q
exten => 8600024,1,Meetme,8600024|q
exten => 8600025,1,Meetme,8600025|q
exten => 8600026,1,Meetme,8600026|q
exten => 8600027,1,Meetme,8600027|q
exten => 8600028,1,Meetme,8600028|q
exten => 8600029,1,Meetme,8600029|q

exten => _X48600XXX,1,MeetMeAdmin(${EXTEN:2},T,${EXTEN:0:1})
exten => _X48600XXX,2,Hangup

exten => _X38600XXX,1,MeetMeAdmin(${EXTEN:2},t,${EXTEN:0:1})
exten => _X38600XXX,2,Hangup

exten => _X28600XXX,1,MeetMeAdmin(${EXTEN:2},m,${EXTEN:0:1})
exten => _X28600XXX,2,Hangup

exten => _X28600XXX,1,MeetMeAdmin(${EXTEN:2},m,${EXTEN:0:1})
exten => _X28600XXX,2,Hangup

exten => _X18600XXX,1,MeetMeAdmin(${EXTEN:2},M,${EXTEN:0:1})
exten => _X18600XXX,2,Hangup

exten => _55558600XXX,1,MeetMeAdmin(${EXTEN:4},K)
exten => _55558600XXX,2,Hangup
exten => 8300,1,Hangup

exten => 8600051,1,Meetme,8600051
exten => 8600052,1,Meetme,8600052
exten => 8600053,1,Meetme,8600053
exten => 8600054,1,Meetme,8600054
exten => 8600055,1,Meetme,8600055
exten => 8600056,1,Meetme,8600056
exten => 8600057,1,Meetme,8600057
goes on.......................................................

; quiet entry and leaving conferences for VICIDIAL
exten => _78600XXX,1,Meetme,${EXTEN:1}|q
; quiet monitor extensions for meetme rooms (for room managers)
exten => _68600XXX,1,Meetme,${EXTEN:1}|mq

[outgoing]
exten => _03XXXXXXXXX,1,AGI(call_log.agi)
exten => _03XXXXXXXXX,n,Dial(SIP/BrainTelOut/${EXTEN})
exten => _03XXXXXXXXX,n,Hangup()
dkstinger
 
Posts: 9
Joined: Fri Aug 10, 2007 6:00 am

Postby dkstinger » Mon Aug 27, 2007 3:07 pm

Some more information... In the admin panel, I can see that the agent is logged on and that some inbound calls also came.

The agent status:
Agent Logged in at server: 192.168.1.200
in session: 8600051
from phone: SIP/LaptopPC
Agent is in campaign: CLOSER
status: PAUSED
hungup last call at: 2007-08-28 14:25:58
Closer groups: CL_GALLERIA -

CLOSER Campaign status:

+ VIEW MORE SETTINGS VIEW USER GROUP SHOW AGENT NAME HIDE SERVER INFO
8 current active calls 0 calls ringing 8 calls waiting for agents
1 agents logged in 0 agents in calls 0 agents waiting 1 paused agents

VICIDIAL: Agents Time On Calls Campaign: CLOSER 2007-08-28 14:45:41

+------------+--------------------+------------------+----------+-----------------+-----------------+---------+------------+
| STATION | USER | SESSIONID | STATUS | SERVER IP | CALL SERVER IP | MM:SS | CAMPAIGN |
+------------+--------------------+------------------+----------+-----------------+-----------------+---------+------------+
| SIP/Laptop | 101 | 8600051 LISTEN | PAUSED | 192.168.1.200 | | -40:0-17 | CLOSER |
+------------+--------------------+------------------+----------+-----------------+-----------------+---------+------------+
1 agents logged in on all servers
System Load Average: 0.00
dkstinger
 
Posts: 9
Joined: Fri Aug 10, 2007 6:00 am

Postby mflorell » Mon Aug 27, 2007 8:10 pm

Is your web server or database on a different machine from VICIDIAL?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby dkstinger » Wed Aug 29, 2007 3:29 am

Yes. They are on the same machine, but are listening on different virtual IPs. I did this to try to simulate the real production scenario.
First IP: Asterisk/Vicidial
Second IP: Webserver
Third IP: MySQL

Please tell how this can be the problem?
dkstinger
 
Posts: 9
Joined: Fri Aug 10, 2007 6:00 am

Postby dkstinger » Thu Aug 30, 2007 8:01 am

Can someone please gimme a clue. There might be something about how we call agi scripts from extensions.conf
The IP address that we specify here, it is that of the asterisk server right? and not of the webserver?
dkstinger
 
Posts: 9
Joined: Fri Aug 10, 2007 6:00 am

Postby gerski » Fri Aug 31, 2007 2:09 am

it seems like you are using the call_log.agi

in 2.0.3 we are now using fast agi AGI(agi://127.0.0.1:4577/call_log), try installing Net::Server on perl.
http://www.perfectnetworkcorp.com
Perfect Network Corporation
gerski
 
Posts: 432
Joined: Fri Jul 14, 2006 6:21 am


Return to Support

Who is online

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