Advertisement
Guest User

Untitled

a guest
Apr 12th, 2017
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.11 KB | None | 0 0
  1. Apr 12 21:52:46 debian rtpproxy[6428]: INFO:process_rtp: session timeout
  2. Apr 12 21:52:46 debian rtpproxy[6428]: INFO:remove_session: RTP stats: 0 in from callee, 911 in from caller, 911 relayed, 0 dropped
  3. Apr 12 21:52:46 debian rtpproxy[6428]: INFO:remove_session: RTCP stats: 0 in from callee, 7 in from caller, 7 relayed, 0 dropped
  4. Apr 12 21:52:46 debian rtpproxy[6428]: INFO:remove_session: session on ports 36682/26842 is cleaned up
  5. Apr 12 21:52:46 debian opensips[6496]: DBG:rtpproxy:timeout_listener_process: unknown rtpproxy -- ignoring
  6. Apr 12 21:52:53 debian opensips[6532]: DBG:core:udp_read_req: probing packet received len = 4
  7. Apr 12 21:52:58 debian opensips[6528]: DBG:tm:t_uac: next_hop=<sip:1.2.3.4>
  8. Apr 12 21:52:58 debian opensips[6501]: DBG:dialog:ref_dlg: ref dlg 0x7f89c8528bd8 with 1 -> 4
  9. Apr 12 21:52:58 debian opensips[6501]: DBG:dialog:send_leg_msg: sending [OPTIONS] to caller (0)
  10. Apr 12 21:52:58 debian opensips[6501]: DBG:dialog:ref_dlg: ref dlg 0x7f89c8528bd8 with 1 ->
  11.  
  12.  
  13. #rtp running command
  14. i hide my ip for security and replace with xx.xx.xx.xx
  15. 0:00 /usr/local/bin/rtpproxy -s udp:xx.xx.xx.xx 12221 -F -u opensips opensips -p /var/run/rtpproxy.pid -l xx.xx.xx.xx -m 6000 -M 65000 -n tcp:127.0.0.1:9999 -T 5 -W 10 -R -P -d INFO LOG_LOCAL5
  16.  
  17. #opensips rtpproxy.so
  18. loadmodule "rtpproxy.so"
  19. modparam("rtpproxy", "rtpproxy_sock", "udp:xx.xx.xx.xx:12221=1") # CUSTOMIZE ME
  20. modparam("rtpproxy", "rtpproxy_disable_tout", 20)
  21. modparam("rtpproxy", "rtpproxy_timeout", "0.2")
  22. modparam("rtpproxy", "rtpproxy_autobridge", 0)
  23. modparam("rtpproxy", "rtpproxy_retr", 5)
  24. modparam("rtpproxy", "rtpp_notify_socket", "tcp:127.0.0.1:9999")
  25.  
  26. #network
  27. root@debian:~# netstat -tulpn | grep rtp
  28. udp 0 0 xx.xx.xx.xx:12221 0.0.0.0:* 6428/rtpproxy
  29.  
  30. root@debian:~# netstat -tulpn | grep opensips
  31. tcp 0 0 127.0.0.1:9999 0.0.0.0:* LISTEN 6496/opensips
  32. tcp 0 0 0.0.0.0:8888 0.0.0.0:* LISTEN 6498/opensips
  33. udp 0 0 xx.xx.xx.xx:5060 0.0.0.0:* 6492/opensips
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement