K
K
krll-k2014-05-25 13:26:10
linux
krll-k, 2014-05-25 13:26:10

Asterisk + Sipnet + Raspberry = incoming calls. How to setup?

There is a need for an Asterisk server, a call recording is needed. You need the ability to make a call from any available phone, you need a Sip provider. You need to host an Asterisk server somewhere, and the Raspberry Pi is perfect for this. It is necessary to make sure that during the call a recording is made. How to do this? Tell me which way to dig? Which Sip providers allow you to test them? What is the best way to set up Asteriks, in short, what needs to be done point by point?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
Max, 2014-05-25
@krll-k

Your question is very broad and cannot be summed up in one answer. The fastest way is to hire someone.
And in order to understand and understand in which direction to dig, here is the information to start with:
1) First you need to understand how asterisk works in general - the book will help here: Asterisk: the future of telephony (it is relevant for general understanding and is based on version 1.4, there is a second edition of this book , but it is only in English.) This will give an understanding of the work of Asterisk and VoIP, and then it will simply be.
2) Recording calls - this is actually a working example:
exten => _989XXXXXXXXX,1,NoOp(Recording call)
same => n,Set(CallTime=${STRFTIME(${EPOCH},,%C%y%m% d%H%M%S)})
same => n,Set(CallDate=${STRFTIME(${EPOCH},,%C%y%m%d)})
same => n,Set(CALLFILENAME=/var/spool/asterisk/monitor/${CallDate}/${CallTime}_${CALLERID(num)}_${EXTEN})
same => n,NoOp(${ CALLFILENAME}.wav)
same => n,MixMonitor(${CALLFILENAME}_mixed.wav,b); input/output voice to one file
same => n,Monitor(wav,${CALLFILENAME}.wav,b); input and outgoing voice in a separate file
same => n,Dial(SIP/to-provider-trunk/${EXTEN:1},120,t)
same => n,Hangup()
ps Another very important question is how many simultaneous calls there will be , there is a suspicion that the Pi will not pull the recording of several simultaneous calls.
pps There is also an important issue - security, because. hacks of those who set up without understanding what they are doing are not rare ...

A
Aspos, 2014-05-25
@Aspos

www.raspberry-asterisk.org

A
Alexander Rogolev, 2015-08-24
@rogolev

www.uelastix.com
Here is a distro for raspbery pi. in a convenient web interface. Just right for beginners.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question