Let me explain why i need this.
I have a written a small script which will get balance from database and play the balance and after that connect the call by using session.originate.
Dialing 009199XXXXXXX will call test.js which will first play balance and then dial 9199XXXXXX.
Now the problem is :
If i answer the call first and then play balance and then dial number .
Call goes fine but the the session time calculated by freeswitch is from dialing 009199XXXXXXX till the end of call.
which is wrong it should calculate only the call duration of new session originated by js.
If not answer the call, duration is correct but it will not play the balance. On Tue, Aug 19, 2008 at 2:15 PM, vidhya sagar dixit
<vids.cs@gmail.com> wrote:
Hi,
I am dialing from softphone to pstn using freeswitch.
Is it possible to play a sound file before connecting the call.
when dial from softphone i should hear first the sound file lets say welcome.wav and then dial the number.
--
Thanks and Regards
Vidhya Sagar Dixit
--
Thanks and Regards
Vidhya Sagar Dixit
_______________________________________________