I would like to bounce off some inbound calls, based on a configuration, using a prosody plugin.
I started to work on it using a presence hook, but I saw no field in the xmpp event received that could be used to differentiate an inbound call (user call) from an outbound call (jitsi invite). The stanza’s from/to fields are the same in both cases.
I was told on jitsi’s IRC that the only way was to provide a patch to jigasi to add a new field to the event allowing us to distinguish inbound and outbound calls.
Where should I start to provide this feature / is there any other way to make this?
Thanks a lot!