Yate Community Forum

General Category => Yate users hangout place => Topic started by: rbowles on March 08, 2013, 08:26:54 PM

Title: XMPP/Jingle auto accept subscribe requests?
Post by: rbowles on March 08, 2013, 08:26:54 PM
I am new to XMPP/Jingle (I can't even spell XMPP!)

I have my lovely YATE server running XMPP/Jingle in client mode and is mostly serving some talk.google.com accounts.

I now have YATE also joining another XMPP server.  It logs in properly, display presence and accepts calls.  Is there a way to tell YATE to auto accept new contact / subscribe requests?

Title: Re: XMPP/Jingle auto accept subscribe requests?
Post by: marian on March 26, 2013, 02:04:42 AM
There is no place in user interface of Yate Client to configure such thing.

You can do it by editing a configuration file.
What platform are you using?
Title: Re: XMPP/Jingle auto accept subscribe requests?
Post by: Diana Cionoiu on April 08, 2013, 12:19:43 PM
@Marian: Which configuration file should be edited?
Title: Re: XMPP/Jingle auto accept subscribe requests?
Post by: marian on April 09, 2013, 01:16:26 AM
You must edit regexroute.conf:

[extra]
resource.subscribe=90

[resource.subscribe]
${module}^jabberclient$=if ${operation}^subscribe$= {
   ; Accept subscription request
   .*=enqueue resource.notify;account=${account};to=${subscriber};operation=subscribed
}