From 9bf60de8a83de02336e8ab0366a3a928458495c4 Mon Sep 17 00:00:00 2001 From: mpmc Date: Mon, 3 Jul 2023 23:42:59 +0100 Subject: [PATCH] ast: add missing rtp.conf --- asterisk/conf/basic/rtp.conf | 8 ++++++++ asterisk/conf/mobile/pjsip.conf | 26 ++++++++++++++++++++++++++ asterisk/conf/mobile/rtp.conf | 8 ++++++++ 3 files changed, 42 insertions(+) create mode 100644 asterisk/conf/basic/rtp.conf create mode 100644 asterisk/conf/mobile/pjsip.conf create mode 100644 asterisk/conf/mobile/rtp.conf diff --git a/asterisk/conf/basic/rtp.conf b/asterisk/conf/basic/rtp.conf new file mode 100644 index 0000000..638fb7e --- /dev/null +++ b/asterisk/conf/basic/rtp.conf @@ -0,0 +1,8 @@ +; +; /etc/asterisk/rtp.conf +; +; Inspired by/Stolen from https://www.sacredheartsc.com/blog/building-a-personal-voip-system/ +; +[general] +rtpstart=15010 +rtpend=16000 diff --git a/asterisk/conf/mobile/pjsip.conf b/asterisk/conf/mobile/pjsip.conf new file mode 100644 index 0000000..9500b01 --- /dev/null +++ b/asterisk/conf/mobile/pjsip.conf @@ -0,0 +1,26 @@ +; +; /etc/asterisk/pjsip.conf +; +; Inspired by/Stolen from https://www.sacredheartsc.com/blog/building-a-personal-voip-system/ +; +[global] +; A type is always required (say the docs). +type = global + +; KYE (Know your endpoint ;) ) ordering. +endpoint_identifier_order = ip,username,anonymous + +; Basic UDP Transport. +[ipv4-udp] +type = transport +bind = 0.0.0.0:65535 +protocol = udp +local_net = 172.16.0.0/12 +local_net = 192.168.0.0/16 +local_net = 127.0.0.0/8 +local_net = 10.0.0.0/8 + +; +; Load trunk identify block. +#tryinclude pjsip_identify_trunk_one.conf + diff --git a/asterisk/conf/mobile/rtp.conf b/asterisk/conf/mobile/rtp.conf new file mode 100644 index 0000000..13cf1ce --- /dev/null +++ b/asterisk/conf/mobile/rtp.conf @@ -0,0 +1,8 @@ +; +; /etc/asterisk/rtp.conf +; +; Inspired by/Stolen from https://www.sacredheartsc.com/blog/building-a-personal-voip-system/ +; +[general] +rtpstart=62535 +rtpend=65535