All working, first draft of instructions

This commit is contained in:
2024-09-15 18:43:12 +02:00
parent 6dde648852
commit da9dee458c
2 changed files with 40 additions and 5 deletions

40
instructions.txt Normal file
View File

@@ -0,0 +1,40 @@
1. Install kamailio
configure kamailio.cfg
# Module parameters
db_url for dispatcher
ds_ping_from for dispatcher
reg_contact_addr for uac
reg_db_url for uac
# Variables in request route section
$avp(customerpbxip)="10.0.5.4";
$avp(sip1)="10.0.5.7";
$avp(sip2)="10.0.5.5";
#TRUNKAUTH variables
$avp(auser) = "kam";
$avp(apass) = "kam";
2. Install rtpengine
copy config file from this repository
3. Install mysql server (or use remote one)
- load database dump from this repository, example data is allready inside table uacreg
- configure outbound destination server parameters in uac_reg table using the examples inside
4. Configure syslog to log call CDRS into separate file
/etc/syslog.conf
local2.* -/var/log/cdrs.log
Example data:
10.0.5.4 ip of your main SIP server
10.0.5.6 ip of kamailio voip proxy
10.0.5.5 ip of secondary SIP server from your provider
10.0.5.7 ip of primary SIP server form your provider
registration user/pass is kam/kam
Check dispatcher status for routing:
kamcmd dispatcher.list

View File

@@ -20,15 +20,10 @@ loadmodule "acc.so"
loadmodule "dialog.so"
loadmodule "db_flatstore.so"
# Lines to configure:
# uac reg_contact_addr
# 3 avps
# Global parameters
cfgengine "native"
fork=yes
children=4
debug=3
log_facility=LOG_LOCAL0
log_prefix="{$mt $hdr(CSeq) $ci} "
# RTPProxy settings