[asterisk-users] xmpp priority setting and GoogleVoice

Harley Peters harley at thepetersclan.com
Sat Mar 23 10:45:36 CDT 2013


On 03/22/2013 10:13 PM, Vladimir Mikhelson wrote:
> Chris,
>
> Thank you for sharing.  It will help one day when 11 will become stable
> enough to consider it for a production system.
>
> Interestingly, jabber.conf has the same exact setting and the same exact
> value and comment in 1.8.20.1:
>
> priority = 1                    ;; Resource priority
>
> Unless the implementation is drastically different in 1.8.20.1 it never
> caused any issues here.
>
> Thank you,
> Vladimir
>
>
>
> On 3/20/2013 7:57 AM, Chris Gentle wrote:
>> I just wanted to send out some information that will hopefully help
>> others.  I don't know, maybe I'm the only one that's been having
>> problems with this.  I've been pulling my hair out for a while
>> wondering why Google would not send my incoming calls to my Asterisk
>> box.  The calls would just roll to voice mail and no packets ever
>> reached Asterisk.  This has happened on two separate Asterisk boxes
>> and three different GoogleVoice numbers.  I've been all through the GV
>> web page settings but nothing I did changed anything.  I figured it
>> had to be something simple, and I was right.  I finally ran across an
>> article that talked about the priority setting in xmpp.conf.  This is
>> set to 1 by default, which is apparently the lowest priority setting.
>> Apparently, GV routes calls to whatever session has the highest
>> priority.  If I understand correctly, being logged into gmail/gtalk
>> has a higher priority, somewhere around 20.  So Google calls were
>> probably being routed to my logged-in session but I never saw them
>> because I don't use Gtalk.  I changed this value to 100, as suggested
>> in the article, and incoming calls immediately started working for all
>> three GoogleVoice numbers.
>>
>> The Asterisk 11 xmpp.conf sample file currently has this to say about
>> the priority setting:
>>
>> ;priority=1                             ; Resource priority
>>
>> I'm going to go out on a limb here and say that probably could use a
>> bit more.  This seems like a pretty important setting.
>>
>> Just my two cents ...
>>
>> Hope this helps somebody else.
>>
>> --
>> Chris
>>
>> --
>> _____________________________________________________________________
>> -- 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
>>
>
>
> --
> _____________________________________________________________________
> -- 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
>

I'm running asterisk 1.8.10.1 and can confirm it works the same way.

I had it set to 1 originally and it worked fine at first then suddenly 
stopped.
It drove me crazy until I ran across this link:
http://iprouteth0.blogspot.com/2013/01/new-thoughts-troubleshooting-google.html

Set it to 127 and it has worked ever since.

Harley



More information about the asterisk-users mailing list