Using Softphone on same machine as FreeSwitch?
Hi guys, I am on Ubuntu 10.04 inside a VirtualBox virtual machine (my host OS is Windows 7). I am running FreeSwitch on Ubuntu. However, when I try to connect with any softphone within my Ubuntu, it cannot connect to FreeSwitch and FS does not receive the connection requests on command prompt. I tried connecting to port 5060 on the "inet addr:" shown in ifconfig. I actually was able to get an android phone to connect to my windows public IP address after setting up port forwarding, but is it possible for me to get an Ubuntu softphone to connect as well so I can keep all my testing in one machine? Also, I want to test out mod_sms. I have X-Lite on my Windows machine, I guess this is sufficient. Thanks and sorry if this was answered before. I tried searching for it. -- View this message in context: http://old.nabble.com/Using-Softphone-on-same-machine-as-FreeSwitch--tp33649... Sent from the Freeswitch-users mailing list archive at Nabble.com.
the x-lite is okay but IMHO add at least 2 real phones (IP or ATA) for complete testing e.g. conference calls, call forwarding, etc. On Sun, Apr 8, 2012 at 1:40 AM, LearningFS <amilkhanzada@gmail.com> wrote:
Hi guys,
I am on Ubuntu 10.04 inside a VirtualBox virtual machine (my host OS is Windows 7). I am running FreeSwitch on Ubuntu.
However, when I try to connect with any softphone within my Ubuntu, it cannot connect to FreeSwitch and FS does not receive the connection requests on command prompt. I tried connecting to port 5060 on the "inet addr:" shown in ifconfig.
I actually was able to get an android phone to connect to my windows public IP address after setting up port forwarding, but is it possible for me to get an Ubuntu softphone to connect as well so I can keep all my testing in one machine?
Also, I want to test out mod_sms. I have X-Lite on my Windows machine, I guess this is sufficient.
Thanks and sorry if this was answered before. I tried searching for it. -- View this message in context: http://old.nabble.com/Using-Softphone-on-same-machine-as-FreeSwitch--tp33649... Sent from the Freeswitch-users mailing list archive at Nabble.com.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
Nandy Dagondon <gcd <at> i.ph> writes:
the x-lite is okay but IMHO add at least 2 real phones (IP or ATA) for
complete testing e.g. conference calls, call forwarding, etc.
Hi Nandy, Thanks for the response. I finally got a softphone working by: 1. In "conf/vars.xml", changing 'data="$${local_ip_v4}"' to 'data="domain=127.0.0.1"' 2. Downloading Twinkle via Ubuntu package manager 3. Changing Twinkle to use Port 5062 in System Settings->Network->Sip Port (this was necessary because FS was locking port 5060 as everything is on the same machine) 4. Setting up my SIP account in Twinkle using my IP address shown as "inet addr:10.0.2.15" after running ifconfig 5. Adding a contact with phone number "sip:1019@10.0.2.15" 6. Right clicking this contact and sending an instant message However, I am getting strange problems now. Twinkle can make phone calls, but it crashes when I try to end a phone call. Twinkle can send text messages and freeswitch shows "[INFO] mod_sms.c:299 Processing text message 1004->1019 in context default" but my default.xml script is not executed (as seen on http://wiki.freeswitch.org/wiki/Mod_sms). I don't get any response saying "Hello, you said hello" Any ideas? I'll try digging in to this more, but I really think this has something to do with me trying to run everything on the same machine. Is there any setting in FreeSwitch to allow this? Thanks, Amil
Hello all, I finally got it working. It seems that Twinkle is pretty buggy in terms of SIP (at least when trying to do everything on one machine) and this seems to be why it was giving me such erratic behavior. So, I used pidgin's SIMPLE instead and didn't run into any issues. Also, my default.xml had some problems like having malformed multiple conditions in each extension. Thanks again, Amil On Apr 10, 2012 1:00 PM, "LearningFS" <amilkhanzada@gmail.com> wrote:
Nandy Dagondon <gcd <at> i.ph> writes:
the x-lite is okay but IMHO add at least 2 real phones (IP or ATA) for
complete testing e.g. conference calls, call forwarding, etc.
Hi Nandy,
Thanks for the response. I finally got a softphone working by: 1. In "conf/vars.xml", changing 'data="$${local_ip_v4}"' to 'data="domain=127.0.0.1"' 2. Downloading Twinkle via Ubuntu package manager 3. Changing Twinkle to use Port 5062 in System Settings->Network->Sip Port (this was necessary because FS was locking port 5060 as everything is on the same machine) 4. Setting up my SIP account in Twinkle using my IP address shown as "inet addr:10.0.2.15" after running ifconfig 5. Adding a contact with phone number "sip:1019@10.0.2.15" 6. Right clicking this contact and sending an instant message
However, I am getting strange problems now. Twinkle can make phone calls, but it crashes when I try to end a phone call. Twinkle can send text messages and freeswitch shows "[INFO] mod_sms.c:299 Processing text message 1004->1019 in context default" but my default.xml script is not executed (as seen on http://wiki.freeswitch.org/wiki/Mod_sms). I don't get any response saying "Hello, you said hello"
Any ideas? I'll try digging in to this more, but I really think this has something to do with me trying to run everything on the same machine. Is there any setting in FreeSwitch to allow this?
Thanks, Amil
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
participants (3)
-
Amil
-
LearningFS
-
Nandy Dagondon