Debug Instructions

From freebs, 10 Months ago, written in Plain Text, viewed 81 times.
URL http://pastebin.freepbx.org/view/d2f94d73 Embed
Download Paste or View Raw
  1. You will need the password for a shell account on the PBX. If you are using the FreePBX distro, this will be the 'root' password - whoever originally installed the system would have configured it. If you do NOT know this password, you will need to follow password recovery steps for your distribution:
  2.  
  3.     FreePBX Distro/Centos 5 & 6:    https://wiki.centos.org/TipsAndTricks/ResetRootPassword
  4.     Ubuntu/Debian:                  http://askubuntu.com/questions/24006/how-do-i-reset-a-lost-administrative-password
  5.  
  6. Understand that these credentials are NOT the same as those you use to log into the GUI of the PBX, and you MUST have them in order to continue.
  7.  
  8. 1. SSH to your PBX (using the address you use when browsing to the web interface)
  9.     Windows:    http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
  10.     OSX:        http://accc.uic.edu/answer/how-do-i-use-ssh-and-sftp-mac-os-x
  11.     Linux:      https://www.digitalocean.com/community/tutorials/how-to-use-ssh-to-connect-to-a-remote-server-in-ubuntu
  12.  
  13. 2. Log in as root. When entering the password, it will not show any characters; this is expected. Copy and paste your password if you are not confident in your typing; in putty, right-clicking the terminal pastes the contents of your clipboard. Do not use control/command-v. A single right-click will suffice.
  14.  
  15. 3. Once you have logged in, type 'asterisk -rvvvvvvvvv' without quotes, and press enter; this will bring you into the Asterisk CLI.
  16.  
  17. 4. IF YOU HAVE BEEN EXPLICITLY ASKED TO, enable SIP debug using the proper command for your channel driver (without quotes). It is
  18.     chan_sip:   'sip set debug on'
  19.     PJSIP:      'pjsip set logger on'
  20.  
  21. 5. Reproduce the issue.
  22.  
  23. 6. Once the issue has been reproduced, type 'exit' without quotes, and press enter.
  24.  
  25. 7. Copy ALL of the scrollback. To do so, in putty, simply select the text you wish to copy. DO NOT right click or attempt to copy the text using control/command-c. Selecting the text will copy it to your clipboard. Be sure you copy EVERYTHING, from the initial login onward. Once done, paste it to http://pastebin.freepbx.org
  26.  
  27. 8. Save the pastebin you've created, copy the URL, and paste it back into IRC

Reply to "Debug Instructions"

Here you can reply to the paste above