Sound alert

Background


My client uses the Asterisk 1.6-based PBX telephone system as their call center. They use the soft phone application to make all calls from the incoming queue.

To reduce their workload, the soft phone app that they use has an auto answer feature that the app can automatically pick up. To let the agent know that an incoming call will be called, there is an Asterisk function called “Agent Announcement” that I can select a custom prompt and play it before the call starts.

Problem (Question)


How can I program the playback of another user prompt when the other party calls?

A (SIP Extension) <-> B (Customer) 

If A first calls the handset, there is no need to play a sound and notify B, and it does not seem to be able to do this. But if B first delays the call when Asterisk detects it, it must complete the hang-up process. I want to reproduce a user prompt between detection and hang. Can this be done? Thanks.

What I've done


I tried to insert the Playback command above the Hangup() , for example:

 [queue-688] exten = 688,1,Answer() exten = 688,n,Set(orgincallername=${CALLERID(name)}) exten = 688,n,Set(CALLERID(name)=${IF($[${ISDNISMATCHED} = 1]?${CALLERID(name)}:${CALLERID(name)}(TestQueue))}) exten = 688,n,NoOp(no set join announce) exten = 688,n,Queue(queue-688,tTkKXx,,,30) exten = 688,n,Set(CALLERID(name)=${orgincallername}) exten = 688,n,Playback(Beep) // This is where I put exten = 688,n,Hangup exten = fax,1,Goto(detect-fax-to-email,s,1) 

But, unfortunately, the Beep sound is not heard.

+7
asterisk pbx
source share
1 answer

Try the c option for Queue app

c - continue in the dialplan if the called line freezes (Asterisk 1.6.0 and higher).

Something like that:

 exten = 688,n,Queue(queue-688,tTkKXxc,,,30) 

http://www.voip-info.org/wiki/view/Asterisk+cmd+Queue

+2
source share

All Articles