Re: [asterisk-users] Integrating Asterisk 1.8 with Google Talk and Google Voice

2010-10-28 Thread Stephen Reese
 I keep the AGI in Git as a version control system.  But, you can view the AGI
 source here:

 http://messinet.com/trac/browser/gv/gv.agi

 And at the very bottom of that page is a link to download it as an individual
 file here:

 http://messinet.com/trac/export/b3229dbba3e01c887b3bdf6b0e0d93e897bd8a59/gv/gv.agi

 This is not the same thing as what is in the Changelog.  I am using Asterisk
 1.6 with this AGI.

 -A
 --
 Anthony - http://messinet.com - http://messinet.com/~amessina/gallery
 8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E


Thanks Anthony,

Interestingly enough outbound dialing started working. Had no clue
until someone called and told me my Google Chat status was updated.

Is there a way to prevent Google Chat from staying logged in but still
be able to dial outbound? People think I'm logged in persistently and
send me messages that I miss. Even if I set a status message in
asterisk most users are not going to understand...

-Stephen

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Integrating Asterisk 1.8 with Google Talk and Google Voice

2010-10-28 Thread Paul Belanger
On Thu, Oct 28, 2010 at 10:11 AM, Stephen Reese rsre...@gmail.com wrote:
 Is there a way to prevent Google Chat from staying logged in but still
 be able to dial outbound? People think I'm logged in persistently and
 send me messages that I miss. Even if I set a status message in
 asterisk most users are not going to understand...

Had the same issue, but have not had a chance to find a good solution.
 You could change your status to DND.  I tried invisible put seems not
to be supported.

-- 
Paul Belanger | dCAP
Polybeacon | Consultant
Jabber: paul.belan...@polybeacon.com | IRC: pabelanger (Freenode) |
Blog: http://blog.polybeacon.com | Twitter: http://twitter.com/pabelanger

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Integrating Asterisk 1.8 with Google Talk and Google Voice

2010-10-27 Thread Anthony Messina
On Tuesday, October 26, 2010 01:16:29 pm Stephen Reese wrote:
 http://messinet.com/trac/wiki/AsteriskGVGateway (AGI script)
 
 Is your .agi and .git the same script? I do not have a git client on
 this host to see for myself.

I keep the AGI in Git as a version control system.  But, you can view the AGI 
source here:

http://messinet.com/trac/browser/gv/gv.agi

And at the very bottom of that page is a link to download it as an individual 
file here:

http://messinet.com/trac/export/b3229dbba3e01c887b3bdf6b0e0d93e897bd8a59/gv/gv.agi

This is not the same thing as what is in the Changelog.  I am using Asterisk 
1.6 with this AGI.

-A
-- 
Anthony - http://messinet.com - http://messinet.com/~amessina/gallery
8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E


signature.asc
Description: This is a digitally signed message part.
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Integrating Asterisk 1.8 with Google Talk and Google Voice

2010-10-26 Thread Stephen Reese
 Since Google Voice (GV) doesn't let us connect diretly via SIP, IAX2, etc.,
 for outbound calls, it acts basically like a fancy click-to-call application.

 So...

 You need Asterisk to login into GV, and initiate the call.  GV will dial
 the number you tell it to, then connect it to one of your GV numbers.

 In my case, the AGI is what connects to GV and initiates the call.  GV, then
 dials the number I told it to dial, then connects it with my ipKall number
 (which I have as one of my GV numbers).

 In Asterisk, the outbound call runs the AGI and places the channel in the DB,
 then waits for an incoming call via my inbound ipKall trunk.

 Once the ipKall comes into Asterisk, the Bridge command is used to bridge the
 original (with the matching DB entry) call-- the call that is coming in from
 GV through ipKall.

 I suppose you don't need that AGI and could probably do this using Curl in the
 dialplan.

 -A

 --
 Anthony - http://messinet.com - http://messinet.com/~amessina/gallery
 8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E


That makes sense but I do not see where the new feature is in Asterisk
1.8 which include Google Voice support per
http://svn.asterisk.org/svn/asterisk/tags/1.8.0/asterisk-1.8.0-summary.txt:

290973  |dvossel|Make outbound Google Voice calls.   |  |

It seems that the GV has been a feature for sometime with previous
versions? I'm just trying to keep the process as simple as possible
and seeing three different methods is a little confusing:

http://blog.polybeacon.com/2010/10/17/asterisk-1-8-and-google-voice/
(no script referenced)
http://www.davidvossel.com/?p=28 (python script and listed in the
change log above)
http://messinet.com/trac/wiki/AsteriskGVGateway (AGI script)

Is your .agi and .git the same script? I do not have a git client on
this host to see for myself.

Thanks,
Stephen

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Integrating Asterisk 1.8 with Google Talk and Google Voice

2010-10-25 Thread Stephen Reese
On Mon, Oct 25, 2010 at 12:50 AM, Anthony Messina amess...@messinet.com wrote:
 On Sunday, October 24, 2010 05:23:13 pm Stephen Reese wrote:
 Evening,

 Has anyone seen a how-to on getting Asterisk to work with Google Talk
 and Google Voice?

 Thanks

 For Google Voice, I use an ipKall number for the inbound trunk.  Here are the
 relevant sections of my extensions.conf:

 ; inbound ipKall trunk (to which Google Voice makes the connection)
 [ipkall]
 exten = ipKall-number,1,GotoIf($[${DB_EXISTS(gv/channel)} = 1]?gv)
 same = n,Goto(default,s,1)
 same = n(gv),Bridge(${DB_DELETE(gv/channel)})
 same = n,AGI(gv/gv.agi,hangup)
 same = n,Hangup()

 ; outbound Google Voice initiation
 [gv-out]
 exten = _X.,1,AGI(gv/gv.agi,call)
 same = n,While($[${DB_EXISTS(gv/channel)} = 1])
 same = n,Wait(0.3)
 same = n,EndWhile()
 same = n,Hangup()

 And the AGI (written in Bash) is here:
 http://messinet.com/trac/wiki/AsteriskGVGateway
 http://messinet.com/trac/browser/gv/gv.agi


Does the AGI have to be used? In this example
http://www.davidvossel.com/?p=28 I see mention of a script, but not in
this one: http://blog.polybeacon.com/2010/10/17/asterisk-1-8-and-google-voice/

I believe I missing the connection in how the whole process actually
works therefore making troubleshooting a little difficult. I was
hoping with the release of 1.6.0 there wouldn't be a lot of bandage
work to get it to play nicely with Google Voice.

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Integrating Asterisk 1.8 with Google Talk and Google Voice

2010-10-25 Thread Anthony Messina
On Monday, October 25, 2010 07:30:22 am Stephen Reese wrote:
 Does the AGI have to be used? In this example
 http://www.davidvossel.com/?p=28 I see mention of a script, but not in
 this one:
 http://blog.polybeacon.com/2010/10/17/asterisk-1-8-and-google-voice/
 
 I believe I missing the connection in how the whole process actually
 works therefore making troubleshooting a little difficult. I was
 hoping with the release of 1.6.0 there wouldn't be a lot of bandage
 work to get it to play nicely with Google Voice.

Since Google Voice (GV) doesn't let us connect diretly via SIP, IAX2, etc., 
for outbound calls, it acts basically like a fancy click-to-call application.

So...

You need Asterisk to login into GV, and initiate the call.  GV will dial 
the number you tell it to, then connect it to one of your GV numbers.

In my case, the AGI is what connects to GV and initiates the call.  GV, then 
dials the number I told it to dial, then connects it with my ipKall number 
(which I have as one of my GV numbers).

In Asterisk, the outbound call runs the AGI and places the channel in the DB, 
then waits for an incoming call via my inbound ipKall trunk.

Once the ipKall comes into Asterisk, the Bridge command is used to bridge the 
original (with the matching DB entry) call-- the call that is coming in from 
GV through ipKall.

I suppose you don't need that AGI and could probably do this using Curl in the 
dialplan.

-A

-- 
Anthony - http://messinet.com - http://messinet.com/~amessina/gallery
8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E


signature.asc
Description: This is a digitally signed message part.
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] Integrating Asterisk 1.8 with Google Talk and Google Voice

2010-10-24 Thread Stephen Reese
Evening,

Has anyone seen a how-to on getting Asterisk to work with Google Talk
and Google Voice?

Thanks

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Integrating Asterisk 1.8 with Google Talk and Google Voice

2010-10-24 Thread Paul Belanger
On Sun, Oct 24, 2010 at 6:23 PM, Stephen Reese rsre...@gmail.com wrote:
 Has anyone seen a how-to on getting Asterisk to work with Google Talk
 and Google Voice?

I wrote one last week:
http://blog.polybeacon.com/2010/10/17/asterisk-1-8-and-google-voice/

Also: http://www.davidvossel.com/?p=28

-- 
Paul Belanger | dCAP
Polybeacon | Consultant
Jabber: paul.belan...@polybeacon.com | IRC: pabelanger (Freenode) |
Blog: http://blog.polybeacon.com | Twitter: http://twitter.com/pabelanger

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Integrating Asterisk 1.8 with Google Talk and Google Voice

