Author Topic: place only one leg of call in a conf  (Read 8390 times)

xyswitchz

  • Newbie
  • *
  • Posts: 26
    • View Profile
place only one leg of call in a conf
« on: April 15, 2018, 04:43:07 PM »

Hi

On a connected call with two  legs is to possible to place only one of the legs in a conf and not effect the current call, keeping it connected.

What I want to archive is monitor one of the legs.

I found that on a conference the record parameter can route a new call to a sip channel. This is perfect but
it to passes audio for all the conference legs. I need to only have audio from a specific leg?

marian

  • Hero Member
  • *****
  • Posts: 513
    • View Profile
Re: place only one leg of call in a conf
« Reply #1 on: April 16, 2018, 01:10:00 AM »
It is not possible to connect a call leg to 2 call legs.
If you are connecting a call leg to a conference and you want to keep audio with old leg you must connect the other call leg to the same conference room.

I'm not sure I understand what you want to achieve.
Can you give us more details?

xyswitchz

  • Newbie
  • *
  • Posts: 26
    • View Profile
Re: place only one leg of call in a conf
« Reply #2 on: April 16, 2018, 03:58:45 AM »
I have a connected call sip/2 with sip/1

${targetid}^sip=echo outbound call answered. Putting sip/2 and sip/1 to conf room
${targetid}^sip/\(.*\)=dispatch chan.masquerade;id=${id};message=call.conference;room=conf/\1;smart=false;record=sip/sip:bruce@9.8.7.6;line=localsip;caller=1001

call.conference has converted the call to conference and record command makes new call sip/3 sending audio of conference of both sip/1 and sip/2.

I want to have record only include sip/2 channel - not both channels.

So the end result I want is want audio from only sip/2 sending to sip/3. sip/3 will only listen.
sip/1 and sip/2 should still be connected. sip/1 and sip/2 should not hear sip/3.

I use conference because its the only info I found so far. I suppose if there is a way to directly hook into sip/2 without the need for conf it might be more efficient?



« Last Edit: April 16, 2018, 04:04:09 AM by xyswitchz »

marian

  • Hero Member
  • *****
  • Posts: 513
    • View Profile
Re: place only one leg of call in a conf
« Reply #3 on: April 18, 2018, 12:15:29 AM »
What do you want to do:
Have some user in a conference with no voice (listen only)
OR
Record the call
?

xyswitchz

  • Newbie
  • *
  • Posts: 26
    • View Profile
Re: place only one leg of call in a conf
« Reply #4 on: April 18, 2018, 02:13:02 AM »
I want to listen to only a single channel.

Do not require conference. Do not require call recording.

marian

  • Hero Member
  • *****
  • Posts: 513
    • View Profile
Re: place only one leg of call in a conf
« Reply #5 on: April 18, 2018, 02:23:34 AM »
If you want to listen a call (no recording) the conference module is the only one implementing this capability.