Autodial issue
Added by Neil Brownlee over 11 years ago
Hi All,
Incoming calls, manual outbound are all working. When the dialler starts calling I get the following issues (I've masked the actual phone number). Anyone got any idea why it's trying to call via the PRI after the customer picks up????
Executing [h@default:1] DeadAGI("Local/907886000000@default-87ae,2", "agi://127.0.0.1:4577/call_log$
[Aug 9 11:46:34] VERBOSE[12003] logger.c: [Aug 9 11:46:34] -- Executing [8368@default:2] AGI("DAHDI/2-1", "agi://127.0.0.1:4577/call_log") in new stack
[Aug 9 11:46:34] VERBOSE[12003] logger.c: [Aug 9 11:46:34] -- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Aug 9 11:46:34] VERBOSE[12003] logger.c: [Aug 9 11:46:34] -- Executing [8368@default:3] AGI("DAHDI/2-1", "agi-VDAD_ALL_outbound.agi|NORMAL-----LB") in new stack
[Aug 9 11:46:34] VERBOSE[12003] logger.c: [Aug 9 11:46:34] -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_ALL_outbound.agi
[Aug 9 11:46:35] VERBOSE[12003] logger.c: [Aug 9 11:46:35] -- AGI Script agi-VDAD_ALL_outbound.agi completed, returning 0
[Aug 9 11:46:35] VERBOSE[12003] logger.c: [Aug 9 11:46:35] -- Executing [192*168*004*043*8600051@default:1] Dial("DAHDI/2-1", "DAHDI/g0/2*168*004*043*8600051||tT$
[Aug 9 11:46:35] VERBOSE[12003] logger.c: [Aug 9 11:46:35] -- Requested transfer capability: 0x00 - SPEECH
[Aug 9 11:46:35] VERBOSE[12003] logger.c: [Aug 9 11:46:35] -- Called g0/2*168*004*043*8600051
-- Channel 0/3, span 1 got hangup, cause 100
[Aug 9 11:46:35] DEBUG[12003] chan_dahdi.c: Set option AUDIO MODE, value: ON(1) on DAHDI/3-1
[Aug 9 11:46:35] DEBUG[12003] chan_dahdi.c: Already hungup... Calling hangup once, and clearing call
[Aug 9 11:46:35] DEBUG[12003] chan_dahdi.c: Set option AUDIO MODE, value: OFF(0) on DAHDI/3-1
[Aug 9 11:46:35] VERBOSE[12003] logger.c: [Aug 9 11:46:35] -- Hungup 'DAHDI/3-1'
[Aug 9 11:46:35] VERBOSE[12003] logger.c: [Aug 9 11:46:35] == Everyone is busy/congested at this time (1:0/0/1)
Replies (7)
RE: Autodial issue
-
Added by striker 247 over 11 years ago
what dialplan you are using to dial out via PRI
and type the below command in command line.
asterisk -rx "dialplan show 192*168*004*043*8600051@default"
br
striker
www.striker24x7.blogspot.com
RE: Autodial issue
-
Added by Neil Brownlee over 11 years ago
Result of command :
[ Context 'default' created by 'pbx_config' ]
'_X.' => 1. Dial(${TRUNKPRI}/${EXTEN:2}||tToR) [pbx_config]
2. Hangup() [pbx_config]
[ Included context 'vicidial-auto-external' created by 'pbx_config' ]
'_192*168*004*043*.' => 1. Goto(default|${EXTEN:16}|1) [pbx_config]
2. Hangup() [pbx_config]
= 2 extensions (4 priorities) in 2 contexts. =
RE: Autodial issue
-
Added by striker 247 over 11 years ago
dont use _X.,
_X.' => 1. Dial(${TRUNKPRI}/${EXTEN:2}||tToR)
use proper dialplan. like
for dialling 10 digit mobile no put
exten => _XXXXXXXXXX,2,Dial(${TRUNKPRI}/${EXTEN:2}||tToR)
RE: Autodial issue
-
Added by Neil Brownlee over 11 years ago
I changed that - now this happens :
Manager 'sendcron' logged off from 127.0.0.1-- DAHDI/35-1 answered DAHDI/5-1
-- DAHDI/4-1 answered Local/901327701273@default-2777,2
> Channel Local/901327701273@default-2777,1 was answered.
-- Executing [8368@default:1] Playback("Local/901327701273@default-2777,1", "sip-silence") in new stack
Manager 'sendcron' logged off from 127.0.0.1
-- <Local/901327701273@default-2777,1> Playing 'sip-silence' (language 'en')
[Aug 14 09:25:10] WARNING14897: file.c:1297 waitstream_core: Unexpected control subclass '-1'
-- Executing [h@default:1] DeadAGI("Local/901327701273@default-2777,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----8-----1") in new stack
-- Executing [8368@default:2] AGI in new stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing [8368@default:3] AGI in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_ALL_outbound.agi
-- AGI Script agi-VDAD_ALL_outbound.agi completed, returning 0
-- Executing [192*168*004*043*8600051@default:1] AGI in new stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing [192*168*004*043*8600051@default:2] Hangup("DAHDI/4-1", "") in new stack
Spawn extension (default, 192*168*004*043*8600051, 2) exited non-zero on 'DAHDI/4-1'
-- Executing [h@default:1] DeadAGI("DAHDI/4-1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16---------------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16--------------- completed, returning 0
-- Hungup 'DAHDI/4-1'
-- Channel 0/5, span 1 got hangup request, cause 16
-- Hungup 'DAHDI/35-1'
Spawn extension (from-pstn, 701273, 1) exited non-zero on 'DAHDI/5-1'
-- Hungup 'DAHDI/5-1'
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----8-----1 completed, returning 0
Spawn extension (default, 901327701273, 2) exited non-zero on 'Local/901327701273@default-2777,2'
Parsing '/etc/asterisk/manager.conf': Found
Manager 'sendcron' logged on from 127.0.0.1
-- Executing [58600051@default:1] MeetMe("Local/58600051@default-01a3,2", "8600051|Fmq") in new stack
> Channel Local/58600051@default-01a3,1 was answered.
-- Executing [8309@default:1] Answer("Local/58600051@default-01a3,1", "") in new stack
-- Executing [8309@default:2] Monitor("Local/58600051@default-01a3,1", "wav|") in new stack
Manager 'sendcron' logged off from 127.0.0.1
-- Executing [8309@default:3] Wait("Local/58600051@default-01a3,1", "3600") in new stack
RE: Autodial issue
-
Added by Neil Brownlee over 11 years ago
Success!!!
Now two questions - can't configure the phones through goautodial as g1/278 (as an example) isn't allowed. Any suggestions? Also the music on hold doesn't work - simply get : res_musiconhold.c:692 get_mohbyname: Music on Hold class 'default' not found
RE: Autodial issue
-
Added by Neil Brownlee over 11 years ago
Getting close now moh working. When the customer or agent hangs up is it normal for there to be a delay until the system notices they are not in a conference, or should they not be kicked out of it?
RE: Autodial issue
-
Added by Demian Biscocho over 11 years ago
Edit /etc/asterisk/musiconhold.conf:
nano /etc/asterisk/musiconhold.conf
Change the following entry:
[old-default] mode=files directory=/var/lib/asterisk/mohmp3
to:
[default] mode=files directory=/var/lib/asterisk/mohmp3
This should fix the music on hold issue.