Re: [SR-Users] [ot] lightweight sip app for auto-answering with play file and echo mode

2020-04-01 Thread Julien Chavanton
My pleasure, The xml actions, parameters and examples are documented in the main readme. https://github.com/jchavanton/voip_patrol/blob/master/README.md On Wed, Apr 1, 2020 at 1:32 AM Daniel-Constantin Mierla wrote: > Hello, > > thanks, looks interesting, need to look more at voip_patrol

Re: [SR-Users] [ot] lightweight sip app for auto-answering with play file and echo mode

2020-04-01 Thread Daniel-Constantin Mierla
Hello, thanks, looks interesting, need to look more at voip_patrol tool. Is the xml language for config/scenarios documented? Cheers, Daniel On 01.04.20 07:21, Julien Chavanton wrote: > Hi Daniel, > > A little late, but I created a quick start doc on how to use > voip_patrol docker container

Re: [SR-Users] [ot] lightweight sip app for auto-answering with play file and echo mode

2020-03-31 Thread Julien Chavanton
I also have an image for the RTP media server module, I think is it also coming ready to play a file. https://hub.docker.com/repository/docker/jchavanton/rtp_media_server On Tue, Mar 31, 2020 at 10:21 PM Julien Chavanton wrote: > Hi Daniel, > > A little late, but I created a quick start doc on

Re: [SR-Users] [ot] lightweight sip app for auto-answering with play file and echo mode

2020-03-31 Thread Julien Chavanton
Hi Daniel, A little late, but I created a quick start doc on how to use voip_patrol docker container pre-configured to answer anything and play a file https://github.com/jchavanton/voip_patrol/blob/quick_start/QUICK_START.md The docker image is quite large I keep it easily debugable, in this

Re: [SR-Users] [ot] lightweight sip app for auto-answering with play file and echo mode

2020-03-27 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > Would it be possible to combine like playing a file first, then do echo > mode? As you noticed, play and echo use different audio_source and thus I don't think it is possible to combine the two. -- Juha ___ Kamailio

Re: [SR-Users] [ot] lightweight sip app for auto-answering with play file and echo mode

2020-03-27 Thread Juha Heinanen
Regarding echo, one can use same kind of baresip accounts file as with play, such as ;auth_user=echo;auth_pass=xx;outbound="sip:192.168.43.82:5060;transport=tcp";ptime=20;audio_codecs=OPUS/48000/2,PCMU,PCMA;regint=600;pubint=0;regq=0.5;sipnat=outbound;answermode=auto The difference is that

Re: [SR-Users] [ot] lightweight sip app for auto-answering with play file and echo mode

2020-03-27 Thread Daniel-Constantin Mierla
Thanks for this hints as well! Would it be possible to combine like playing a file first, then do echo mode? What I could figure out from your examples, it is mainly about what modules and module_app's are loaded in baresip config. The config for playing an audio file has: audio_source       

Re: [SR-Users] [ot] lightweight sip app for auto-answering with play file and echo mode

2020-03-27 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > > Here is an example configuration of a SIP UA that plays a file when it > > receives a call: > > > > .baresip/config: > > ... > > audio_sourcegst,file:///tmp/file_to_play.wav > > ... > > module gst1.so gst1 module was recently

Re: [SR-Users] [ot] lightweight sip app for auto-answering with play file and echo mode

2020-03-27 Thread Daniel-Constantin Mierla
Thanks Juha, useful for a quicker starting point -- hope to get a bit time soon to play with and eventually replace some of the heavy apps I use in couple of testing scenarios. Cheers, Daniel On 26.03.20 17:31, Juha Heinanen wrote: > Daniel-Constantin Mierla writes: > wondering if anyone

Re: [SR-Users] [ot] lightweight sip app for auto-answering with play file and echo mode

