Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - xyswitchz

Pages: [1] 2
1
Yate users hangout place / No Callid in CDR
« on: May 18, 2019, 12:23:14 PM »
I am unable to get bleg callid to save to cdr the value is empty on the saved csv.
please advise how to save the callid in the csv?

I am using regexroute - cdrfile and cdrcombined


This is what I tried so far

regexroute.conf
...
[extra]
chan.startup=50

[chan.startup]
${direction}^outgoing=;bleg_id=${sip_callid};copyparams=bleg_id;
...

cdrbuild.conf
...
[parameters]
bleg_id=false
...

cdrfile.conf
...
combined=true
format="${out_leg.reason}",...
...



 

2
How to set sip header on a call via direct command

.*=dispatch call.execute;callto=dumb/;direct=sip/sip:54321@x.x.x.x;osip_X-Acct=${acctid}

No header present with X-Acct. This does not seem to works. What the correct way please?

3
Yate users hangout place / Re: copyparams propagation
« on: May 01, 2018, 06:22:33 AM »
ok thanks I have rearranged to use call.cdr

4
Yate users hangout place / copyparams propagation
« on: April 30, 2018, 07:32:08 PM »
I dial outbound like this
.*=sip/sip:54321@x.x.x.x;copyparams=param1,param2;param1=aaa;param1=bbb

I want to access variables param1 and param2 from call.answered event however
they appear to be missing from this event.

What do i need to do to make them accessible on call.answered?


5
Yate users hangout place / Does Yate have a chanspy function
« 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

6
Yate users hangout place / Re: place only one leg of call in a conf
« 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.

7
Yate users hangout place / Re: place only one leg of call in a conf
« 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?




8
Yate users hangout place / 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?

9
Yate users hangout place / Re: copy a call to a conference
« on: April 15, 2018, 09:51:17 AM »
found a way to do this. create a conference and use record parameter :)

10
Yate users hangout place / copy a call to a conference
« 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?

11
Ho

I want to archive the following and trying to add the correct commands in regexroute

1) On a sip call.answered event I want the B leg to enter to a new conf room.

2) Once conf channel has a chan.connected I want dispatch a message to dial out to a separate new call and place this in the conf room.

Any advise please on how the proper syntaxt and commands format to use

reagrds

12
thanks marian.

One more question How would execute a new call and place into directly in a conference room.

something like?

^.*$=dispatch call.execute;callto=conf/studio;direct=sip/sip:bruce@9.8.7.6;line=localsip


13
In regexroute on call.answered how to originate a separate new call ?

I tried but it does nothing

[call.answered]
^.*$=echo answered
^.*$=dispatch chan.masquerade;message=call.execute;callto=wave/play//usr/local/yate/audio.sln;direct=sip/sip:bruce@9.8.7.6;line=localsip

14

how can a provide username and password call do a sip call in one go. Without the need to use accfile?

something like

^.*$=sip/sip:peter@9.8.7.6;username=bruce;password=7v64f2

I remember I did it some how before.

15
Yate users hangout place / string parsing in regexroue
« on: April 10, 2018, 07:09:27 AM »
Hi

in regexroute I have

^.*$=echo answered ${id}

if ${id} is sip/21

how can I can i extract '21' from it?

Pages: [1] 2