You need to put a debug log on <a href="http://pastebin.freeswitch.org">pastebin.freeswitch.org</a>. Be sure to use "FreeSWITCH Log" for the syntax highlighting.<div>-MC<br><br><div class="gmail_quote">On Fri, May 27, 2011 at 7:41 AM, Yungwei Chen <span dir="ltr"><<a href="mailto:yungwei@resolvity.com">yungwei@resolvity.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">No.<br>
<br>
I just verified that making an outbound call to my cell phone still works.<br>
I even recorded the session just to make sure, and in the recording I hear things both ways.<br>
I first dial 9911 from my SIP client (behind freeswitch), and this leads to the javascript program below.<br>
session.answer();<br>
<div class="im"> var new_session = new Session("{ignore_early_media=true}sofia/gateway/sip_provider/1231231234");<br>
</div> session.hangup(16); // disconnects the session between the SIP client and freeswitch<br>
new_session.execute("record_session", "/tmp/call-from-js-to-cell.wav");<br>
while (new_session.ready())<br>
{<br>
new_session.streamFile("/path/to/local/wav/file");<br>
}<br>
<br>
Now back to the case I'm having problem with.<br>
In this case, I first make a call from a landline to freeswitch through my sip provider, and then a javascript program takes over.<br>
I want to transfer the call to a cell phone so that the landline and the cell phone can communicate with each other.<br>
Here's the javascript program:<br>
session.answer();<br>
<br>
if (session.ready())<br>
{<br>
session.execute("bridge", "{ignore_early_media=true}sofia/gateway/sip_provider/1231231234");<br>
}<br>
<br>
So what am I missing here?<br>
<div><div></div><div class="h5"><br>
-----Original Message-----<br>
From: <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a> [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a>] On Behalf Of mazilo<br>
Sent: Friday, May 27, 2011 7:28 AM<br>
To: <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
Subject: Re: [Freeswitch-users] Transferring to a cell phone<br>
<br>
<br>
Yungwei Chen wrote:<br>
><br>
> Thanks for your reply. Using bridge fixed the problem. But I cannot hear<br>
> anything both ways. Any idea?<br>
After switching to using bridge function, does this also happen when you<br>
make an outbound call to your cell phone using your javascript?<br>
<br>
-----<br>
FreeSWITCH hosted on a Seagate DockStar with OpenWRT and ONLY consumes 3 Watts of electricity.<br>
--<br>
View this message in context: <a href="http://freeswitch-users.2379917.n2.nabble.com/Transferring-to-a-cell-phone-tp6408246p6410887.html" target="_blank">http://freeswitch-users.2379917.n2.nabble.com/Transferring-to-a-cell-phone-tp6408246p6410887.html</a><br>
Sent from the freeswitch-users mailing list archive at Nabble.com.<br>
<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>
_______________________________________________<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>
</div></div></blockquote></div><br></div>