PlugPBX Forums
May 19, 2012, 02:43:44 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Asterisk 1.8/Gtalk works on Dockstar -- Finally?!!  (Read 2207 times)
twinclouds
Jr. Member
**
Posts: 99


Email
« on: January 28, 2011, 12:31:01 AM »

This guy radael has identified the problem why Asterisk 1.8/gtalk do not work on Dockstar.  His findings and fixes are posted at:
https://dev.openwrt.org/ticket/8132#comment:50
http://forums.digium.com/viewtopic.php?f=1&t=76909&sid=59baa909f1fff9b9e109113d3a364f37
I tried install Asterisk on Dockstar with Debian using this fix and gtalk works fine as far as I can tell.  I power cycled Dockstar a few times and didn't have any problem yet.  Hopefully this problem is really solved once for all.
Logged
PlugPBX Admin
Administrator
Sr. Member
*****
Posts: 426



« Reply #1 on: January 28, 2011, 04:48:34 AM »

Nice find!

I will put my 1.5 efforts on hold, dust off the 1.8 based build scripts and add the patching logic and give this a whirl. Perhaps asterisk 1.8 can go back in woho!

Cheers!
Logged

-Greg
toolbox123
Newbie
*
Posts: 16


« Reply #2 on: January 28, 2011, 09:44:05 AM »

This guy radael has identified the problem why Asterisk 1.8/gtalk do not work on Dockstar.  His findings and fixes are posted at:
https://dev.openwrt.org/ticket/8132#comment:50
http://forums.digium.com/viewtopic.php?f=1&t=76909&sid=59baa909f1fff9b9e109113d3a364f37
I tried install Asterisk on Dockstar with Debian using this fix and gtalk works fine as far as I can tell.  I power cycled Dockstar a few times and didn't have any problem yet.  Hopefully this problem is really solved once for all.
Did you do this with 1.8.2.2?
Logged
twinclouds
Jr. Member
**
Posts: 99


Email
« Reply #3 on: January 28, 2011, 09:53:18 AM »

Actually, I did it on 1.8.2.3 (1.8-current).
Logged
toolbox123
Newbie
*
Posts: 16


« Reply #4 on: January 28, 2011, 01:49:02 PM »

What do I need to do to remove the python script and use the built-in Gtalk of A1.8? I have built and installed A1.8.2.3 on my DockStar.
Logged
twinclouds
Jr. Member
**
Posts: 99


Email
« Reply #5 on: January 28, 2011, 03:23:05 PM »

Are you using FreePBX?  I am using Asterisk 1.8 alone without FreePBX.  For Asterisk 1.8, you can read Mario's postings and his conf files (mainly jabber, gtalk, extensions and sip).  You can find information here:
http://supermario-world.blogspot.com/2010/11/asterisk-18-and-native-google-voice.html
http://supermario-world.blogspot.com/2010/12/outbound-google-voice-dialing-proper.html
It is very simple.
For FreePBX you might need to do some more digging because I have not try that yet.  Maybe you can get the information from Ward's website, e.g. this one:http://nerdvittles.com/, or googling around to find instructions.  I will let you know if I come to it but I really don't need this.  For my family use, Asterisk 1.8 alone is good enough (for making gtalk calls and some voip service providers, e.g., call with us.)
Logged
toolbox123
Newbie
*
Posts: 16


« Reply #6 on: January 28, 2011, 03:37:14 PM »

Thanks, I will take a look. My current setup is based on your how-to
http://forums.plugpbx.org/index.php/topic,152.0.html
Logged
twinclouds
Jr. Member
**
Posts: 99


Email
« Reply #7 on: January 28, 2011, 04:16:10 PM »

