Re: [Freeswitch-users] How do I notify FreeSwitch that a phone has been answered to play audio or TTS

2009-03-13 Thread David Dan
Try ignore early media.



On 3/13/09, mszla...@aol.com mszla...@aol.com wrote:
 If I originate an outgoing call from FreeSwitch and want to tts a phrase or
 play an audio once the call has been answered (i.e, someone answered their
 cell phone or I got their voicemail) then how do I detect that.

 Otherwise, I've tried the following but it relies in getting the timing
 right which won't always work or looping the tts phrase over and over.

 var s;
 while (tryCalling()) {}
 s.hangup();
 exit();

 function tryCalling() {
 ??? s = new Session(sofia/gateway/spa3102/12223334...@10.0.0.5:5061);
 ??? s.waitForAnswer(1);
 ???
 ??? if (s.cause == USER_BUSY) {
 ??? ?? ?return true;
 ??? }

 ??? if (s.ready()) {
 ??? ?? ?s.sleep(1);
 ??? ?? ?s.speak(cepstral,Callie,Hello from FreeSwitch);
 ??? }
 ??? return false;
 }


 Another way is to keep replaying the tts phrase by replacing

 ? if (s.ready()) {

 ??? ?? ?s.sleep(1);

 ??? ?? ?s.speak(cepstral,Callie,Hello from FreeSwitch);

 ??? }

 with something like:

  while (s.ready()) {

 ??? ?? ?s.speak(cepstral,Callie,Hello from FreeSwitch);

 ??? }


 Thanks. Mark.


-- 
Sent from my mobile device

___
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


Re: [Freeswitch-users] Please end the torment

2009-03-05 Thread David Dan
Web forums are like the wild west of the internet.  They offer nothing that
a mailing list and good wiki can't handle.

Just go take a look at the trixbox forums. The last thing you want it for
someone that is looking into freeswitch for the first time, to come across
something like this (The Beginning of the End for
CEhttp://trixbox.org/forums/trixbox-forums/open-discussion/begining-end-ce),
1 click off the front page.  I'd really hate to see FS go down this Mob Rule
path.




On Thu, Mar 5, 2009 at 8:01 PM, Jason White ja...@jasonjgw.net wrote:

 mszla...@aol.com mszla...@aol.com wrote:
  If as you say people prefer forums then that's the nature of the target
  market and controlling markets can be very difficult. So you go with the
  market to succeed.

 Most free software/open-source people I've encountered prefer mailing lists
 and don't like being forced to use a Web interface instead (unless it's the
 Web interface of their preferred Web mail provider, in which case they're
 not
 being compelled to use it).

 For some of us, a Web forum is hard and inconvenient to use, because it
 substitutes the forum operator's user interface for that of the user's
 preferred mail client. I have reasons for choosing the mail client that I
 use,
 and if I had to work via somebody else's Web interface instead it would
 probably result in my not participating at all.

 This list can also be accessed via the Web and over NNTP at gmane.org.

 For NNTP enthusiasts, the news group is mane.comp.telephony.freeswitch.user
 -
 just connect your news reader to news.gmane.org.

 You can also post from the newsgroup; the first time you do so, an
 automated
 e-mail message will arrive in your inbox requesting confirmation, for spam
 prevention purposes.

 I don't know whether it is possible to post from the gmane.org Web site.
 They
 use Xapian as their search tool, which, in my experience, usually places
 the
 most relevant posts near the top of the search results.


 ___
 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

___
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


[Freeswitch-users] Problems loading mod_spidermonkey_curl

2009-02-28 Thread David Dan
I'm getting the following error when I try to load the mod_spidermonkey_curl
module.  I didn't get any errors when I compiled it.  I also tried
--without-libcurl but I got the same result.  Any help would be
appreciated.

freeswi...@internal load mod_spidermonkey_curl
-ERR [module load file routine returned an error]

2009-02-28 14:17:54 [CRIT] switch_loadable_module.c:839
switch_loadable_module_load_file() Error Loading module
/usr/local/freeswitch/mod/mod_spidermonkey_curl.so
**/usr/local/freeswitch/mod/mod_spidermonkey_curl.so: undefined symbol:
mod_spidermonkey_curl_module_interface**


freeswi...@internal version
FreeSWITCH Version 1.0.3 (exported)
___
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


Re: [Freeswitch-users] Problems loading mod_spidermonkey_curl

2009-02-28 Thread David Dan
That did it. Thank you

On 2/28/09, Brian West br...@freeswitch.org wrote:
 please open up spidermonkey.conf.xml and add it to the load there...
 its a sub module of mod_spidermonkey so you can't load it at the CLI

 /b

 On Feb 28, 2009, at 1:33 PM, David Dan wrote:

 I'm getting the following error when I try to load the
 mod_spidermonkey_curl module.  I didn't get any errors when I
 compiled it.  I also tried --without-libcurl but I got the same
 result.  Any help would be appreciated.

 freeswi...@internal load mod_spidermonkey_curl
 -ERR [module load file routine returned an error]

 2009-02-28 14:17:54 [CRIT] switch_loadable_module.c:839
 switch_loadable_module_load_file() Error Loading module /usr/local/
 freeswitch/mod/mod_spidermonkey_curl.so
 **/usr/local/freeswitch/mod/mod_spidermonkey_curl.so: undefined
 symbol: mod_spidermonkey_curl_module_interface**


 ___
 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


-- 
Sent from my mobile device

___
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