Inbound call not going to agent
Posted: 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()
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()