VERSION: 2.4-309a
BUILD: 110430-1642
Default Install. No Special software or customization
I am using IVR menus to take Inbound Calls. Soon the call connects it Hungup.
Carrier Settings
- Code: Select all
[trunk_1]
host=xxx.xxx.xxx.xxx
type=peer
nat=no
disallow=all
allow=ulaw
allow=alaw
dtmfmode=rfc2833
context=trunkinbound
qualify=yes
insecure=very
Global String
- Code: Select all
SIPtrunk=SIP/trunk_1
Dial Plan Entries
- Code: Select all
exten => _90XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _90XXXXXXXXXX,2,Dial(${SIPtrunk}/${EXTEN:1},55,tTo)
exten => _90XXXXXXXXXX,3,Hangup
exten => _900XXXXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _900XXXXXXXXXXXX,2,Dial(${SIPtrunk}/${EXTEN:1},55,tTo)
exten => _900XXXXXXXXXXXX,3,Hangup
exten => _900XXXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _900XXXXXXXXXXX,2,Dial(${SIPtrunk}/${EXTEN:1},55,tTo)
exten => _900XXXXXXXXXXX,3,Hangup
exten => _900XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _900XXXXXXXXXX,2,Dial(${SIPtrunk}/${EXTEN:1},55,tTo)
exten => _900XXXXXXXXXX,3,Hangup
Agent Login without any problem and waiting for call. When call comes in if agent is on Pause it stays in queue soon he resume call it connects and Hungup. Even if agent is already in ready mode call connects and Hungup.
CLI when agent in Pause Mode
- Code: Select all
[Sep 11 04:08:06] == Manager 'sendcron' logged off from 127.0.0.1
[Sep 11 04:08:07] == Parsing '/etc/asterisk/manager.conf': [Sep 11 04:08:07] Found
[Sep 11 04:08:07] == Manager 'sendcron' logged on from 127.0.0.1
[Sep 11 04:08:07] == Manager 'sendcron' logged off from 127.0.0.1
[Sep 11 04:08:13] -- Executing [08000238130@default:1] AGI("SIP/5060-0000037e", "agi-DID_route.agi") in new stack
[Sep 11 04:08:13] -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-DID_route.agi
[Sep 11 04:08:13] -- AGI Script Executing Application: (Monitor) Options: (wav|/var/spool/asterisk/monitor/MIX/20120911040813_08000238130_441215720887)
[Sep 11 04:08:13] ERROR[7398]: utils.c:967 ast_carefulwrite: write() returned error: Broken pipe
[Sep 11 04:08:13] ERROR[7398]: utils.c:967 ast_carefulwrite: write() returned error: Broken pipe
[Sep 11 04:08:13] -- AGI Script agi-DID_route.agi completed, returning 0
[Sep 11 04:08:13] -- Executing [s@Talktalk_MainMenu:1] AGI("SIP/5060-0000037e", "agi-VDAD_inbound_calltime_check.agi|CALLMENU-----YES-----Talktalk_MainMenu--------------------") in new stack
[Sep 11 04:08:13] -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_inbound_calltime_check.agi
[Sep 11 04:08:14] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Sep 11 04:08:14] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Sep 11 04:08:14] -- AGI Script agi-VDAD_inbound_calltime_check.agi completed, returning 0
[Sep 11 04:08:14] -- Executing [s@Talktalk_MainMenu:2] BackGround("SIP/5060-0000037e", "Talktalk_Verification") in new stack
[Sep 11 04:08:14] -- <SIP/5060-0000037e> Playing 'Talktalk_Verification' (language 'en')
[Sep 11 04:08:27] -- Executing [1@Talktalk_MainMenu:1] AGI("SIP/5060-0000037e", "agi-VDAD_ALL_inbound.agi|CID-----LB-----TALKTALK-----Talktalk_MainMenu--------------------998-----1-----TALK_IN------------------------------") in new stack
[Sep 11 04:08:27] -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_ALL_inbound.agi
[Sep 11 04:08:27] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Sep 11 04:08:27] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Sep 11 04:08:29] -- Started music on hold, class 'default', on SIP/5060-0000037e
[Sep 11 04:08:33] -- Stopped music on hold on SIP/5060-0000037e
[Sep 11 04:08:33] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Sep 11 04:08:33] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Sep 11 04:08:33] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Sep 11 04:08:33] -- Playing 'talktalk' (escape_digits=) (sample_offset 0)
CLI When Agent Press Resume
- Code: Select all
[Sep 11 04:09:40] -- Started music on hold, class 'default', on SIP/5060-0000037e
[Sep 11 04:09:49] == Parsing '/etc/asterisk/manager.conf': [Sep 11 04:09:49] Found
[Sep 11 04:09:49] == Manager 'sendcron' logged on from 127.0.0.1
[Sep 11 04:09:49] -- Executing [192*168*001*250*78600051@default:1] AGI("Local/192*168*001*250*78600051@default-2a03,2", "agi-DID_route.agi") in new stack
[Sep 11 04:09:49] -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-DID_route.agi
[Sep 11 04:09:49] == Spawn extension (default, 192*168*001*250*78600051, 1) exited non-zero on 'Local/192*168*001*250*78600051@default-2a03,2'
[Sep 11 04:09:49] -- Executing [h@default:1] DeadAGI("Local/192*168*001*250*78600051@default-2a03,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
[Sep 11 04:09:49] -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0--------------- completed, returning 0
[Sep 11 04:09:50] -- Stopped music on hold on SIP/5060-0000037e
[Sep 11 04:09:50] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Sep 11 04:09:50] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Sep 11 04:09:50] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Sep 11 04:09:50] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Sep 11 04:09:50] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Sep 11 04:09:50] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Sep 11 04:09:50] ERROR[7398]: utils.c:967 ast_carefulwrite: write() returned error: Broken pipe
[Sep 11 04:09:50] -- AGI Script agi-VDAD_ALL_inbound.agi completed, returning 0
[Sep 11 04:09:50] -- Executing [192*168*001*250*8600051@default:1] AGI("SIP/5060-0000037e", "agi-DID_route.agi") in new stack
[Sep 11 04:09:50] -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-DID_route.agi
[Sep 11 04:09:51] -- AGI Script agi-DID_route.agi completed, returning 0
[Sep 11 04:09:51] == Auto fallthrough, channel 'SIP/5060-0000037e' status is 'UNKNOWN'
[Sep 11 04:09:51] -- Executing [h@default:1] DeadAGI("SIP/5060-0000037e", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
[Sep 11 04:09:51] -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0--------------- completed, returning 0
[Sep 11 04:09:51] == Manager 'sendcron' logged off from 127.0.0.1
[Sep 11 04:10:01] == Parsing '/etc/asterisk/manager.conf': [Sep 11 04:10:01] Found
[Sep 11 04:10:01] == Manager 'sendcron' logged on from 127.0.0.1
[Sep 11 04:10:01] == Parsing '/etc/asterisk/manager.conf': [Sep 11 04:10:01] Found
[Sep 11 04:10:01] == Manager 'sendcron' logged on from 127.0.0.1
[Sep 11 04:10:01] == Manager 'sendcron' logged off from 127.0.0.1
Any help is this regard is highly appreciated. I have manager manuals.
Best regards,
Webgurru