Advertisement
Guest User

sip.conf

a guest
Dec 13th, 2016
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. root@sip:~ # service pf restart
  2. Disabling pf.
  3. Enabling pf.
  4. root@sip:~ # cat /usr/local/etc/asterisk/sip.conf
  5. [general]
  6. transport=udp
  7. ; tcpenable=yes
  8. ; qualify=yes
  9. port=5060
  10. bindaddr=192.168.0.2
  11. ; disallow=all
  12. allow=ulaw
  13. allow=alaw
  14. allow=gsm
  15. nat=yes
  16. ; public_ip=82.177.238.240
  17. externip=82.177.238.240
  18. localnet=192.168.0.0/255.255.255.0
  19.  
  20. [friends_internal](!)
  21. type=friend
  22. host=dynamic
  23. context=from-internal
  24. ; disallow=all
  25. allow=ulaw
  26. allow=ulaw
  27. allow=alaw
  28. allow=gsm
  29.  
  30. [demo-alice](friends_internal)
  31. secret=password
  32.  
  33. [demo-bob](friends_internal)
  34. secret=password
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement