Incoming Gtalk calls sent into invalid extension?

Get help with installing, upgrading and running Asterisk.

Moderators: muppetmaster, Moderator, Support

Incoming Gtalk calls sent into invalid extension?

Postby briankb » Sat Apr 07, 2012 11:17 pm

I'm trying to receive Google Voice calls on my sip client. But when a call comes in asterisk gives a warning that the call was "sent into invalid extension." The sip phone never rings. I'm using Asterisk Asterisk 10.4.0-rc1 compiled on Debian 6. Outgoing calls work fine, but to troubleshoot my incoming calls I am using a minimal configuration:
Code: Select all
dialplan show
[ Context 'app_dial_gosub_virtual_context' created by 'app_dial' ]
  's' =>            1. NoOp()                                     [app_dial]

[ Context 'local' created by 'pbx_config' ]
  's' =>            1. Answer()                                   [pbx_config]
                    2. Wait(2)                                    [pbx_config]
                    3. SendDTMF(1)                                [pbx_config]
                    4. Dial(SIP/briankb,20)                       [pbx_config]

-= 2 extensions (5 priorities) in 2 contexts. =-
*CLI> sip show peers
Name/username             Host                                    Dyn Forcerport ACL Port     Status      Description                     
briankb/briankb           10.5.0.7                                 D   N             41386    Unmonitored                                 
1 sip peers [Monitored: 0 online, 0 offline Unmonitored: 1 online, 0 offline]
*CLI> jabber show connections
Jabber Users and their status:
       [asterisk] brian@baligad.us/asterisk     - Connected
----
   Number of users: 1
*CLI> gtalk show channels
Channel                         Jabber ID                       Resource         Read  Write
0 active gtalk channels
(I have a gApps account, as you can see)

The error message when a phone call comes in:
Code: Select all
*CLI> [Apr  7 21:28:30] WARNING[5510]: pbx.c:5278 __ast_pbx_run: Channel 'Gtalk/+15555986567-410c' sent into invalid extension 'brian@baligad.us' in context 'local', but no invalid handler
[Apr  7 21:28:31] NOTICE[5493]: chan_gtalk.c:2082 gtalk_parser: Remote peer reported an error, trying to establish the call anyway

extensions.conf:
Code: Select all
[local]
exten => s,1,Answer()
exten => s,n,Wait(2)
exten => s,n,SendDTMF(1)
exten => s,n,Dial(SIP/briankb,20)

gtalk.conf
Code: Select all
[general]
context=default
bindaddr=0.0.0.0
externip=98.119.173.84
allowguest=yes
[guest]
disallow=all
allow=ulaw
context=local
connection=asterisk
briankb
Newsterisk
 
Posts: 6
Joined: Fri Aug 19, 2011 2:39 am

Re: Incoming Gtalk calls sent into invalid extension?

Postby david55 » Sun Apr 08, 2012 3:42 am

There is no entry in local that matches "brian@baligad.us" or "i".
david55
Moves Like Spencer
 
Posts: 7718
Joined: Fri Sep 26, 2008 5:03 am

Re: Incoming Gtalk calls sent into invalid extension?

Postby briankb » Sun Apr 08, 2012 11:42 am

You're right. I figured I was making a simple mistake, thanks!
briankb
Newsterisk
 
Posts: 6
Joined: Fri Aug 19, 2011 2:39 am

Re: Incoming Gtalk calls sent into invalid extension?

Postby bloodywolf » Sun Jul 15, 2012 1:01 pm

briankb wrote:You're right. I figured I was making a simple mistake, thanks!


brian , can you post your incoming dial plan after you got it working?

Thanks,
Joe
bloodywolf
Newsterisk
 
Posts: 2
Joined: Sun Dec 06, 2009 11:23 pm


Return to Asterisk Support

Who is online

Users browsing this forum: Google [Bot], onlyme and 47 guests