If it is the case, you don't need anything about FreePBX.  Assuming you have already compiled and installed Asterisk 1.8.2.3.  You have already done the hard part.  (However, in my how-to, I don't think I compiled asterisk but just did a apt-get asterisk, right?  So you must have done the complete installation.)  Now, with Asterisk 1.8.2.3 installed, you just replace the four files that I mentioned before with the corresponding files by Mario.  Edit the files with the information of your gtalk and that is it.  You can use your sip phone to login and making calls.  At least that was I did.  BTW, I assume you have checked during menuconfig that the modules chan_gtalk and res_jabber are there.  If not, you probably should do an "apt-get install libiksemel-dev" before that.
When I get chance this weekend, I can write another how to to help others.  It may take more than 20 minutes but is actually simpler than my previous how-to.
Logged
toolbox123
Newbie
*
Posts: 16


« Reply #8 on: January 28, 2011, 05:18:47 PM »

I am lost. Which 4 files? Don't I need to keep sip.conf as is so that my ATA can be registered with sipgate?
Logged
twinclouds
Jr. Member
**
Posts: 99


Email
« Reply #9 on: January 28, 2011, 05:53:46 PM »

Four files are jabber, gtalk, extensions and sip (.conf).  No you don't need sipgate any more unless you want to use it for other purposes, but not gtalk.  If you need to keep Sipgate, you can simply merge the two sip.conf files.  I think you can keep the old sip.conf file as long as the context is right.
One possibility to see if gtalk works is you can save your previous 4 files and replace them with Mario's temporary to test out.  Then you can copy them back or merge them.  Just make sure you know what you are doing.
« Last Edit: January 28, 2011, 05:59:34 PM by twinclouds » Logged
toolbox123
Newbie
*
Posts: 16


« Reply #10 on: January 28, 2011, 11:20:58 PM »

Thanks. Looks like I have it working now. Will test it some more but it is great so far.

« Last Edit: January 29, 2011, 10:07:33 AM by toolbox123 » Logged
twinclouds
Jr. Member
**
Posts: 99


Email
« Reply #11 on: January 29, 2011, 10:59:29 AM »

Great!  I am working a complete how to for installing Asterisk 1.8 now.  Hope I will complete it this weekend and it can be helpful for others.
« Last Edit: January 30, 2011, 11:43:44 AM by twinclouds » Logged
toolbox123
Newbie
*
Posts: 16


« Reply #12 on: January 29, 2011, 01:16:42 PM »

I did another installation on my pogoplug and is not 100% working. Outgoing calls are fine but no incoming call. For incoming call, I got:
Code:
    -- Executing [MyGV@gmail.com@google-in:1] GotoIf("Gtalk/+1AAANNNXXX-b055", "0?bridged") in new stack
    -- Executing [MyGV@gmail.com@google-in:2] NoOp("Gtalk/+1AAANNNXXX-b055", "Callerid  +1AAANNNXXX@voice.google.com/srvres-xxxxx==") in new stack
    -- Executing [MyGV@gmail.com@google-in:3] Set("Gtalk/+1AAANNNXXX-b055", "CALLERID(num)=+1AAANNNXXX") in new stack
    -- Executing [MyGV@gmail.com@google-in:4] Set("Gtalk/+1AAANNNXXX-b055", "CALLERID(name)=") in new stack
    -- Executing [MyGV@gmail.com@google-in:5] Dial("Gtalk/+1AAANNNXXX-b055", "SIP/101, 180, D(:1)") in new stack
[Jan 29 12:12:17] WARNING[16753]: app_dial.c:2039 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Unknown)
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Executing [MyGV@gmail.com@google-in:6] Bridge("Gtalk/+1AAANNNXXX-b055", ", p") in new stack
[Jan 29 12:12:17] WARNING[16753]: features.c:5528 bridge_exec: Bridge failed because channel  does not exists or we cannot get its lock
    -- Auto fallthrough, channel 'Gtalk/+1AAANNNXXX-b055' status is 'CHANUNAVAIL'


UPDATE: Don't know what happen. Now incoming calls are working.
« Last Edit: January 29, 2011, 01:25:59 PM by toolbox123 » Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.13 | SMF © 2006-2011, Simple Machines LLC Install SimpleMachinesForum web hosting Valid XHTML 1.0! Valid CSS!