Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] FIFO through javascript


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
yudha2008 at gmail.com
Guest





PostPosted: Thu Jun 11, 2009 7:16 am    Post subject: [Freeswitch-users] FIFO through javascript Reply with quote

Hi,

    I have configured inbound in FS SVN Trunk. i have written small program for inbound call to bridge. i have used session fifo

session.execute( "fifo", "sales_fifo_1 out wait undef '/usr/local/freeswitch/sounds/en/us/callie/time/8000/tomorrow.wav'" );

session.execute("bridge", "sofia/internal/1003%XXXXXXXXXXXX");

Inbound call pass through JavaScript session and play the voice file but it did not bridge to the extension 1003. It keep on playing the same voice file. how can i bridge the call after
session.execute.

session.execute( "fifo", "sales_fifo_1 out wait undef '/usr/local/freeswitch/sounds/en/us/callie/time/8000/tomorrow.wav'" );
 
Can any one assist me to resolve the above problem

--
Warm Regards,
N.Baskar
Back to top
brian at freeswitch.org
Guest





PostPosted: Thu Jun 11, 2009 7:22 am    Post subject: [Freeswitch-users] FIFO through javascript Reply with quote

You can't... once you execute fifo your script has stopped. I think
you have the idea that your script will keep running after you enter
the fifo...


/b
On Jun 11, 2009, at 7:13 AM, Baskar wrote:

Quote:

Can any one assist me to resolve the above problem


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services