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.

Topics - xyswitchz

Pages: [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






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?

Yate users hangout place / copyparams propagation
« on: April 30, 2018, 07:32:08 PM »
I dial outbound like this

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?

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


Listen to a channel

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

Yate users hangout place / place only one leg of call in a conf
« on: April 15, 2018, 04:43:07 PM »


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?

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?


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


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

I tried but it does nothing

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


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

something like


I remember I did it some how before.

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

in regexroute I have

^.*$=echo answered ${id}

if ${id} is sip/21

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

Yate users hangout place / internal audio type encoding
« on: March 30, 2018, 05:29:40 PM »

In the file example file included with yate; raw audio data is redirected back with the cat command.
I want to pipe this to sox to do some processing.

What is the type, encoding, sample of this internal audio format?

Yate users hangout place / how to use analyzer
« on: September 29, 2017, 08:32:36 AM »
I am trying to use the analyzer
call analyzer/probe sip/sip:123@;line=monitor

How do I use analyzer properly.  My call is getting rejected

why is the caller "analyzer/probe" and not the user of line monitor
p.c:15691 handle_request_invite: Sending fake auth rejection for user <sip:analyzer/probe@x.x.x.x:500>;tag=1457032322

Yate users hangout place / call as a registered user
« on: September 29, 2017, 08:24:23 AM »
how would i place a call  as a registered user with username and password

something like?

Yate users hangout place / masquerade message from external does not work
« on: September 19, 2017, 06:57:06 AM »
The script below does not seem to work. Sniffer show the message is received but wav file is not played.




$m = new Yate("chan.masquerade");
$m->SetParam("messagae", "chan.attach");
$m->SetParam("id", "dumb/1");
$m->SetParam("source", "wave/play//home/sounds/jazz.slin");

any advice please?

Pages: [1]