Play Greeting Message Audio File In outbound Call
Posted: Mon Apr 04, 2016 8:35 am
Hi,
I can successfully make an outbound call to any number using the below dial plan. But now I want to pay a greetings message once the customer answers the call. Later the call must be transferred to the agent.
I now have my dialplan as
exten => _961.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _961.,2,Dial(SIP/${EXTEN:1}@goautodial,,tTo)
exten => _961.,3,Hangup
But if I put
exten => _961.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _961.,2,Dial(SIP/${EXTEN:1}@goautodial,,tTo)
exten => _961.,3,Playback(greetings)
exten => _961.,4,Hangup
It directly gets the call transferred to the agent without greetings message. Can someone help me on that?
I can successfully make an outbound call to any number using the below dial plan. But now I want to pay a greetings message once the customer answers the call. Later the call must be transferred to the agent.
I now have my dialplan as
exten => _961.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _961.,2,Dial(SIP/${EXTEN:1}@goautodial,,tTo)
exten => _961.,3,Hangup
But if I put
exten => _961.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _961.,2,Dial(SIP/${EXTEN:1}@goautodial,,tTo)
exten => _961.,3,Playback(greetings)
exten => _961.,4,Hangup
It directly gets the call transferred to the agent without greetings message. Can someone help me on that?