Advance Google Talk in FreePBX 2.10

Hello to every one,

I am new in freepbx site and this is my first post, I hope that I will be able to help someone also.

I have managed to get basic configuration to get Gtalk running by following this instructions

http://www.sinologic.net/blog/2011-07/tutorial-configurando-una-cuenta-de-gtalk-en-nuestro-asterisk-1-8-x/

There are some extra changes in extensions_custom.conf for the call flow when using more that one account

What I am trying to achieve is get several Google Talk trunks filtered by the callers whether they are in my contact list or the call is handled as a guest user.

It is supposed that in gtalk.conf [general] allowguest=yes will allow calls from people that are not in your contact list and allowguest=no WILL NOT allow calls from people that are not in your contact list.

If I use:

[general]
bindaddr=x.x.x.x.x
stunaddr=stun.internetcalls.com
allowguest=no


[user1]
disallow=all
allow=ulaw
allow=alaw
context=context-user1
connection=conection-user1

[user2]
disallow=all
allow=ulaw
allow=alaw
context=context-user2
connection=conection-user2


[guest]
disallow=all
allow=ulaw
allow=alaw
context=context-gtalk-guests

The allowguest=no guests ignored while I have the [guest] available, if I take off all the [guest] part then not calls get through even when in my jabber.conf I autoprune and I add contacts manually, [email protected]

I have tried all kind of combinations like removing allowguest from [general] and placing it into each user config. I don’t know if allowguest makes sense outside the general area but did not make any effects.

It seems that allowguest guest overwritten by the [guest] part.

It would very interesting to have this type of configuration working as I could have several accounts registered to my box, according to who calls I can managed if that calls goes directly to extensions, PBX IVR, groups, etc or redirect to an external call.

Many thanks