Author Topic: XMPP/Jingle auto accept subscribe requests?  (Read 11914 times)

rbowles

  • Newbie
  • *
  • Posts: 3
    • View Profile
XMPP/Jingle auto accept subscribe requests?
« 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?


marian

  • Hero Member
  • *****
  • Posts: 513
    • View Profile
Re: XMPP/Jingle auto accept subscribe requests?
« Reply #1 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?

Diana Cionoiu

  • Administrator
  • Jr. Member
  • *****
  • Posts: 71
    • View Profile
Re: XMPP/Jingle auto accept subscribe requests?
« Reply #2 on: April 08, 2013, 12:19:43 PM »
@Marian: Which configuration file should be edited?

marian

  • Hero Member
  • *****
  • Posts: 513
    • View Profile
Re: XMPP/Jingle auto accept subscribe requests?
« Reply #3 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
}