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
Kai-Uwe Jensen
2013-Mar-20 14:40 UTC
[asterisk-users] xmpp priority setting and GoogleVoice
Great info, thanks for sharing! I was resigned to the fact that the same account couldn't be logged into Gtalk simultaneously. (Never had issues with being logged into Gmail, though.) On Wed, Mar 20, 2013 at 6:57 AM, Chris Gentle <gentlec at gmail.com> 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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130320/f87959a9/attachment.htm>
Vladimir Mikhelson
2013-Mar-23 03:13 UTC
[asterisk-users] xmpp priority setting and GoogleVoice
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 >