Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

{Filename?} [Freeswitch-users] Conference javascript and hanuphooks giving me headaches


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
sias at cpdata.co.za
Guest





PostPosted: Thu Jan 22, 2009 3:37 pm    Post subject: {Filename?} [Freeswitch-users] Conference javascript and han Reply with quote

Warning: This message has had one or more attachments removed
Warning: (confout.js).
Warning: Please read the "LastSpam-Attachment-Warning.txt" attachment(s) for more information.

Hi,

Im trying to originate calls from a conference and use javascript to
watch out for hangup events so I can use the data in the session to
flesh out some database info. However it seems that Im having some
strangeness. It might just be my code. So I include that.

I run FreeSwitch Version 1.0.trunk (11226)

Dialplan:
<extension name="js_logtodb">
<condition field="destination_number" expression="^confout-(10\d{2})$">
<action application="javascript" data="confout.js"/>
</condition>
</extension>

confout.js:
is attached

I use API calls to pull one user into a conference. Then I use more api calls to do a conference dial to loopback/confout-1001

This should run the js and then bridge extension 1001 into the same conference.
(I have hardcoded the additional extension for testing). I dont know if there is another way to get a conference dial to run a javascript file for information logging, but I am open to enlightenment.

Oh im using conference dial because that provides clear audible progress to the other conference memebers as to what is actually happening with the new call.

Any help would be greatly apreciated, Thanks in advance.
Sias

_______________________________________________
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