Recent Posts

Pages: [1] 2 3 ... 10
1
Yate users hangout place / Does Yate have a chanspy function
« Last post by xyswitchz on April 18, 2018, 03:04:53 AM »
Can Yate do similar to Asterisk chanspy module

chanspy

Synopsis
Listen to a channel

Description
This application is used to listen to the audio from an Asterisk channel. This includes the audio coming in and out of the channel being spied on.

This does not use conference it directly attaches to audio from the selected channel
2
Yate users hangout place / Re: place only one leg of call in a conf
« Last post by marian 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.
3
Yate users hangout place / Re: place only one leg of call in a conf
« Last post by xyswitchz 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.
4
Yate users hangout place / Re: place only one leg of call in a conf
« Last post by marian 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
?
5
Yate users hangout place / Re: place only one leg of call in a conf
« Last post by xyswitchz 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?



6
Yate users hangout place / Re: place only one leg of call in a conf
« Last post by marian 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?
7
Yate users hangout place / place only one leg of call in a conf
« Last post by xyswitchz 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?
8
Yate users hangout place / Re: copy a call to a conference
« Last post by xyswitchz on April 15, 2018, 09:51:17 AM »
found a way to do this. create a conference and use record parameter :)
9
Yate users hangout place / copy a call to a conference
« Last post by xyswitchz on April 14, 2018, 07:39:55 AM »

Is there a way to stream copy a call into a conference.

Like spy/listen in on a call and send the audio to a conference room?
10
Yate users hangout place / Re: place a new call after calll has been answered
« Last post by marian on April 13, 2018, 01:00:10 AM »
conference module does not support making outbound calls.

You need to connect the outbound call leg to conference after started.
You may use some call event to do it (e.g. answer).

You may also use an external script to do it.
Here is an example of javascript function to do it:

function makeCallConf(callto)
{
    var m = new Message("call.execute");
    m.callto = "dumb/";
    m.direct = callto;
    // TODO: Fill other params
    if (m.dispatch()) {
        // Connect outbound call leg to conference
        var masq = new Message("chan.masquerade");
        masq.message = "call.execute";
        masq.id = m.peerid;
        masq.callto = "conf/studio";
        masq.enqueue();
    }
}
Pages: [1] 2 3 ... 10