From Trivial Dove, 2 Years ago, written in Plain Text, viewed 309 times.
URL https://pastebin.freepbx.org/view/19fe61db 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:
  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
  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.
  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
  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.
  15. 3. Once you have logged in, type 'asterisk -rvvvvvvvvv' without quotes, and press enter; this will bring you into the Asterisk CLI.
  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'
  21. 5. Reproduce the issue.
  23. 6. Once the issue has been reproduced, hangup (if your call was active), type 'exit' (without quotes), and press enter.
  25. 7. Copy ALL of the scrollback. To do so in putty, 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.     * Your scrollback-buffer may not be large enough to fully capture the call. If not, you will need to increase it in your SSH client.
  29.     * Asterisk opening
  30.     * The beginning of the call in question
  31.     * Sufficient example(s) of the issue being reproduced
  32.     * The end of the call
  33.     * Any issue-specific information you have been asked for
  35.     **    If you aren't sure about the above information, know that properly following steps 2-6 and copying ALL of your scrollback will suffice    **
  37. 9. Once you have confirmed step (8), save the pastebin you've created, copy the URL, and paste it back into IRC

Reply to "Untitled"

Here you can reply to the paste above