2020-03-26 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > >> wondering if anyone here is aware of a lightweight sip app that can > >> answer a call, play some file and/or do echo mode, mainly targeted at > >> using it for basic sip routing and call testing. > > baresip cli app can do all that. > > OK, thanks, I will

Re: [SR-Users] [ot] lightweight sip app for auto-answering with play file and echo mode

2020-03-26 Thread Henning Westerholt
Hello, you can give the important stuff (like codecs, play file, auto accept etc..) on the command line. Cheers, Henning -- Henning Westerholt – https://skalatan.de/blog/ Kamailio services – https://gilawa.com -Original Message- From: sr-users On Behalf Of Daniel-Constantin

Re: [SR-Users] [ot] lightweight sip app for auto-answering with play file and echo mode

2020-03-26 Thread Daniel-Constantin Mierla
On 26.03.20 11:19, Juha Heinanen wrote: > Daniel-Constantin Mierla writes: > >> wondering if anyone here is aware of a lightweight sip app that can >> answer a call, play some file and/or do echo mode, mainly targeted at >> using it for basic sip routing and call testing. > baresip cli app can do

[SR-Users] [ot] lightweight sip app for auto-answering with play file and echo mode

2020-03-26 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > wondering if anyone here is aware of a lightweight sip app that can > answer a call, play some file and/or do echo mode, mainly targeted at > using it for basic sip routing and call testing. baresip cli app can do all that. -- Juha

Re: [SR-Users] [ot] lightweight sip app for auto-answering with play file and echo mode

2020-03-26 Thread Nuno Ferreira
baresip is also something to consider https://github.com/alfredh/baresip Regards, Nuno On Thu, Mar 26, 2020 at 8:56 AM Daniel-Constantin Mierla wrote: > I looked a bit at the pjsua recently (and used it along the time), but I > couldn't find an option to do echo mode. Are you aware if it can

Re: [SR-Users] [ot] lightweight sip app for auto-answering with play file and echo mode

2020-03-26 Thread Daniel-Constantin Mierla
I looked a bit at the pjsua recently (and used it along the time), but I couldn't find an option to do echo mode. Are you aware if it can be done? Cheers, Daniel On 26.03.20 09:08, Alexey Vasilyev wrote: > I’m using pjsua in test suite. It is lightweight, it can be controlled by > telnet. > It

Re: [SR-Users] [ot] lightweight sip app for auto-answering with play file and echo mode

2020-03-26 Thread Daniel-Constantin Mierla
Thanks! The inconvenient thing with sipp is that I have to write the xml scenarios, which can be different if the call goes through many proxies or single proxy or just behind another media server like asterisk or freeswitch. Cheers, Daniel On 26.03.20 08:53, Yuriy Gorlichenko wrote: > Sipp

Re: [SR-Users] [ot] lightweight sip app for auto-answering with play file and echo mode

2020-03-26 Thread Alexey Vasilyev
I’m using pjsua in test suite. It is lightweight, it can be controlled by telnet. It is easily can be built for Alpine and run in the docker. Docker image size is 19 MB. It can play file when calling, it can answer and play file, it can record call. And fully supports IPv4, IPv6, TLS/TCP/UDP,

Re: [SR-Users] [ot] lightweight sip app for auto-answering with play file and echo mode

2020-03-26 Thread Yuriy Gorlichenko
Sipp since version 3.3 ( as I remember ) can play files. I have used that for some kind of testing. On Thu, 26 Mar 2020, 08:45 Daniel-Constantin Mierla, wrote: > Hello, > > wondering if anyone here is aware of a lightweight sip app that can > answer a call, play some file and/or do echo mode,

[SR-Users] [ot] lightweight sip app for auto-answering with play file and echo mode

2020-03-26 Thread Daniel-Constantin Mierla
Hello, wondering if anyone here is aware of a lightweight sip app that can answer a call, play some file and/or do echo mode, mainly targeted at using it for basic sip routing and call testing. Of course I know that Asterisk and FreeSwitch (or even SEMS) can do that, but they have many