Hi,
I have a big problem here. I have to announce a sound the external agent (people who receive calls on their cell phones). And also i have to wait for them to press on the pound key. So what i did is this :
In agents.conf i make that all externl agent ackcall=yes.
This work great but if i dont play a sound to tell them to press the pound key, they just hang up.
So in the context where the agent is loged i did this :
[Queueout]
exten=>_XXXXXXXXXX,1,Set(CALLERID(number)=0${CALLERIDNUM:1:9})
exten=>_XXXXXXXXXX,2,Dial(ZAP/g1/${EXTEN},,A(outa))
That work great except for one thing, If the agent press the pound key before the sound outa is finished i got this error :
-- Zap/3-1 answered Local/5148897649@Queueout-5e96,2
-- Playing 'outa' (language 'en')
-- Local/5148897649@Queueout-5e96,1 acknowledged
-- Agent/2220 answered Zap/5-1
-- Playing 'operateurav' (language 'en')
-- Local/5148897649@Queueout-5e96,1 answered, waiting for '#' to acknowledge
Dec 13 12:31:48 WARNING[21176]: chan_zap.c:4758 zt_write: Cannot handle frames in 2 format
Dec 13 12:31:48 WARNING[21176]: file.c:587 ast_readaudio_callback: Failed to write frame
-- Hungup 'Zap/3-1'
== Spawn extension (Queueout, 5148897649, 2) exited non-zero on 'Local/5148897649@Queueout-5e96,2'
Dec 13 12:31:48 WARNING[21172]: app_queue.c:2321 try_calling: Announcement file 'operateurav' is unavailable, continuing anyway...
Dec 13 12:31:48 WARNING[21172]: app_queue.c:2341 try_calling: Agent on Agent/2220 hungup on the customer. They're going to be pissed.
Not sure what i should do here Can someone help me please ?