Asterisk not connected

From FreePBX922339223 , 1 Year ago, written in Plain Text, viewed 99 times.
URL https://pastebin.freepbx.org/view/4a23987b Embed
Download Paste or View Raw
  1. Exception
  2. HELP
  3. Asterisk is not connected
  4. /var/www/html/admin/libraries/php-asmanager.php
  5.                         }
  6.  
  7.                 }
  8.                 $req .= "\r\n";
  9.                 $this->log("Sending Request down socket:",10);
  10.                 $this->log($req,10);
  11.                 if(!$this->connected()) {
  12.                         throw new Exception("Asterisk is not connected");
  13.                 }
  14.                 fwrite($this->socket, $req);
  15. Server/Request Data
  16. HTACCESS        on
  17. HTTP_HOST       107.170.10.40
  18. HTTP_CONNECTION keep-alive
  19. CONTENT_LENGTH  6344
  20. HTTP_ACCEPT     application/json, text/javascript, */*; q=0.01
  21. HTTP_ORIGIN     http://107.170.10.40
  22. HTTP_X_REQUESTED_WITH   XMLHttpRequest
  23. HTTP_USER_AGENT Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36
  24. CONTENT_TYPE    application/x-www-form-urlencoded; charset=UTF-8
  25. HTTP_DNT        1
  26. HTTP_REFERER    http://107.170.10.40/admin/config.php?display=sipus&accountid=1&action=update
  27. HTTP_ACCEPT_ENCODING    gzip, deflate
  28. HTTP_ACCEPT_LANGUAGE    en-US,en;q=0.8
  29. HTTP_COOKIE     lang=en_US; searchHide=1; PHPSESSID=rr34vl3dimeo0fddl629trhh41; _ga=GA1.1.120232880.1497440730; _gid=GA1.1.469034838.1497440730
  30. PATH    /sbin:/usr/sbin:/bin:/usr/bin
  31. SERVER_SIGNATURE        <address>Apache/2.2.15 (CentOS) Server at 107.170.10.40 Port 80</address>
  32. SERVER_SOFTWARE Apache/2.2.15 (CentOS)
  33. SERVER_NAME     107.170.10.40
  34. SERVER_ADDR     107.170.10.40
  35. SERVER_PORT     80
  36. REMOTE_ADDR     68.134.125.117
  37. DOCUMENT_ROOT   /var/www/html/
  38. SERVER_ADMIN    root@localhost
  39. SCRIPT_FILENAME /var/www/html/admin/config.php
  40. REMOTE_PORT     50666
  41. REMOTE_USER     maint
  42. AUTH_TYPE       Basic
  43. GATEWAY_INTERFACE       CGI/1.1
  44. SERVER_PROTOCOL HTTP/1.1
  45. REQUEST_METHOD  POST
  46. QUERY_STRING    quietmode=1&handler=file&module=sipus&file=ajax.html.php&type=update
  47. REQUEST_URI     /admin/config.php?quietmode=1&handler=file&module=sipus&file=ajax.html.php&type=update
  48. SCRIPT_NAME     /admin/config.php
  49. PHP_SELF        /admin/config.php
  50. PHP_AUTH_USER   maint
  51. PHP_AUTH_PW     malayna010306
  52. REQUEST_TIME    1497443499
  53. GET Data
  54. quietmode       1
  55. handler file
  56. module  sipus
  57. file    ajax.html.php
  58. type    update
  59. POST Data
  60. returned        Array ( [status] => true [accountname] => dmitchell@seniorsag.com [account_number] => 113427752 [type] => full [trunks] => Array ( [0] => Array ( [trunk_pretty_display] => Trunk 1 [trunk_number] => 5295224987 [outboundcid] => 8009291434 [configuration] => Array ( [0] => Array ( [trunk_name] => 5295224987GW1 [peer_details] => Array ( [type] => peer [insecure] => port,invite [host] => gw1.sip.us [port] => 5060 [dtmfmode] => rfc2833 [canreinvite] => no [disallow] => all [allow] => ulaw [qualify] => yes [qualifyfreq] => 30 [nat] => yes [trustrpid] => yes [fromdomain] => gw1.sip.us [username] => 5295224987 [secret] => juliannagrace083109 [context] => from-trunk [rfc2833compensate] => yes [session-timers] => refuse ) ) [1] => Array ( [trunk_pretty_name] => Trunk 1 [trunk_name] => 5295224987GW2 [peer_details] => Array ( [type] => peer [insecure] => port,invite [host] => gw2.sip.us [port] => 5060 [dtmfmode] => rfc2833 [canreinvite] => no [disallow] => all [allow] => ulaw [qualify] => yes [qualifyfreq] => 30 [nat] => yes [trustrpid] => yes [fromdomain] => gw2.sip.us [username] => 5295224987 [secret] => juliannagrace083109 [context] => from-trunk [rfc2833compensate] => yes [session-timers] => refuse ) ) ) [dids] => Array ( [0] => 14102614646 [1] => 14695181800 [2] => 15053402772 [3] => 17032935555 [4] => 17706287575 [5] => 18009291434 [6] => 18438729559 [7] => 18654440989 [8] => 19802159333 ) ) ) [outbound_routes] => Array ( [0] => Array ( [route_name] => Default [route_cid] => [route_password] => [route_type] => [dial_patterns] => Array ( [0] => Array ( [prepend] => [prefix] => [match_pattern] => 1NXXNXXXXXX [callerid] => ) [1] => Array ( [prepend] => [prefix] => [match_pattern] => N11 [callerid] => ) [2] => Array ( [prepend] => [prefix] => [match_pattern] => N33 [callerid] => ) [3] => Array ( [prepend] => 1 [prefix] => [match_pattern] => NXXNXXXXXX [callerid] => ) [4] => Array ( [prepend] => [prefix] => 011 [match_pattern] => . [callerid] => ) ) ) ) )
  61. newkey  e620d45c38ba1e5f3660ab7fbc6b4c77
  62. oldkey  e620d45c38ba1e5f3660ab7fbc6b4c77
  63. Files
  64. empty
  65. Cookies
  66. lang    en_US
  67. searchHide      1
  68. PHPSESSID       rr34vl3dimeo0fddl629trhh41
  69. _ga     GA1.1.120232880.1497440730
  70. _gid    GA1.1.469034838.1497440730
  71. Session
  72. langdirection   ltr
  73. module_name     sipus
  74. module_page     sipus
  75. AMP_user        ampuser Object ( [username] => admin [id] => [password:ampuser:private] => 352a754a98cbedf14ac7d78409a82adac5c7cbdf [extension_high:ampuser:private] => [extension_low:ampuser:private] => [sections:ampuser:private] => Array ( [0] => * ) [mode:ampuser:private] => database [opmode:ampuser:private] => [_lastactivity] => 1497443499 )
  76. fwmsg   Array ( [last_dest] => ivr-4,s,1 )
  77. Environment Variables
  78. empty
  79. Registered Handlers
  80. 0. Whoops\Handler\PrettyPageHandler

Reply to "Asterisk not connected"

Here you can reply to the paste above