Ken,
I don't see anything wrong. Have you tried to debug it? If I were you I
would go into the asterisk console and turn on Verbose and Debug and see
where the problem is. You can do this from the AstLinux GUI at the CLI tab
(or better - ssh in from a command line). Login as root, then type
"asterisk -r" to get into Asterisk console. Turn on verbose to level 5 say
(core set verbose 5) and try a outbound dial. This will confirm exactly
where in the dialplan you are getting (if the Dial() application is called
correctly) and also the Gtalk channel driver will print out called, ringing
and answered status. You can also turn on debug to level 4 (core set
debug 4) and this will trigger a lot of additional debug including every
debug statement inside the Gtalk channel driver. You can search for
"gtalk.c" and "jabber.c" to quickly find the relevant debug statements.
David
On Wed, Dec 12, 2012 at 12:10 AM, Ken Fischer
<[email protected]>wrote:
> Does anyone have an idea why my outgoing calls will not work with the
> script below? I have not been able to make any headway with this.
> Thank you.
>
> On Tue, Dec 4, 2012 at 10:06 PM, Ken Fischer
> <[email protected]> wrote:
> > I'm hoping someone here might be able to help me.
> >
> > I'm working on configuring astlinux for a school project and I'm
> > having some trouble with GTalk integration. My configuration is
> > below. I signed up for the astlinux mailing list just so you know and
> > am waiting to hear back. I can't make outgoing or receive incoming
> > calls to the phone number associated with
> > [email protected] is 484-469-0192. My server is
> > found at https://mickey.ece.villanova.edu which you can go to and see
> > my status screen.
> >
> > I'm noticing that my jabber status says "No such command 'jabber show
> > connections' (type 'help jabber show connections' for other possible
> > commands)" This kind of indicates to me that something is wrong
> > with jabber and as a result I'm not able to make a connection to the
> > GTalk services and that is why my incoming/outgoing calls are not
> > working.
> >
> > Is there some way to test to see if I am connecting to GTalk? Do you
> > see anything wrong in my configuration files related to GTalk? I'm at
> > a loss right now to explain what is going on.
> >
> > THANK YOU!
> >
> >
> > ----gtalk.conf----
> > [general]
> > context=google-in
> > allowguest=yes
> > ;bindaddr=0.0.0.0
> >
> >
> > [guest]
> > disallow=all
> > allow=ulaw
> > context=google-in
> > connection=gmail
> >
> >
> > [ktech-gtalk]
> > [email protected]
> > disallow=all
> > allow=ulaw
> > context=google-in
> > connection=gmail
> >
> >
> > ----jabber.conf----
> > [general]
> > debug=yes
> > autoprune=no
> > autoregister=yes
> >
> >
> > [gmail]
> > type=client
> > serverhost=talk.google.com
> > [email protected]/Talk
> > secret= ***** ;should this be in "" or not? Right now it is not.
> > priority=1
> > port=5222
> > usetls=yes
> > usesasl=yes
> > status=Available
> > statusmessage="Connected via Asterisk"
> > timeout=100
> > keepalive=yes
> >
> > ---extensions.conf---
> > ;
> > ; Dial Plan Configuration
> > ;
> >
> > [globals]
> >
> > [general]
> >
> > static=yes
> > writeprotect=no
> > clearglobalvars=no
> >
> > [default]
> > exten => s,1,Set(CALLERID(name)=${DB(cidname/${CALLERID(num)})})
> > exten => s,n,Dial(SIP/1000,10)
> > exten => s,n, Hangup
> >
> >
> > [google-in]
> > exten => [email protected], 1,
> > GotoIf(${DB_EXISTS(gv_dialout/channel)}?bridged)
> > exten => [email protected], n, NoOp(Callerid
> ${CALLERID(name)})
> > exten => [email protected], n,
> > Set(CALLERID(num)=${SHIFT(CALLERID(name),@)})
> > exten => [email protected], n,
> > Set(CALLERID(name)=${DB(cidname/${CALLERID(num)})})
> > exten => [email protected], n, Dial(SIP/1000, 180, D(:1))
> > exten => [email protected],
> > n(bridged),Bridge(${DB_DELETE(gv_dialout/channel)}, p)
> >
> >
> > [macro-voicemail]
> > exten => s,1,Dial(SIP/${ARG1},15,tT)
> > exten => s,n,GotoIf($["${DIALSTATUS}" = "BUSY"]?busy:unavail)
> > exten => s,n(unavail),Voicemail(${MACRO_EXTEN}@default,u)
> > exten => s,n,Hangup()
> > exten => s,n(busy),Voicemail(${MACRO_EXTEN}@default,b)
> > exten => s,n,Hangup()
> >
> > [macro-conference]
> > exten => s,1,MeetMeCount(${ARG1},CONFCOUNT)
> > exten => s,n,GotoIf($[${CONFCOUNT} <= 10]?meetme:conf_full,1)
> > exten => s,n(meetme),MeetMe(${ARG1},i)
> > exten => s,n,Playback(conf-thereare)
> > exten => s,n,MeetMeCount(${ARG1})
> > exten => s,n,Playback(conf-peopleinconf)
> > exten => conf_full,1,Playback(conf-full)
> >
> > [phones]
> > include => talk-gmail-outbound
> > include => talk-numeric-outbound
> > include => internal
> >
> >
> > [talk-gmail-outbound]
> > exten => _[a-z][email protected],1,Dial(Gtalk/gmail/${EXTEN}@gmail.com)
> >
> > [talk-numeric-outbound]
> > exten => _91NXXNXXXXXX,1,Dial(Gtalk/gmail/+${EXTEN:1}@voice.google.com)
> >
> >
> > [internal]
> > exten => s,1,Answer()
> > exten => s,n,Wait(2)
> > exten => s,n,SendDTMF(1)
> > exten => s,n,Background(enter-ext-of-person)
> > exten => s,n,WaitExten()
> >
> > ;lines of individuals
> > exten => 1000,1,Macro(voicemail,1000)
> > exten => 1001,1,Macro(voicemail,1001)
> > exten => 1002,1,Macro(voicemail,1002)
> > exten => 1003,1,Macro(voicemail,1003)
> > exten => 1004,1,Macro(voicemail,1004)
> > exten => 1005,1,Macro(voicemail,1005)
> >
> > ;conference rooms
> > exten => 600,1,Macro(conference,600)
> > exten => 601,1,Macro(conference,601)
> > exten => 602,1,Macro(conference,602)
> > exten => 603,1,Macro(conference,603)
> > exten => 604,1,Macro(conference,604)
> > exten => 605,1,Macro(conference,605)
> >
> > ;voicemail line
> > exten => 1835,1,VoiceMailMain()
> >
> > exten => 500,1,Verbose(1|Echo test application)
> > exten => 500,n,Echo()
> > exten => 500,n,Hangup()
>
>
> ------------------------------------------------------------------------------
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add services
> Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d
> _______________________________________________
> Astlinux-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>
> Donations to support AstLinux are graciously accepted via PayPal to
> [email protected].
>
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users
Donations to support AstLinux are graciously accepted via PayPal to
[email protected].