[Freeswitch-users] Transferring to a cell phone

Yungwei Chen yungwei at resolvity.com
Fri May 27 03:41:24 MSD 2011


Thanks for your reply. Using bridge fixed the problem. But I cannot hear anything both ways. Any idea?

From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of David Ponzone
Sent: Thursday, May 26, 2011 3:14 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Transferring to a cell phone

You have to use "bridge" instead of "transfer".
"Transfer" is to transfer the call to another part of the dialplan, with the same or another dialed number.

The Wiki is your friend :)

David Ponzone  Direction Technique
email: david.ponzone at ipeva.fr<mailto:david.ponzone at ipeva.fr>
tel:      01 74 03 18 97
gsm:   06 66 98 76 34

Service Client IPeva
tel:      0811 46 26 26
www.ipeva.fr<BLOCKED::http://www.ipeva.fr/>  -   www.ipeva-studio.com<BLOCKED::http://www.ipeva-studio.com/>

Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur.




Le 26/05/2011 à 20:45, Yungwei Chen a écrit :


Hi,

I installed freeswitch from a recent snapshot on CentOS 5.
I configured a gateway for my SIP provider in /usr/loca/freeswitch/conf/sip_profiles/external/my.xml, and I can make an outbound call to my cell phone using the following javascript snippet.
  var new_session = new Session("{ignore_early_media=true}sofia/gateway/sip_provider/1231231234");

Now I am trying to make a call from a land-line to a javascript application in freeswich, which plays a recording and then transfers the call to a cell phone.
But transferring the call to a cell phone doesn't work for some reason.

Here's how I transfer the call to a cell phone in javascript:
  session.execute("transfer", "{ignore_early_media=true}sofia/gateway/sip_provider/1231231234");

According to freeswitch.log, the problem seems to be that freeswitch cannot find a dialplan that matches the destiantion number, {ignore_early_media=true}sofia/gateway/sip_provider/1231231234.
What am I missing here? Thanks.


_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org<mailto:FreeSWITCH-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110526/6ec63f59/attachment.html 


More information about the FreeSWITCH-users mailing list