Re: [Freeswitch-users] Java script test

2008-09-21 Thread preetha Ayyappan
Hi michael, I can able to originate a call to an extension.but how could i bridge two extensions and test if session is ready or not? Preetha.A ___ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/

Re: [Freeswitch-users] Java script test

2008-09-21 Thread preetha Ayyappan
thanks for your reply.it is working -- Preetha.A ___ 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-use

Re: [Freeswitch-users] Java script test

2008-09-21 Thread Michael Jerris
On Sep 22, 2008, at 12:49 AM, preetha Ayyappan wrote: I have put the calltest.js in /usr/local/freeswitch/scripts and changed sofia to openzap/default/[EMAIL PROTECTED] in the coding and i got the error: Error: 2008-09-22 10:13:26 [ERR] switch_core_session.c:249 switch_core_session_outg

Re: [Freeswitch-users] Java script test

2008-09-21 Thread kris kothan
Hi Preetha, you have use like this openzap/1/a/[EMAIL PROTECTED] Thanks Kris Anand On Mon, Sep 22, 2008 at 10:19 AM, preetha Ayyappan < [EMAIL PROTECTED]> wrote: > I have put the calltest.js in /usr/local/freeswitch/scripts and changed > sofia to openzap/default/[EMAIL PROTECTED] in the coding a

Re: [Freeswitch-users] Java script test

2008-09-21 Thread preetha Ayyappan
I have put the calltest.js in /usr/local/freeswitch/scripts and changed sofia to openzap/default/[EMAIL PROTECTED] in the coding and i got the error: Error: 2008-09-22 10:13:26 [ERR] switch_core_session.c:249 switch_core_session_outgoing_channel() Could not locate channel type openzap 2008-09-22

Re: [Freeswitch-users] Java script test

2008-09-20 Thread Brian West
Can you tell me on the wiki where this example is? /b On Sep 20, 2008, at 8:12 AM, [EMAIL PROTECTED] wrote: > > Hi, > I am new to freeswitch and trying to run a javascript example > calltest.js.I > have put that code inside the folder /usr/local/freeswitch.I have > started > the freeswitch

Re: [Freeswitch-users] Java script test

2008-09-20 Thread Anthony Minessale
replace the @ with a % where you say @192.168.1.2 from the url you are trying to call when you are calling your own domain you must specify a % sign to signify you want to call the phone registered at that exten rather than literally call your own box. On Sat, Sep 20, 2008 at 8:12 AM, [EMAIL PR

Re: [Freeswitch-users] Java script test

2008-09-20 Thread kris kothan
Hi, Hi Imthi, This is Anand, all the scripts should go to /var/www/scripts or /usr/local/freeswitch/scripts directory. then I had result= new_session.originate(session, "sofia/default/[EMAIL PROTECTED]"); since we are using openzap, we have use openzap instead of sofia. thanks Anand,Kris On Sat,

[Freeswitch-users] Java script test

2008-09-20 Thread [EMAIL PROTECTED]
Hi, I am new to freeswitch and trying to run a javascript example calltest.js.I have put that code inside the folder /usr/local/freeswitch.I have started the freeswitch and from that console I have tried to run the program like jsrun /usr/local/freeswitch/calltest.js. but i am getting the followi