FreeSwitch with Googlevoice (dingaling) on OpenWrt based Router
Hi All, I am in the process of getting the freeswitch installation up and running on my router (Netgear WNDR3700v2) which runs trunk Openwrt trunk (attitude adjustment). This is freeswitch 1.0.7. 0. dingaling.conf.xml was not being copied for my installation type and is now addressed (thanks to mazilo for committing this checkin) 1. once started, fs_cli shows "sofia status" with the IP address of my WAN IP Address (207.a.b.c) and not that of the router (192.168.1.1). Digging through the config, i found that $${local_ip_v4} results in this value, even though it should really be 192.168.1.1. Is there an option which disables running FS on the public IP? As a result of this problem, I can't even get my SIP ATA device to register. Once I manually change the configuration to use the domain="192.168.1.1" instead of "${local_ip_v4}", my ATA clients can register. 2. Once i copied over the dingaling.conf.xml file, i was successfully connected to gtalk account, however all my inbound calls did not route to the sofia directory user 1000 (as specified in my jingle_profiles/client.xml). This file is a replica of the info found on http://wiki.freeswitch.org/wiki/Google_Voice#Setup_FreeSWITCH_-_Dingaling_to... with my gtalk login details. I need these two aspects to start communicating with each other. Please advise if anyone has any ideas as to what needs to be done. Thanks, Chirag -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/FreeSwitch-with-Googlevoice-di... Sent from the freeswitch-users mailing list archive at Nabble.com.
set local_ip_v4 manually in vars.xml at the top to override what the default tries to guess (it will always go for the first interface that can reach the internet unless you override it) On Fri, Sep 16, 2011 at 4:24 PM, cchhat01 <cchirag@gmail.com> wrote:
Hi All,
I am in the process of getting the freeswitch installation up and running on my router (Netgear WNDR3700v2) which runs trunk Openwrt trunk (attitude adjustment). This is freeswitch 1.0.7. 0. dingaling.conf.xml was not being copied for my installation type and is now addressed (thanks to mazilo for committing this checkin) 1. once started, fs_cli shows "sofia status" with the IP address of my WAN IP Address (207.a.b.c) and not that of the router (192.168.1.1). Digging through the config, i found that $${local_ip_v4} results in this value, even though it should really be 192.168.1.1. Is there an option which disables running FS on the public IP? As a result of this problem, I can't even get my SIP ATA device to register. Once I manually change the configuration to use the domain="192.168.1.1" instead of "${local_ip_v4}", my ATA clients can register.
2. Once i copied over the dingaling.conf.xml file, i was successfully connected to gtalk account, however all my inbound calls did not route to the sofia directory user 1000 (as specified in my jingle_profiles/client.xml). This file is a replica of the info found on http://wiki.freeswitch.org/wiki/Google_Voice#Setup_FreeSWITCH_-_Dingaling_to... with my gtalk login details.
I need these two aspects to start communicating with each other. Please advise if anyone has any ideas as to what needs to be done. Thanks,
Chirag
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/FreeSwitch-with-Googlevoice-di... Sent from the freeswitch-users mailing list archive at Nabble.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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
Thank you Anthony. That did help. After doing so, I got stuck at another step. external_rtp_ip external_sip_ip Apparently, these get set to stun.freeswitch.org, which was just dumping all my calls. I changed these settings to stunserver.org and my installation started working like magic. Now, I need to understand the things below: 1. How to change the incoming caller id to the actual numeric value and not show "Google Voice" for caller name field 2. How to call a SIP URI 3. How to call a googleid.. ie.. calling joe@gmail.com Chirag On Fri, Sep 16, 2011 at 6:49 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
set local_ip_v4 manually in vars.xml at the top to override what the default tries to guess (it will always go for the first interface that can reach the internet unless you override it)
On Fri, Sep 16, 2011 at 4:24 PM, cchhat01 <cchirag@gmail.com> wrote:
Hi All,
I am in the process of getting the freeswitch installation up and running on my router (Netgear WNDR3700v2) which runs trunk Openwrt trunk (attitude adjustment). This is freeswitch 1.0.7. 0. dingaling.conf.xml was not being copied for my installation type and is now addressed (thanks to mazilo for committing this checkin) 1. once started, fs_cli shows "sofia status" with the IP address of my WAN IP Address (207.a.b.c) and not that of the router (192.168.1.1). Digging through the config, i found that $${local_ip_v4} results in this value, even though it should really be 192.168.1.1. Is there an option which disables running FS on the public IP? As a result of this problem, I can't even get my SIP ATA device to register. Once I manually change the configuration to use the domain="192.168.1.1" instead of "${local_ip_v4}", my ATA clients can register.
2. Once i copied over the dingaling.conf.xml file, i was successfully connected to gtalk account, however all my inbound calls did not route to the sofia directory user 1000 (as specified in my jingle_profiles/client.xml). This file is a replica of the info found on
http://wiki.freeswitch.org/wiki/Google_Voice#Setup_FreeSWITCH_-_Dingaling_to...
with my gtalk login details.
I need these two aspects to start communicating with each other. Please advise if anyone has any ideas as to what needs to be done. Thanks,
Chirag
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/FreeSwitch-with-Googlevoice-di... Sent from the freeswitch-users mailing list archive at Nabble.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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
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
Also, When making an outgoing call, I'm not hearing the "ringing phone" sound, instead all i hear is silence until the call gets connected. Did I screw something up? Chirag On Sat, Sep 17, 2011 at 12:02 AM, Chirag Chhatriwala <cchirag@gmail.com>wrote:
Thank you Anthony. That did help. After doing so, I got stuck at another step. external_rtp_ip external_sip_ip
Apparently, these get set to stun.freeswitch.org, which was just dumping all my calls. I changed these settings to stunserver.org and my installation started working like magic.
Now, I need to understand the things below: 1. How to change the incoming caller id to the actual numeric value and not show "Google Voice" for caller name field 2. How to call a SIP URI 3. How to call a googleid.. ie.. calling joe@gmail.com
Chirag
On Fri, Sep 16, 2011 at 6:49 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
set local_ip_v4 manually in vars.xml at the top to override what the default tries to guess (it will always go for the first interface that can reach the internet unless you override it)
On Fri, Sep 16, 2011 at 4:24 PM, cchhat01 <cchirag@gmail.com> wrote:
Hi All,
I am in the process of getting the freeswitch installation up and running on my router (Netgear WNDR3700v2) which runs trunk Openwrt trunk (attitude adjustment). This is freeswitch 1.0.7. 0. dingaling.conf.xml was not being copied for my installation type and is now addressed (thanks to mazilo for committing this checkin) 1. once started, fs_cli shows "sofia status" with the IP address of my WAN IP Address (207.a.b.c) and not that of the router (192.168.1.1). Digging through the config, i found that $${local_ip_v4} results in this value, even though it should really be 192.168.1.1. Is there an option which disables running FS on the public IP? As a result of this problem, I can't even get my SIP ATA device to register. Once I manually change the configuration to use the domain="192.168.1.1" instead of "${local_ip_v4}", my ATA clients can register.
2. Once i copied over the dingaling.conf.xml file, i was successfully connected to gtalk account, however all my inbound calls did not route to the sofia directory user 1000 (as specified in my jingle_profiles/client.xml). This file is a replica of the info found on
http://wiki.freeswitch.org/wiki/Google_Voice#Setup_FreeSWITCH_-_Dingaling_to...
with my gtalk login details.
I need these two aspects to start communicating with each other. Please advise if anyone has any ideas as to what needs to be done. Thanks,
Chirag
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/FreeSwitch-with-Googlevoice-di... Sent from the freeswitch-users mailing list archive at Nabble.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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
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
Thanks Anthony. That did help infact. i then checked the cli to see whats happening with the inbound and outbound calls, turned out it was an issue with the: external_rtp_ip=stun:stun.freeswitch.org external_sip_ip=stun:stun.freeswitch.org changed this to external_rtp_ip=stun:stunserver.org external_sip_ip=stun:stunserver.org SUCCESS! Now i need to know 2 additional things: 1. When I dial a number, I don't hear the ringing as I did with my asterisk setup. Do i need to make some changes to hear the "ringing" sound. All i hear is silence until the other other party picks up the phone. 2. in the jingle_profile/client.xml which has my gtalk credentials, is it possible to pass a "priority" value as a param to the gtalk connection? The reason I ask is because I always want my freeswitch connection to ring ALL THE TIME when someone calls my google voice number of initiates a "computer call" via gtalk. Please help. Thank you. Anthony Minessale wrote:
set local_ip_v4 manually in vars.xml at the top to override what the default tries to guess (it will always go for the first interface that can reach the internet unless you override it)
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
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
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/FreeSwitch-with-Googlevoice-di... Sent from the freeswitch-users mailing list archive at Nabble.com.
Well, twice over. I have been told that my voice becomes extremely choppy while being on call. I can hear the other party just well. I recorded the call (as it was incoming for me) on the google voice server by pressing the "4" key. Indeed my voice was choppy. Not sure if this is because of CPU utilization or something else. I'll try back tomorrow to see if there is any help on this matter. Thanks. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/FreeSwitch-with-Googlevoice-di... Sent from the freeswitch-users mailing list archive at Nabble.com.
cchhat01 wrote:
i then checked the cli to see whats happening with the inbound and outbound calls, turned out it was an issue with the:
external_rtp_ip=stun:stun.freeswitch.org external_sip_ip=stun:stun.freeswitch.org
changed this to
external_rtp_ip=stun:stunserver.org external_sip_ip=stun:stunserver.org
SUCCESS! AFAICR, stun.freeswitch.org has been defunct for a few weeks now.
1. When I dial a number, I don't hear the ringing as I did with my asterisk setup. Do i need to make some changes to hear the "ringing" sound. All i hear is silence until the other other party picks up the phone. Take a closer look at the dialplan shown in the FS Wiki on http://wiki.freeswitch.org/wiki/Google_Voice Make Free Outgoing Calls to USA/Canada using Google Voice , it uses /ring_ready/ to generate ring tones during a GV outbound call. ----- FreeSWITCH hosted on a Seagate DockStar with OpenWRT and ONLY consumes 3 Watts of electricity. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/FreeSwitch-with-Googlevoice-di... Sent from the freeswitch-users mailing list archive at Nabble.com.
Mazilo, Thank you sir. I completely missed that line when creating the dialplan. Because i was getting choppy audio, I looked into the "vad" param in my jingle_profile and set it to "none" instead of "both." Problem solved. Also, as I read carefully through the vars.xml file, it should have defaulted to $${bind_server_ip} so I manually changed external_rtp_ip=stun:stunserver.org external_sip_ip=stun:stunserver.org to external_rtp_ip=$${bind_server_ip} external_sip_ip=$${bind_server_ip} Now I have a working freeswitch install on my router.. Sweeeeeet. If there is any way to set my gtalk status as "away" or "invisible" while on freeswitch, I would like to look into enabling that. I liked asterisk for that and I'm sure it's probably not so hard. Maybe I can look at how asterisk did it, but asterisk relies heavily on iksemel, which will require days and days of effort. Maybe a project in a little bit of time. For now, I'm just glad to have a working FreeSwitch Install. I wonder if anyone else has FreeSwitch installed and working on the same model router as mine (Netgear WNDR3700v2). thank you, cchhat01 -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/FreeSwitch-with-Googlevoice-di... Sent from the freeswitch-users mailing list archive at Nabble.com.
cchhat01 wrote:
Now I have a working freeswitch install on my router.. Sweeeeeet. I am glad to hear that you finally made it to work.
If there is any way to set my gtalk status as "away" or "invisible" while on freeswitch, I would like to look into enabling that. You are way ahead of me on this. Hopefully, FS experts here may be able to chime in. I wonder if anyone else has FreeSwitch installed and working on the same model router as mine (Netgear WNDR3700v2). I lurked around on this mailing list and notice posts related to FS hosted on a Linux embedded device are almost non-existence. AFAICT, most FS users here are using a multi-core X86 platform to host their FS system. Since my FS system is for personal and/or SOHO uses only, it certainly will be more appropriate to have my FS system hosted on a Linux embedded system that consumes no more than 3Watts of electricity. ----- FreeSWITCH hosted on a Seagate DockStar with OpenWRT and ONLY consumes 3 Watts of electricity. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/FreeSwitch-with-Googlevoice-di... Sent from the freeswitch-users mailing list archive at Nabble.com.
participants (4)
-
Anthony Minessale
-
cchhat01
-
Chirag Chhatriwala
-
mazilo