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]
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 / 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?


4
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

5
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?

6
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?

7
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

8
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

9

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.

10
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?

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

In the file echo.sh 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?

12
Yate users hangout place / how to use analyzer
« on: September 29, 2017, 08:32:36 AM »
I am trying to use the analyzer
like
call analyzer/probe sip/sip:123@10.1.2.3;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

13
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?
sip/sip:number@server;username=xxxx;password=xxxx

14
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.


<?php

require_once("libyate.php");

Yate::Init(true,'localhost','5050');

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


any advice please?

Pages: [1]