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

Daniel-Constantin Mierla miconda at gmail.com
Wed Apr 1 10:32:06 CEST 2020


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 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
> end this is only disk space
>
>
>
> On Fri, Mar 27, 2020 at 4:43 AM Daniel-Constantin Mierla
> <miconda at gmail.com <mailto:miconda at gmail.com>> wrote:
>
>     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        gst,file:///tmp/file_to_play.wav
>
>     and the one for echo:
>
>     audio_source            aubridge,pseudo0
>
>     So it looks like a conflict to be able to have both.
>
>     Having two independent accounts that one plays file and one does
>     echo is
>     enough for what I wanted to find, I am asking more for curiosity.
>
>     Cheers,
>     Daniel
>
>     On 27.03.20 12:05, Juha Heinanen wrote:
>     > Regarding echo, one can use same kind of baresip accounts file as
>     > with play, such as
>     >
>     > <sip:echo at test.tutpro.com
>     <mailto:sip%3Aecho at test.tutpro.com>>;auth_user=echo;auth_pass=xxxxxx;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 in config file, these lines are needed:
>     >
>     > audio_player            aubridge,pseudo0
>     > audio_source            aubridge,pseudo0
>     > module                  aubridge.so
>     > module_app              echo.so
>     >
>     > -- Juha
>
>     -- 
>     Daniel-Constantin Mierla -- www.asipto.com <http://www.asipto.com>
>     www.twitter.com/miconda <http://www.twitter.com/miconda> --
>     www.linkedin.com/in/miconda <http://www.linkedin.com/in/miconda>
>
>
>     _______________________________________________
>     Kamailio (SER) - Users Mailing List
>     sr-users at lists.kamailio.org <mailto:sr-users at lists.kamailio.org>
>     https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200401/10de56fa/attachment.html>


More information about the sr-users mailing list