2010-10-24 Thread Stephen Reese
On Sun, Oct 24, 2010 at 7:06 PM, Paul Belanger
paul.belan...@polybeacon.com wrote:
 On Sun, Oct 24, 2010 at 6:23 PM, Stephen Reese rsre...@gmail.com wrote:
 Has anyone seen a how-to on getting Asterisk to work with Google Talk
 and Google Voice?

 I wrote one last week:
 http://blog.polybeacon.com/2010/10/17/asterisk-1-8-and-google-voice/

 Also: http://www.davidvossel.com/?p=28


Paul,

It seems you were using a beta/SVN release for your example. Do the
following two packages need to be installed if using the stable 1.6.0
release before building from source? I ask as I am unable to dial out.

$ apt-get install libikesemel-dev
$ apt-get install libssl-dev

Secondly, do you know if the username/password are sent in clear text
to the Google?

Thanks,
Stephen

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Integrating Asterisk 1.8 with Google Talk and Google Voice

2010-10-24 Thread Stephen Reese
On Sun, Oct 24, 2010 at 9:24 PM, Stephen Reese rsre...@gmail.com wrote:
 On Sun, Oct 24, 2010 at 7:06 PM, Paul Belanger
 paul.belan...@polybeacon.com wrote:
 On Sun, Oct 24, 2010 at 6:23 PM, Stephen Reese rsre...@gmail.com wrote:
 Has anyone seen a how-to on getting Asterisk to work with Google Talk
 and Google Voice?

 I wrote one last week:
 http://blog.polybeacon.com/2010/10/17/asterisk-1-8-and-google-voice/

 Also: http://www.davidvossel.com/?p=28


 Paul,

 It seems you were using a beta/SVN release for your example. Do the
 following two packages need to be installed if using the stable 1.6.0
 release before building from source? I ask as I am unable to dial out.

 $ apt-get install libikesemel-dev
 $ apt-get install libssl-dev

 Secondly, do you know if the username/password are sent in clear text
 to the Google?


I installed the two packages previously mentioned but still lack
outbound dialing. I enabled debugging and am getting the following
messages. I double checked the password and even changed it to one
without special characters but still the same results.

JABBER: gmail INCOMING: failure
xmlns=urn:ietf:params:xml:ns:xmpp-saslnot-authorized//failure
[Oct 24 23:07:55] ERROR[28785]: res_jabber.c:1693 aji_act_hook:
JABBER: encryption failure. possible bad password.

JABBER: gmail INCOMING: /stream:stream
[Oct 24 23:07:55] ERROR[28785]: res_jabber.c:1576 aji_act_hook:
aji_act_hook was called with out a packet
[Oct 24 23:07:55] WARNING[28785]: res_jabber.c:1391 aji_recv: Parsing
failure: Hook returned an error.
[Oct 24 23:07:55] WARNING[28785]: res_jabber.c:2742 aji_recv_loop:
JABBER: Got hook event.
[Oct 24 23:07:55] WARNING[28785]: res_jabber.c:2753 aji_recv_loop:
JABBER: socket read error

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Integrating Asterisk 1.8 with Google Talk and Google Voice

2010-10-24 Thread Anthony Messina
On Sunday, October 24, 2010 05:23:13 pm Stephen Reese wrote:
 Evening,
 
 Has anyone seen a how-to on getting Asterisk to work with Google Talk
 and Google Voice?
 
 Thanks

For Google Voice, I use an ipKall number for the inbound trunk.  Here are the 
relevant sections of my extensions.conf:

; inbound ipKall trunk (to which Google Voice makes the connection)
[ipkall]
exten = ipKall-number,1,GotoIf($[${DB_EXISTS(gv/channel)} = 1]?gv)
same = n,Goto(default,s,1)
same = n(gv),Bridge(${DB_DELETE(gv/channel)})
same = n,AGI(gv/gv.agi,hangup)
same = n,Hangup()

; outbound Google Voice initiation
[gv-out]
exten = _X.,1,AGI(gv/gv.agi,call)
same = n,While($[${DB_EXISTS(gv/channel)} = 1])
same = n,Wait(0.3)
same = n,EndWhile()
same = n,Hangup()

And the AGI (written in Bash) is here:
http://messinet.com/trac/wiki/AsteriskGVGateway
http://messinet.com/trac/browser/gv/gv.agi

-- 
Anthony - http://messinet.com - http://messinet.com/~amessina/gallery
8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E


signature.asc
Description: This is a digitally signed message part.
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users