Hi Steve,<div><br></div><div>I put install the jdk 64 bit now, i don't get that error but PhoneTest.java does not working</div><div><br></div><div>i compile PhoneTest.java without error and freeswitch.log i see that trying to PhoneTest but it did not work.</div>
<div>do you know why it is not working?</div><div><br></div><div>this is the freeswitch.log:</div><div><div>Dialplan: sofia/internal/<a href="mailto:6472585272@64.34.222.221">6472585272@64.34.222.221</a> Regex (PASS) [public_did] destination_number(4166289121) =~ /^4166289121$/ break=on-false</div>
<div>Dialplan: sofia/internal/<a href="mailto:6472585272@64.34.222.221">6472585272@64.34.222.221</a> Action java(/usr/local/freeswitch/scripts/PhoneTest)</div><div>2010-06-29 11:48:50.496128 [DEBUG] switch_core_state_machine.c:119 (sofia/internal/<a href="mailto:6472585272@64.34.222.221">6472585272@64.34.222.221</a>) State Change CS_ROUTING -> CS_EXECUTE</div>
<div>2010-06-29 11:48:50.496128 [DEBUG] switch_core_session.c:1021 Send signal sofia/internal/<a href="mailto:6472585272@64.34.222.221">6472585272@64.34.222.221</a> [BREAK]</div><div>2010-06-29 11:48:50.496128 [DEBUG] switch_core_state_machine.c:341 (sofia/internal/<a href="mailto:6472585272@64.34.222.221">6472585272@64.34.222.221</a>) State ROUTING going to sleep</div>
<div>2010-06-29 11:48:50.496128 [DEBUG] switch_core_state_machine.c:314 (sofia/internal/<a href="mailto:6472585272@64.34.222.221">6472585272@64.34.222.221</a>) Running State Change CS_EXECUTE</div><div>2010-06-29 11:48:50.496128 [DEBUG] switch_core_state_machine.c:348 (sofia/internal/<a href="mailto:6472585272@64.34.222.221">6472585272@64.34.222.221</a>) State EXECUTE</div>
<div>2010-06-29 11:48:50.496128 [DEBUG] mod_sofia.c:226 sofia/internal/<a href="mailto:6472585272@64.34.222.221">6472585272@64.34.222.221</a> SOFIA EXECUTE</div><div>2010-06-29 11:48:50.496128 [DEBUG] switch_core_state_machine.c:157 sofia/internal/<a href="mailto:6472585272@64.34.222.221">6472585272@64.34.222.221</a> Standard EXECUTE</div>
<div>EXECUTE sofia/internal/<a href="mailto:6472585272@64.34.222.221">6472585272@64.34.222.221</a> set(outside_call=true)</div><div>2010-06-29 11:48:50.496128 [DEBUG] mod_dptools.c:816 sofia/internal/<a href="mailto:6472585272@64.34.222.221">6472585272@64.34.222.221</a> SET [outside_call]=[true]</div>
<div>EXECUTE sofia/internal/<a href="mailto:6472585272@64.34.222.221">6472585272@64.34.222.221</a> java(/usr/local/freeswitch/scripts/PhoneTest)</div><div>2010-06-29 11:48:50.496128 [NOTICE] switch_core_state_machine.c:185 sofia/internal/<a href="mailto:6472585272@64.34.222.221">6472585272@64.34.222.221</a> has executed the last dialplan instruction, hanging up.</div>
<div>2010-06-29 11:48:50.496128 [NOTICE] switch_core_state_machine.c:187 Hangup sofia/internal/<a href="mailto:6472585272@64.34.222.221">6472585272@64.34.222.221</a> [CS_EXECUTE] [NORMAL_CLEARING]</div><div>2010-06-29 11:48:50.496128 [DEBUG] switch_channel.c:2102 Send signal sofia/internal/<a href="mailto:6472585272@64.34.222.221">6472585272@64.34.222.221</a> [KILL]</div>
<div>2010-06-29 11:48:50.496128 [DEBUG] switch_core_session.c:1021 Send signal sofia/internal/<a href="mailto:6472585272@64.34.222.221">6472585272@64.34.222.221</a> [BREAK]</div><div>2010-06-29 11:48:50.496128 [DEBUG] switch_core_state_machine.c:348 (sofia/internal/<a href="mailto:6472585272@64.34.222.221">6472585272@64.34.222.221</a>) State EXECUTE going to sleep</div>
<div>2010-06-29 11:48:50.496128 [DEBUG] switch_core_state_machine.c:314 (sofia/internal/<a href="mailto:6472585272@64.34.222.221">6472585272@64.34.222.221</a>) Running State Change CS_HANGUP</div><div>2010-06-29 11:48:50.496128 [DEBUG] switch_core_state_machine.c:499 (sofia/internal/<a href="mailto:6472585272@64.34.222.221">6472585272@64.34.222.221</a>) State HANGUP</div>
<div>2010-06-29 11:48:50.496128 [DEBUG] mod_sofia.c:414 Channel sofia/internal/<a href="mailto:6472585272@64.34.222.221">6472585272@64.34.222.221</a> hanging up, cause: NORMAL_CLEARING</div><div>2010-06-29 11:48:50.498209 [DEBUG] mod_sofia.c:476 Responding to INVITE with: 480</div>
<div>2010-06-29 11:48:50.498209 [DEBUG] switch_core_state_machine.c:46 sofia/internal/<a href="mailto:6472585272@64.34.222.221">6472585272@64.34.222.221</a> Standard HANGUP, cause: NORMAL_CLEARING</div><div>2010-06-29 11:48:50.498209 [DEBUG] switch_core_state_machine.c:499 (sofia/internal/<a href="mailto:6472585272@64.34.222.221">6472585272@64.34.222.221</a>) State HANGUP going to sleep</div>
<div>2010-06-29 11:48:50.498209 [DEBUG] switch_core_state_machine.c:333 (sofia/internal/<a href="mailto:6472585272@64.34.222.221">6472585272@64.34.222.221</a>) State Change CS_HANGUP -> CS_REPORTING</div><div>2010-06-29 11:48:50.500137 [DEBUG] switch_core_session.c:1021 Send signal sofia/internal/<a href="mailto:6472585272@64.34.222.221">6472585272@64.34.222.221</a> [BREAK]</div>
<div>2010-06-29 11:48:50.500138 [DEBUG] switch_core_state_machine.c:314 (sofia/internal/<a href="mailto:6472585272@64.34.222.221">6472585272@64.34.222.221</a>) Running State Change CS_REPORTING</div><div>2010-06-29 11:48:50.500138 [DEBUG] switch_core_state_machine.c:590 (sofia/internal/<a href="mailto:6472585272@64.34.222.221">6472585272@64.34.222.221</a>) State REPORTING</div>
<div>2010-06-29 11:48:50.500138 [DEBUG] switch_core_state_machine.c:53 sofia/internal/<a href="mailto:6472585272@64.34.222.221">6472585272@64.34.222.221</a> Standard REPORTING, cause: NORMAL_CLEARING</div><div>2010-06-29 11:48:50.500138 [DEBUG] switch_core_state_machine.c:590 (sofia/internal/<a href="mailto:6472585272@64.34.222.221">6472585272@64.34.222.221</a>) State REPORTING going to sleep</div>
<div>2010-06-29 11:48:50.500138 [DEBUG] switch_core_state_machine.c:327 (sofia/internal/<a href="mailto:6472585272@64.34.222.221">6472585272@64.34.222.221</a>) State Change CS_REPORTING -> CS_DESTROY</div><div>2010-06-29 11:48:50.500138 [DEBUG] switch_core_session.c:1021 Send signal sofia/internal/<a href="mailto:6472585272@64.34.222.221">6472585272@64.34.222.221</a> [BREAK]</div>
<div>2010-06-29 11:48:50.500138 [DEBUG] switch_core_session.c:1164 Session 7 (sofia/internal/<a href="mailto:6472585272@64.34.222.221">6472585272@64.34.222.221</a>) Locked, Waiting on external entities</div><div>2010-06-29 11:48:50.500138 [NOTICE] switch_core_session.c:1182 Session 7 (sofia/internal/<a href="mailto:6472585272@64.34.222.221">6472585272@64.34.222.221</a>) Ended</div>
<div>2010-06-29 11:48:50.500138 [NOTICE] switch_core_session.c:1184 Close Channel sofia/internal/<a href="mailto:6472585272@64.34.222.221">6472585272@64.34.222.221</a> [CS_DESTROY]</div><div>2010-06-29 11:48:50.500138 [DEBUG] switch_core_state_machine.c:428 (sofia/internal/<a href="mailto:6472585272@64.34.222.221">6472585272@64.34.222.221</a>) Running State Change CS_DESTROY</div>
<div>2010-06-29 11:48:50.500138 [DEBUG] switch_core_state_machine.c:439 (sofia/internal/<a href="mailto:6472585272@64.34.222.221">6472585272@64.34.222.221</a>) State DESTROY</div><div>2010-06-29 11:48:50.500138 [DEBUG] mod_sofia.c:341 sofia/internal/<a href="mailto:6472585272@64.34.222.221">6472585272@64.34.222.221</a> SOFIA DESTROY</div>
<div>2010-06-29 11:48:50.500138 [DEBUG] switch_core_state_machine.c:60 sofia/internal/<a href="mailto:6472585272@64.34.222.221">6472585272@64.34.222.221</a> Standard DESTROY</div><div>2010-06-29 11:48:50.500138 [DEBUG] switch_core_state_machine.c:439 (sofia/internal/<a href="mailto:6472585272@64.34.222.221">6472585272@64.34.222.221</a>) State DESTROY going to sleep</div>
</div><div><br></div><div><div>import org.freeswitch.*;</div><div>import org.freeswitch.swig.*;</div><div><br></div><div>public class PhoneTest implements FreeswitchScript, DTMFCallback, HangupHook</div><div>{</div><div> public PhoneTest()</div>
<div> {</div><div> }</div><div><br></div><div> public String onDTMF(Object object, int i, String arg)</div><div> {</div><div> if (object instanceof String)</div><div> freeswitch.console_log("notice", "DTMF: " + (String)object + " ARG: " + arg + "\n");</div>
<div> else</div><div> freeswitch.console_log("notice", "WOW GOT AN EVENT: " + object.toString());</div><div> return "true";</div><div> }</div><div><br></div><div> public void onHangup()</div>
<div> {</div><div> freeswitch.console_log("notice", "HANGUP!\n");</div><div> }</div><div><br></div><div> public void run(String sessionUuid, String args)</div><div> {</div><div> freeswitch.console_log("notice", "UUID: " + sessionUuid + " ARGS: " + args + "\n");</div>
<div> JavaSession session = null;</div><div> String FileName = "/usr/local/freeswitch/sounds/en/us/callie/ivr/8000/ivr-please_try_again.wav";</div><div> try</div><div> {</div><div>
session = new JavaSession(sessionUuid);</div><div> session.setDTMFCallback(this, "TEST");</div><div> session.setHangupHook(this);</div><div> System.out.println("++++++++++++++++++++++++++++++++");</div>
<div> freeswitch.console_log("notice", "++++++++++Before Answer: +++++++++++++");</div><div> session.answer();</div><div> freeswitch.console_log("notice", "++++++++++After Answer: +++++++++++++");</div>
<div> //session.streamFile(FileName, 0);</div><div> session.streamFile(FileName);</div><div> freeswitch.console_log("notice", "++++++++++After play file: +++++++++++++" + FileName);</div>
<div> session.recordFile("ravi.wav", 12000, 3000);</div><div> session.hangup("");</div><div> }</div><div> finally</div><div><div> {</div><div>
if (session != null)</div><div> session.delete();</div><div> }</div><div> }</div><div>}</div></div><div><br></div><br></div><div>- Ravi<br><div class="gmail_quote">On Fri, Jun 25, 2010 at 10:36 PM, <span dir="ltr"><<a href="mailto:freeswitch-users-request@lists.freeswitch.org">freeswitch-users-request@lists.freeswitch.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Send FreeSWITCH-users mailing list submissions to<br>
<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:freeswitch-users-request@lists.freeswitch.org">freeswitch-users-request@lists.freeswitch.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:freeswitch-users-owner@lists.freeswitch.org">freeswitch-users-owner@lists.freeswitch.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of FreeSWITCH-users digest..."<br>
<br>Today's Topics:<br>
<br>
1. Re: FreeSwitch Configuration : Help in SIP provider & gateway<br>
configuration (Rupa Schomaker)<br>
2. Re: try to run mod_java but loading issue (Steven Ayre)<br>
3. Re: event-lock in mod_erlang_event (Andrew Thompson)<br>
4. Re: mod_erlang_event problem (Andrew Thompson)<br>
5. Re: Question about max-members (Michael Collins)<br>
6. ringback answer vs preanswer (Stephen Cattaneo)<br>
7. Re: ringback answer vs preanswer (Michael Collins)<br>
8. Re: Erlang Examples (Anthony Minessale)<br>
<br><br>---------- Forwarded message ----------<br>From: Rupa Schomaker <<a href="mailto:rupa@rupa.com">rupa@rupa.com</a>><br>To: freeswitch-users <<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>><br>
Date: Fri, 25 Jun 2010 08:49:19 -0500<br>Subject: Re: [Freeswitch-users] FreeSwitch Configuration : Help in SIP provider & gateway configuration<br>I'm a little confused. You say that you will be running without SIP (cards + PRI) but then ask about setting up SIP. Which configuration are you trying to do?<br>
<br><div class="gmail_quote">On Fri, Jun 25, 2010 at 2:12 AM, Chaitanya Bhatt // Viva <span dir="ltr"><<a href="mailto:chaitanya@vivainfomedia.com" target="_blank">chaitanya@vivainfomedia.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse">Hey<div><br></div><div>I have installed FreeSwitch successfully but not getting how to use it. I want to use FreeSwitch in Inbound/Outbound IVRS application.</div>
<div>We will be using FreeSwitch with Sangoma Card & PRIs. In configuration section i am not getting SIP provider & gateway configuration.</div><div>I am newbie in FreeSwitch, Can you please guide how to proceed with SIP provider & gateway configuration ? </div>
<div><br></div></span>Incase of any further queries, Please feel free to mail me or contact me on the numbers provided below.<br><br>Thanks & Regards,<br>Chaitanya Bhatt<br>Software Engineer.<br><br>Viva Infomedia Pvt. Ltd.<br>
242, Oshiwara Industrial Centre,<br>New Link Road, Opp. Oshiwara Bus Depot,<br>Goregaon West, Mumbai 400104.<br><br>Direct: +91.22.40310356<br>Board: +91.22.40310310<br>Email : <a href="mailto:chaitanya@vivainfomedia.com" target="_blank">chaitanya@vivainfomedia.com</a><br>
<br>Viva Infomedia: Awarded as Best SME (E-Commerce) at CNBC Emerging India Awards 2009<br><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>
<br></blockquote></div><br><br clear="all"><br>-- <br>-Rupa<br>
<br><br>---------- Forwarded message ----------<br>From: Steven Ayre <<a href="mailto:steveayre@gmail.com">steveayre@gmail.com</a>><br>To: <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
Date: Fri, 25 Jun 2010 15:13:41 +0100<br>Subject: Re: [Freeswitch-users] try to run mod_java but loading issue<br><font face="arial, sans-serif"><span style="border-collapse:collapse"><div>
2010-06-24 15:01:47.096906 [ERR] modjava.c:124 Error loading
/usr/telcan/jdk1.6.0_10/jre/lib/i386/server/libjvm.so<br><br>Looks like it's a dependancy problem. Does that file exist, and are there any other errors just before that line?<br><br>Are you also on 32bit or 64bit? Looks like it's trying to load a 32bit version (i386) which might be the problem if you're on 64bit FS.<br>
<br>-Steve<br></div></span></font><br><br><div class="gmail_quote">On 24 June 2010 20:06, Ravi Kuru <span dir="ltr"><<a href="mailto:ravi.kuru@callture.com" target="_blank">ravi.kuru@callture.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
Hi,<div><br></div><div>I try to run PhoneTest on freeswitch and I followed the instruction but I got this error on freeswitch.log file when i start the freeswitch.</div><div><br></div><div><font face="arial, sans-serif"><span style="border-collapse:collapse"><div>
2010-06-24 15:01:47.096906 [ERR] modjava.c:124 Error loading /usr/telcan/jdk1.6.0_10/jre/lib/i386/server/libjvm.so</div><div>2010-06-24 15:01:47.096942 [CRIT] switch_loadable_module.c:882 Error Loading module /usr/local/freeswitch/mod/mod_java.so</div>
<div>**Module load routine returned an error**</div><div><br></div><div>what was the issue?</div><div><br></div><div>Ravi</div><div><br></div><div><br></div></span></font></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>
<br></blockquote></div><br>
<br><br>---------- Forwarded message ----------<br>From: Andrew Thompson <<a href="mailto:andrew@hijacked.us">andrew@hijacked.us</a>><br>To: <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
Date: Fri, 25 Jun 2010 10:59:58 -0400<br>Subject: Re: [Freeswitch-users] event-lock in mod_erlang_event<br>On Fri, Jun 25, 2010 at 10:41:37AM +0800, Seven Du wrote:<br>
> Hi,<br>
><br>
> As I can see, You cannot do this in inbound erlang<br>
><br>
> sendmsg(FS, uuid, playback, "1.wav");<br>
> sendmsg(FS, uuid, playback, "2.wav");<br>
> sendmsg(FS, uuid, transfer, "xxxxx<br>
><br>
> because it's async, and it will play 2.wav immediately.<br>
><br>
><br>
> 1) Sure if I know the length of 1.wav I can<br>
><br>
> sendmsg(FS, uuid, playback, 1.wav<br>
> sleep(3000<br>
> sendmsg(FS, uuid, playback, 2.wav<br>
><br>
> 2) Or I could wait the execute_complete event which will be a little complicated<br>
><br>
><br>
> According to <a href="http://wiki.freeswitch.org/wiki/Event_socket_outbound" target="_blank">http://wiki.freeswitch.org/wiki/Event_socket_outbound</a><br>
><br>
> Is it possible to send a event-lock param to lock the message temporarily? like<br>
><br>
> sendmsg(FS, UUID, App, Args, [{"event-lock", "true"}]).<br>
><br>
<br>
Yes, event-lock works from erlang too (its implemented down in the core<br>
I think). I use it to prevent exactly this problem.<br>
<br>
Feel free to update the wiki to note this is available.<br>
<br>
Andrew<br>
<br>
<br>
<br><br>---------- Forwarded message ----------<br>From: Andrew Thompson <<a href="mailto:andrew@hijacked.us">andrew@hijacked.us</a>><br>To: <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
Date: Fri, 25 Jun 2010 11:06:22 -0400<br>Subject: Re: [Freeswitch-users] mod_erlang_event problem<br>On Fri, Jun 25, 2010 at 09:32:44AM +0500, Timur Irmatov wrote:<br>
> Hi, Andrew!<br>
> That's the way it is done on my other server. And it works there fine.<br>
> But, also, on that server I also use RPC mechanism the same way I done<br>
> it on new one, and it works there fine too. It's just older freeswitch<br>
> and older erlang there. Don't know if that matters, or may be RPC<br>
> works there simply because I also use registered process and get_pid.<br>
<br>
So you use both mechanisms on a box with older freeswitch and erlang and<br>
both work fine? Can you narrow it down by matching versions on one side<br>
(freeswitch might be best) and see if the bug goes away/comes back? Its<br>
possible the new erlang releases have changed something in ei, but its<br>
more likely that I broke something in FreeSWITCH. What are the versions<br>
of FS/erlang on the box that works?<br>
<br>
Andrew<br>
<br>
<br>
<br><br>---------- Forwarded message ----------<br>From: Michael Collins <<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>><br>To: <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
Date: Fri, 25 Jun 2010 10:23:49 -0700<br>Subject: Re: [Freeswitch-users] Question about max-members<br>For any conference created based in this profile it limits the total number of conference participants. So if your conference profile has max-members=5 then any conference you create based on that profile will allow only 5 people to join the conference.<br>
<br>-MC<br><br><div class="gmail_quote">On Fri, Jun 25, 2010 at 1:41 AM, Sergey Scheglov <span dir="ltr"><<a href="mailto:sid@eltc.ru" target="_blank">sid@eltc.ru</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
<br>
Hi All,<br>
<br>
max-members limits members in conference room or limits members using<br>
profile (i.e. default)?<br>
<br>
Regards<br>
Sergey Scheglov<br>
<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><br>---------- Forwarded message ----------<br>From: Stephen Cattaneo <<a href="mailto:stephen@mymessage.us">stephen@mymessage.us</a>><br>To: freeswitch-users <<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>><br>
Date: Fri, 25 Jun 2010 18:35:31 -0400<br>Subject: [Freeswitch-users] ringback answer vs preanswer<br>i am trying to understand why when i do session.preanswer ringback works when i bridge the call but when i do session.answer it does not.<br>
<br><br clear="all">Thanks,<br>Stephen C<br>-All of my email addresses go to the same place<br>
-Save Paper, think before you print<br><br>
<br><br>---------- Forwarded message ----------<br>From: Michael Collins <<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>><br>To: <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
Date: Fri, 25 Jun 2010 17:45:47 -0700<br>Subject: Re: [Freeswitch-users] ringback answer vs preanswer<br>Because ringback occurs in early media. You need transfer ringback after the call is answered. See this page for more info:<br>
<a href="http://wiki.freeswitch.org/wiki/Variable_transfer_ringback" target="_blank">http://wiki.freeswitch.org/wiki/Variable_transfer_ringback</a><br>
<br>-MC<br><br><div class="gmail_quote">On Fri, Jun 25, 2010 at 3:35 PM, Stephen Cattaneo <span dir="ltr"><<a href="mailto:stephen@mymessage.us" target="_blank">stephen@mymessage.us</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
i am trying to understand why when i do session.preanswer ringback works when i bridge the call but when i do session.answer it does not.<br><br><br clear="all">Thanks,<br>Stephen C<br>-All of my email addresses go to the same place<br>
-Save Paper, think before you print<br><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>
<br></blockquote></div><br>
<br><br>---------- Forwarded message ----------<br>From: Anthony Minessale <<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>><br>To: <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
Date: Fri, 25 Jun 2010 21:35:32 -0500<br>Subject: Re: [Freeswitch-users] Erlang Examples<br>Hey Seven, is JP still working with you guys?<div>We haven't heard from him in a year or more... =D</div><div><br><br><div class="gmail_quote">
On Thu, Jun 24, 2010 at 8:35 PM, Seven Du <span dir="ltr"><<a href="mailto:dujinfang@gmail.com" target="_blank">dujinfang@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Welcome to the Erlang world.<br>
<br>
Erlang was initially designed to write telecom softwares and I found<br>
gen_fsm is easy to use and very clear to describe business logic. I'm<br>
the idapted person. I updated the post in the bottom to be more<br>
complete.<br>
<br>
Another vote to OpenACD because it is written by the author of<br>
mod_erlang_event. :)<br>
<br>
2010/6/25 Anthony Minessale <<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>>:<br>
<div><div></div><div>> The guy who wrote mod_erlang_event and a developer of OpenACD is the same<br>
> guy already here helping him namely Andrew.<br>
><br>
><br>
> On Thu, Jun 24, 2010 at 11:27 AM, Jan Berger <<a href="mailto:jan.berger@video24.no" target="_blank">jan.berger@video24.no</a>> wrote:<br>
>><br>
>> Hi, The OpenACD guys are writing the ACD in Erlang and integrating to FS,<br>
>> so<br>
>> you might find something there.<br>
>><br>
>> ---<br>
>><br>
>> I don't know the Ericsson Language that well myself, but having had a look<br>
>> at it I decided to stay away from this technology.<br>
>><br>
>> What I am doing is writing IVR's in Java, C# or even C++ and I decided to<br>
>> use vxml/ccxml to bring IVR capability into the standard dev environment<br>
>> so<br>
>> I can deal with business in a proper language.<br>
>><br>
>> Jan<br>
>><br>
>> -----Original Message-----<br>
>> From: <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a><br>
>> [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>] On Behalf Of David<br>
>> Swardstrom<br>
>> Sent: 24. juni 2010 17:52<br>
>> To: freeswitch-users<br>
>> Subject: [Freeswitch-users] Erlang Examples<br>
>><br>
>> I have been using JavaScript to handle a Conferencing application that<br>
>> started<br>
>> with the conf-ivr.js example program but is significantly more complex.<br>
>> This has been fun even though I had never used JavaScript before this<br>
>> year.<br>
>><br>
>> However, there are things that seem to not be possible using JavaScript.<br>
>> I need to interact with several web based applications for several reasons<br>
>> and also need to provide some time based interactions with FreeSwitch<br>
>> and/or<br>
>> artifacts (Database entries, files of recorded conferences, etc).<br>
>><br>
>> We (RemoteLink) have decided that the best solution for this support is<br>
>> to use an Erlang program and mod_erlang_event. So now I need to learn<br>
>> another language.<br>
>><br>
>> But one thing that I do not find one the FreeSWITCH site is any Erlang<br>
>> examples.<br>
>> Are there some sample programs available such as one that would look for<br>
>> a certain type of event and print it out?<br>
>><br>
>> I have found some semi-samples in the freeswitch-users archives but am<br>
>> somewhat<br>
>> ambivalent about using any of these without permission.<br>
>><br>
>> Regards,<br>
>> David Swardstrom<br>
>> (profile)<a href="http://wiki.freeswitch.org/wiki/User:Dswardstrom" target="_blank">http://wiki.freeswitch.org/wiki/User:Dswardstrom</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>
>><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>
><br>
><br>
><br>
> --<br>
> Anthony Minessale II<br>
><br>
> FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
> ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
> Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br>
><br>
> AIM: anthm<br>
> <a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>
> GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>
> IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
><br>
> FreeSWITCH Developer Conference<br>
> <a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br>
> <a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>
> pstn:+19193869900<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>
><br>
><br>
<br>
<br>
<br>
</div></div><font color="#888888">--<br>
Blog: <a href="http://www.dujinfang.com" target="_blank">http://www.dujinfang.com</a><br>
Proj: <a href="http://www.freeswitch.org.cn" target="_blank">http://www.freeswitch.org.cn</a><br>
</font><div><div></div><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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>
GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900<br>
</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></div>