OS : Rocky Linux 8.x
SIP Solution : kamailio (https://www.kamailio.org/w/)
Kamailio SIP Server Website : siremis (https://kb.asipto.com/siremis:index)
Topology
mobile phone =>4G---->Internet--->Firewall--->NAT-->rtpproxy/kamailio
===========================
[root@rocky8 src]# yum info kamailio.x86_64
Last metadata expiration check: 0:08:20 ago on Sun 18 Dec 2022 01:52:43 PM CST.
Installed Packages
Name : kamailio
Version : 5.6.2
Release : 0.el8.centos
Architecture : x86_64
Size : 30 M
Source : kamailio-5.6.2-0.el8.centos.src.rpm
Repository : @System
From repo : kamailio
Summary : Kamailio - the Open Source SIP Server
URL : http://kamailio.org/
License : GPL-2.0
Description : Kamailio is an Open Source SIP Server released under GPL, able
: to handle thousands of call setups per second. Among features: asynchronous TCP,
: UDP and SCTP, secure communication via TLS for VoIP (voice, video); IPv4 and
: IPv6; SIMPLE instant messaging and presence with embedded XCAP server and MSRP
: relay; ENUM; DID and least cost routing; load balancing; routing fail-over;
: accounting, authentication and authorization; support for many backend systems
: such as MySQL, Postgres, Oracle, Radius, LDAP, Redis, Cassandra; XMLRPC control
: interface, SNMP monitoring. It can be used to build large VoIP servicing
: platforms or to scale up SIP-to-PSTN gateways, PBX systems or media servers
: like Asterisk™, FreeSWITCH™ or SEMS.
[root@rocky8 src]#
yum install kamailio kamailio-mysql kamailio-presence kamailio-ldap kamailio-debuginfo kamailio-xmpp kamailio-unixodbc kamailio-utils kamailio-gzcompress kamailio-tls kamailio-outbound
[root@rocky8 etc]# kamdbctl create
MySQL password for root:
INFO: test server charset
INFO: creating database kamailio ...
INFO: granting privileges to database kamailio ...
INFO: creating standard tables into kamailio ...
INFO: Core Kamailio tables successfully created.
Create the presence related tables? (y/n): y
INFO: creating presence tables into kamailio ...
INFO: Presence tables successfully created.
Create the tables for imc cpl siptrace domainpolicy carrierroute
drouting userblocklist htable purple uac pipelimit mtree sca mohqueue
rtpproxy rtpengine secfilter? (y/n): y
INFO: creating extra tables into kamailio ...
INFO: Extra tables successfully created.
Create the tables for uid_auth_db uid_avp_db uid_domain uid_gflags
uid_uri_db? (y/n): y
INFO: creating uid tables into kamailio ...
INFO: UID tables successfully created.
[root@rocky8 etc]#
Topology
SIP ---->Internet--->Firewall (FortiGate)--->NAT-->SIP Gateway
edit "SIP-HNT"
config sip
set hosted-nat-traversal enable
set status enable
set rtp enable
沒有留言:
張貼留言