Hi
How do i play audio files (file1,file2..) to customer who called in inbound as a loop until sip user answered.
Scenario :
- Customer called as inbound.
- call.route checking users
- call.execute with fork calling list of users.
- It's ringing when called in inbound. If system generated call to customer then while using chan.masquerade with call.execute then no ringing.it's been silent
In these both cases how do i play audio instead of ringing/silent as a loop until call answered by sip user.
As i seen mail list to play audio to the caller like mentioned below.
m = new Message("chan.masquerade")
m->addparam("message","chan.attach");
m->addparam("id",peerid of call.execute);
m->addparam("source","wave/play/fullpath/audio.au");
But as i guess it won't work as loop/instead of ringing.
Kindly help me on this.