Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- socket=tls:myip:5061
- socket=tcp:myip:5060
- socket=udp:myip:5508
- alias="sbc2.xxx.com"
- alias="sbc2.xxx.com:5061"
- alias="sbc2.xxx.com:5508"
- loadmodule "proto_tls.so"
- modparam("proto_tls", "tls_max_msg_chunks", 8)
- loadmodule "tls_mgm.so"
- modparam("tls_mgm", "client_domain", "sbc2.xxx.com")
- modparam("tls_mgm", "match_ip_address", "[sbc2.xxx.com]ip:5061")
- modparam("tls_mgm", "certificate", "[sbc2.xxx.com]/usr/local/etc/opensips/tls/xxx2021.crt")
- modparam("tls_mgm", "private_key", "[sbc2.xxx.com]/usr/local/etc/opensips/tls/xxx11.key")
- modparam("tls_mgm", "tls_method", "[sbc2.xxx.com]TLSv1_2")
- modparam("tls_mgm","verify_cert", "[sbc2.xxx.com]1")
- modparam("tls_mgm","require_cert", "[sbc2.xxx.com]1")
- I have added MS Team domain in the dr_gateways table as below
- mysql> select * from dr_gateways;
- +----+------+------+-----------------------------------------+-------+------------+-------+------------+-------+------------------------+-----------------+
- | id | gwid | type | address | strip | pri_prefix | attrs | probe_mode | state | socket | description |
- +----+------+------+-----------------------------------------+-------+------------+-------+------------+-------+------------------------+-----------------+
- | 1 | ms1 | 3 | sip.pstnhub.microsoft.com;transport=tls | 0 | NULL | NULL | 2 | 0 | tls:myip:5061 | testing gateway |
- +----+------+------+-----------------------------------------+-------+------------+-------+------------+-------+------------------------+-----------------+
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement