Advertisement
Guest User

Untitled

a guest
Jul 14th, 2021
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.57 KB | None | 0 0
  1. socket=tls:myip:5061
  2. socket=tcp:myip:5060
  3. socket=udp:myip:5508
  4.  
  5.  
  6. alias="sbc2.xxx.com"
  7. alias="sbc2.xxx.com:5061"
  8. alias="sbc2.xxx.com:5508"
  9.  
  10.  
  11.  
  12. loadmodule "proto_tls.so"
  13. modparam("proto_tls", "tls_max_msg_chunks", 8)
  14.  
  15. loadmodule "tls_mgm.so"
  16.  
  17. modparam("tls_mgm", "client_domain", "sbc2.xxx.com")
  18. modparam("tls_mgm", "match_ip_address", "[sbc2.xxx.com]ip:5061")
  19. modparam("tls_mgm", "certificate", "[sbc2.xxx.com]/usr/local/etc/opensips/tls/xxx2021.crt")
  20. modparam("tls_mgm", "private_key", "[sbc2.xxx.com]/usr/local/etc/opensips/tls/xxx11.key")
  21. modparam("tls_mgm", "tls_method", "[sbc2.xxx.com]TLSv1_2")
  22. modparam("tls_mgm","verify_cert", "[sbc2.xxx.com]1")
  23. modparam("tls_mgm","require_cert", "[sbc2.xxx.com]1")
  24.  
  25.  
  26. I have added MS Team domain in the dr_gateways table as below
  27. mysql> select * from dr_gateways;
  28. +----+------+------+-----------------------------------------+-------+------------+-------+------------+-------+------------------------+-----------------+
  29. | id | gwid | type | address | strip | pri_prefix | attrs | probe_mode | state | socket | description |
  30. +----+------+------+-----------------------------------------+-------+------------+-------+------------+-------+------------------------+-----------------+
  31. | 1 | ms1 | 3 | sip.pstnhub.microsoft.com;transport=tls | 0 | NULL | NULL | 2 | 0 | tls:myip:5061 | testing gateway |
  32. +----+------+------+-----------------------------------------+-------+------------+-------+------------+-------+------------------------+-----------------+
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement