Advertisement
Guest User

Untitled

a guest
Jan 20th, 2019
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. pjsip.conf
  2. ==========
  3.  
  4. [transport-udp]
  5. type=transport
  6. protocol=udp
  7. bind=0.0.0.0
  8. external_media_address=hostname.or.external.ip
  9. external_signaling_address=hostname.or.external.ip
  10. local_net=1.2.3.4/255.255.255.0
  11.  
  12.  
  13.  
  14. pjsip_wizard.conf
  15. =================
  16.  
  17. [someuser]
  18. type=wizard
  19. transport=transport-udp
  20. accepts_auth=yes
  21. accepts_registrations=yes
  22. inbound_auth/username=alice
  23. inbound_auth/password=abc123
  24. endpoint/allow=!all,g722,alaw,ulaw
  25. endpoint/context=somedialplancontext
  26. endpoint/rtp_symmetric=yes
  27. endpoint/rewrite_contact=yes
  28. aor/max_contacts=1
  29.  
  30.  
  31.  
  32.  
  33. alternative pjsip_wizard.conf
  34. =============================
  35.  
  36. [user_defaults](!)
  37. type=wizard
  38. transport=transport-udp
  39. accepts_auth=yes
  40. accepts_registrations=yes
  41. endpoint/allow=!all,g722,alaw,ulaw
  42. endpoint/context=somedialplancontext
  43. endpoint/rtp_symmetric=yes
  44. endpoint/rewrite_contact=yes
  45. aor/max_contacts=1
  46.  
  47. [someuser](user_defaults)
  48. inbound_auth/username=alice
  49. inbound_auth/password=abc123
  50.  
  51. [anotheruser](user_defaults)
  52. inbound_auth/username=bob
  53. inbound_auth/password=xyz321
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement