I got freeswitch working with google talk. There were a few bugs in mod_dingaling that were causing segfaults, they’re fixed in the latest update.
I called from gtalk on my XP vm to my e65 via SIP, audio is working. I commented out the line <param name=”ext-rtp-ip” value=”$${external_rtp_ip}”/> from conf/jingle_profiles/client.xml .
To make calls from the SIP e65 to google talk users, I added to the dialplan conf/dialplan/default.xml
<extension name=”sip2jingle”>
<condition field=”source” expression=”mod_sofia”/>
<condition field=”destination_number” expression=”^gmail\+([^\@]+)\@?(.*)$”>
<action application=”bridge” data=”dingaling/gmail.com/$1@gmail.com”/>
</condition>
</extension>
Then from the e65 I dial gmail+user@switch.gruntnet .
See FreeSWITCH and Google Talk for the rest of the setup.
I still need to do more testing, and understand how it traverses through the NAT firewall before I give out my google talk address to people. Did I mention the I love freeswitch?
Related posts:
3 Comments
I looked at this as wella s your “FreeSWITCH and Google Talk” entry, and I’m hitting an issue. I have a similar setup, although not to gtalk, but rather to a different jabber server:
So I should be able to dial jabber+[some number]@og and have it perform the same function. But it doesn’t — the regex does match in the FS CLI output, but I get the following:
2008-06-19 13:23:05 [ERR] switch_core_session.c:205 switch_core_session_outgoing_channel() Could not locate channel type dingaling
2008-06-19 13:23:05 [ERR] switch_ivr_originate.c:891 switch_ivr_originate() Cannot create outgoing channel of type [dingaling] cause: [CHAN_NOT_IMPLEMENTED]
I thought it might be because in vars.xml I have
but setting it to xmppc/ogre/$1@ogre gives me the same message, with xmppc wherever dingaling was in the earlier error message. I feel like maybe there is some part of your config that I’m missing that isn’t on either of these pages…help would be great. Thanks!
Chesty,
I’m having an issue trying to test my dingaling setup with fs… any chance you could contact me. I think the issue I’m having is firewall related, but not 100% sure.
Phone rings at both ends correctly however no audio, so I suppose it might be codecs, I’ve had my original tester make sure he’s running the latest gtalk although he’s not exactly technical :)
PS: My gmail address is not the one connected to dingaling :)
Cheers
Kirk
Than you very much for this guide.
Now i can call i googletalk user from my sip extension.
The audio work fine
Regards