<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Yes please update.<div><br></div><div>/b</div><div><br><div><html>On May 2, 2008, at 12:27 PM, Nick Temple wrote:</html><br class="Apple-interchange-newline"><blockquote type="cite">rc3 tarball - I can upgrade to latest svn if that could help (looking forward to rc4).<br><br><div class="gmail_quote">On Fri, May 2, 2008 at 12:57 PM, Brian West &lt;<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>> wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style="">Nick,<div><span style="white-space: pre;">        </span>Before we go any further what svn rev are you running?</div> <div><br></div><div>/b</div><div><div><div></div><div class="Wj3C7c"><br><div>On May 2, 2008, at 11:23 AM, Nick Temple wrote:<br><blockquote type="cite">Thanks,<br><br>Theat was my attempt to sanitize the data,&nbsp; and I did a really poor job of it :-><br> <br>The waves &amp; numbers I'm using in the script are correct, though.<br><br>I've narrowed it down somewhat, it's not the type of phone ... it's something else.<br> (though I have a better chance of hearing a message on land line ... maybe.)<br> <br>Sometimes the messages play, sometimes they start then die 1/2 way through ...<br>usually they don't start.&nbsp; If I loop and wait for a tone, then replay, sometimes the<br> second attempt does actually play.<br><br> I've tried using both streamFile (with and without the callback) and&nbsp; session.execute('playback', media);<br><br>All with the same inconsistent results.<br><br>Any idea where I should be looking?<br> <br>Nick<br> <br><br><div class="gmail_quote">On Fri, May 2, 2008 at 11:57 AM, Michael S Collins &lt;<a href="mailto:mercutio.viz@gmail.com" target="_blank">mercutio.viz@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Nick,<br> <br> I don't know if it was meant to be this way but your first script has /<br> tmp/test.wav and your second script has /mnt/test.wav - was that<br> intentional?<br> <br> -MC<br> <br> Sent from my iPhone<br> <div><div></div><div><br> On May 1, 2008, at 9:28 AM, "Nick Temple" &lt;<a href="mailto:nick@intellispire.com" target="_blank">nick@intellispire.com</a>> wrote:<br> <br> > Hello,<br> ><br> > I am extremely new to VOIP in general and have been using freeswitch<br> > only a couple of days,<br> > so if I have missed something in the docs please point me in the<br> > right direction.<br> ><br> > I am attempting to create an outbound call system -- mostly research<br> > and playing at<br> > this point.<br> ><br> > The initial goal is to have the system ring a number, then deliver a<br> > wave file. I have<br> > it (mostly) working in two different flavors.<br> ><br> > The first seems to work the best right now:<br> ><br> > (works fine via XMLRPC or the CLI):<br> > originate sofia/gateway/lesnet/1502NNNNNNN '&amp;javascript(call1.js)'<br> ><br> > call1.js:<br> > session.waitForAnswer(10000);<br> > session.streamFile("/tmp/test.wav");<br> > exit();<br> ><br> ><br> > The second way does everything in Javascript:<br> > jsrun call2.js<br> ><br> > where call2.js is nearly as trivial:<br> > sessionx = new Session();<br> > if (sessionx.originate(session, "sofia/gateway/lesnet/1502NNNNNNN",<br> > 30)) {<br> > &nbsp; sessionx.waitForAnswer(10000); // Wait 30 seconds<br> > &nbsp; sessionx.streamFile("/mnt/test.wav");<br> > };<br> > exit();<br> ><br> ><br> > The difference is that while both methods work on my land line, only<br> > #1 works when calling my cell phone ...<br> > for #2, the call is made, but I can't hear the media file playing.<br> ><br> > After lots of experimentation, the only thing I can figure at this<br> > point is that call1.js has some<br> > sort of defaults setup that I fail to do in call2.js<br> ><br> > Thanks for a great product!<br> ><br> > Nick<br> ><br> ><br> ><br> ><br> ><br> ><br> ><br> ><br> ><br> ><br> ><br> ><br> ><br> ><br> ><br> ><br> ><br> ><br> ><br> ><br> ><br> </div></div>> _______________________________________________<br> > Freeswitch-users mailing list<br> > <a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">Freeswitch-users@lists.freeswitch.org</a><br> > <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br> > UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br> > <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br> <br> _______________________________________________<br> Freeswitch-users mailing list<br> <a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">Freeswitch-users@lists.freeswitch.org</a><br> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br> </blockquote></div><br> _______________________________________________<br>Freeswitch-users mailing list<br><a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">Freeswitch-users@lists.freeswitch.org</a><br> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div></div><font color="#888888"><div> <span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div style=""> <div>Brian West</div><div><a>sip:brian@freeswitch.org</a></div><div><br></div></div></span><br> </div><br></font></div></div><br>_______________________________________________<br> Freeswitch-users mailing list<br> <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br> <br></blockquote></div><br> _______________________________________________<br>Freeswitch-users mailing list<br><a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>http://www.freeswitch.org<br></blockquote></div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Brian West</div><div><a href="sip:brian@freeswitch.org">sip:brian@freeswitch.org</a></div><div><br></div></div></span><br class="Apple-interchange-newline"> </div><br></div></body></html>