Complex snoop channels scheme

Hello,

Can you help me please, I want to make complex conference with snoop roles - Applicant, Agent, Main Agent, Assistant and Part Assistant.

Applicant is a customer he can hear Agents and Main Agents
Assistant can hear all conference members except other Assistants and only Main Agent can hear him.
Part Assistant can hear all conference members except Assistants and all members can hear him except Applicant

So, to do this, I create Bridges and Snoop channels and I almost solve the problem:

{
"id": "MAIN",
"channels": [
  "CHANNEL_APPLICANT",
  "CHANNEL_AGENT"
],
}
{
"id": "ASSISTANT",
"channels": [
  "CHANNEL_ASSISTANT"
  "SNOOP_AGENT_whisper_out_spy_both",
  "SNOOP_PART_ASSISTANT_whisper_none_spy_in",
],
},
{
"id": "PART_ASSISTANT",
"channels": [
  "CHANNEL_PART_ASSISTANT"
  "SNOOP2_AGENT_whisper_out_spy_both",
  "SNOOP_APPLICANT_whisper_none_spy_both",
],
}

But I faced to other issues with voice duplication:
CHANNEL_AGENT hears himself
CHANNEL_AGENT hears CHANNEL_PART_ASSISTANT twice
CHANNEL_AGENT hears CHANNEL_APPLICANT twice

So my questions are - are there in asterisk 16.6 pjsip any option to deduplicate voices in bridges/channels?
Or may be I went the wrong way to do my task and is it possible to do my task by combining snoop channels whisper/spy in/out options?

the problem is solved

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.