Advertisement
Guest User

PJSIP trunk

a guest
Apr 15th, 2021
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.35 KB | None | 0 0
  1. ############### pjsip.aor.conf ################
  2.  
  3. [basic]
  4. type=aor
  5. qualify_frequency=60
  6. contact=sip:*****.rt.ru ;host by provider
  7.  
  8. ############### pjsip.auth.conf ###############
  9.  
  10. [basic]
  11. type=auth
  12. auth_type=userpass
  13. password=***** ;password by provider
  14. username=admin ;login by provider
  15.  
  16. ############### pjsip.endpoint.conf ##########
  17.  
  18. [basic]
  19. type=endpoint
  20. transport=0.0.0.0-wss
  21. context=from-pstn
  22. disallow=all
  23. allow=ulaw,alaw,gsm,g726,g722,opus
  24. aors=basic
  25. send_connected_line=false
  26. language=en
  27. outbound_auth=basic
  28. from_domain=*****.rt.ru ;host by provider
  29. from_user=admin ;login by provider
  30. contact_user=admin ;login by provider
  31. user_eq_phone=no
  32. t38_udptl=no
  33. t38_udptl_ec=none
  34. fax_detect=no
  35. trust_id_inbound=yes
  36. t38_udptl_nat=no
  37. inband_progress=yes
  38. direct_media=no
  39. rewrite_contact=yes
  40. rtp_symmetric=yes
  41. dtmf_mode=auto
  42.  
  43. ############### pjsip.identify.conf ########
  44.  
  45. [basic]
  46. type=identify
  47. endpoint=basic
  48. match=*****.rt.ru ;host by provider
  49.  
  50. ############### pjsip.registration.conf ####
  51.  
  52. [basic]
  53. type=registration
  54. transport=0.0.0.0-wss
  55. outbound_auth=basic
  56. retry_interval=60
  57. fatal_retry_interval=0
  58. forbidden_retry_interval=10
  59. max_retries=10
  60. expiration=3600
  61. line=yes
  62. endpoint=basic
  63. auth_rejection_permanent=yes
  64. contact_user=admin ;login by provider
  65. server_uri=sip:*****.rt.ru:5060
  66. client_uri=sip:admin@*****.rt.ru:5060
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement