search for: errdesc

Displaying 14 results from an estimated 14 matches for "errdesc".

Did you mean: err_desc
2020 Mar 11
0
[PATCH RFC v2 12/24] hpsa: use reserved commands
...ed_cmd(scmd); > + } > + c->scsi_cmd = NULL; > mb(); /* Declare command idle before checking for pending events. */ > if (dev) { > atomic_dec(&dev->commands_outstanding); > @@ -5502,7 +5503,6 @@ static void hpsa_cmd_init(struct ctlr_info *h, int index, > c->ErrDesc.Addr = cpu_to_le64((u64) err_dma_handle); > c->ErrDesc.Len = cpu_to_le32((u32) sizeof(*c->err_info)); > c->h = h; > - c->scsi_cmd = SCSI_CMD_IDLE; > } > > static void hpsa_preinitialize_commands(struct ctlr_info *h) > @@ -5803,6 +5803,7 @@ static int hpsa_sc...
2007 May 05
2
Manager API Output
...in some text file for further processing. <?php $strHost = "127.0.0.1"; $strUser = "cron"; $strSecret = "1234"; $oSocket = fsockopen($strHost, 5038, $errnum, $errdesc) or die("Connection to host failed"); fputs($oSocket, "Action: Login\r\n"); fputs($oSocket, "Username: $strUser\r\n"); fputs($oSocket, "Secret: $strSecret\r\n\r\n&quot...
2007 Jul 06
1
Asterisk Manager
Hi this is my code for * manager: $oSocket = fsockopen($strHost, 5038, $errnum, $errdesc) or die("Connection to host failed"); fputs($oSocket, "Action: login\r\n"); fputs($oSocket, "Username: $strUser\r\n"); fputs($oSocket, "Secret: $strSecret\r\n\r\n"...
2007 Jul 08
1
Asterisk Help
...d dial if gets connected and answered by customer wants to play a sequence of message . Please help . I've tried here is my code to place calls but in this I see no of failure calls are more than 50%. so please advise. $oSocket = fsockopen($strHost, 5038, $errnum, $errdesc) or die("Connection to host failed"); fputs($oSocket, "Action: login\r\n"); fputs($oSocket, "Username: $strUser\r\n"); fputs($oSocket, "Secret: $strSecret\r\n\r\n"...
2012 Dec 12
1
Asterisk 11 originate errors
...and,reporting,originate ///AMI script <?php $sys_ip = "127.0.0.1"; $User_str = "faheem"; $Secret_str = "f at h33m112xxxxxx"; $phoneNumb = 1234; $dialNumb = ?4567; $spoofNumb = 786; $context = "xxxxx-xxxxx"; $oSocket = fsockopen($sys_ip, 5038, $errnum, $errdesc) or die("Connection to host failed"); fputs($oSocket, "Action: login\r\n"); fputs($oSocket, "Username: $User_str\r\n"); fputs($oSocket, "Secret: $Secret_str\r\n\r\n"); fputs($oSocket, "Events: off\r\n\r\n"); fputs($oSocket, "Action: originate\...
2009 Dec 18
2
To Asterisk AMI Gurus - Tacking issue with originate
...e>ClicknCall</title> </head> <body><br><br> <div align="center"> <?php $sys_ip = "127.0.0.1"; $User_str = "testphp"; $Secret_str = "testphp"; if ($_POST['x']) { $oSocket = fsockopen($sys_ip, 5038, $errnum, $errdesc) or die("Connection to host failed"); fputs($oSocket, "Action: login\r\n"); fputs($oSocket, "Username: $User_str\r\n"); fputs($oSocket, "Secret: $Secret_str\r\n\r\n"); fputs($oSocket, "Events: off\r\n\r\n"); fputs($oSocket, "Action: originate\...
2009 Dec 23
1
AMI originate and PHP
...perly. Following is the code and the context: $sys_ip = "127.0.0.1"; $User_str = "test"; $Secret_str = "test"; $phoneNumb = "14167777777"; $dialNumb = "14168888888"; $spoofNumb = "1416999999"; $oSocket = fsockopen($sys_ip, 5038, $errnum, $errdesc) or die("Connection to host failed"); fputs($oSocket, "Action: login\r\n"); fputs($oSocket, "Username: $User_str\r\n"); fputs($oSocket, "Secret: $Secret_str\r\n\r\n"); fputs($oSocket, "Events: off\r\n\r\n"); fputs($oSocket, "Action: originate\...
2007 Jul 08
1
Early Media Handling
...an automated message but some time without answering even it goes to my exten. How can I handle early media in Asterisk that is I want only when user answer the call it should goto my specified extension. my php script: $oSocket = fsockopen($strHost, 5038, $errnum, $errdesc) or die("Connection to host failed"); fputs($oSocket, "Action: login\r\n"); fputs($oSocket, "Username: $strUser\r\n"); fputs($oSocket, "Secret: $strSecret\r\n\r\n"...
2006 Dec 29
0
PHP to call script
...rExten = $_POST['txtphonenumber']; $callNumber = $strExten; #specify the caller id for the call $strCallerId = "Web will call <$callNumber>"; $length = strlen($strExten); if ($length == 10 && is_numeric($strExten)) { $oSocket = fsockopen($strHost, 5038, $errnum, $errdesc) or die("Connection to host failed"); fputs($oSocket, "Action: login\r\n"); fputs($oSocket, "Events: off\r\n"); fputs($oSocket, "Username: $strUser\r\n"); fputs($oSocket, "Secret: $strSecret\r\n\r\n"); fputs($oSocket, "Action: originate\r\n&quo...
2009 Oct 02
0
Sending a DTMF remotely with PlayDTMF problem.
...<?php error_reporting (E_ALL); set_time_limit(60); ob_implicit_flush(false); $ip_asterisk = "127.0.0.1"; $user_asterisk = "admin"; $pass_asterisk = "forward"; $canal = "SIP/1000-0a292360"; //hardcodeado $oSocket = fsockopen($ip_asterisk, 5038, $errnum, $errdesc) or die("Connection to host failed"); fputs($oSocket, "Action: login\r\n"); fputs($oSocket, "Username: $user_asterisk\r\n"); fputs($oSocket, "Secret: $pass_asterisk\r\n\r\n"); fputs($oSocket, "Action: PlayDTMF\r\n"); fputs($oSock...
2009 Oct 03
0
Problem sending a DTMF remotely. Please need help...
...q <?php error_reporting (E_ALL); set_time_limit(60); ob_implicit_flush(false); $ip_asterisk = "127.0.0.1"; $user_asterisk = "admin"; $pass_asterisk = "forward"; $canal = "SIP/1000-0a292360"; //hardcodeado $oSocket = fsockopen($ip_asterisk, 5038, $errnum, $errdesc) or die("Connection to host failed"); fputs($oSocket, "Action: login\r\n"); fputs($oSocket, "Username: $user_asterisk\r\n"); fputs($oSocket, "Secret: $pass_asterisk\r\n\r\n"); fputs($oSocket, "Action: PlayDTMF\r\n"); fputs($oSock...
2009 Oct 06
0
Problem sending a DTMF remotely. Please need help!!!
...q <?php error_reporting (E_ALL); set_time_limit(60); ob_implicit_flush(false); $ip_asterisk = "127.0.0.1"; $user_asterisk = "admin"; $pass_asterisk = "forward"; $canal = "SIP/1000-0a292360"; //hardcodeado $oSocket = fsockopen($ip_asterisk, 5038, $errnum, $errdesc) or die("Connection to host failed"); fputs($oSocket, "Action: login\r\n"); fputs($oSocket, "Username: $user_asterisk\r\n"); fputs($oSocket, "Secret: $pass_asterisk\r\n\r\n"); fputs($oSocket, "Action: PlayDTMF\r\n"); fputs($oSock...
2007 Jan 02
5
Call connected, cannot hear or speak - $20 for fix
...#get the phone number from the posted form $strExten = $_POST['txtphonenumber']; #specify the caller id for the call $strCallerId = $_POST['txtcid']; $length = strlen($strExten); if ($length == 11 && is_numeric($strExten)) { $oSocket = fsockopen($strHost, 5038, $errnum, $errdesc) or die("Connection to host failed"); fputs($oSocket, "Action: login\r\n"); fputs($oSocket, "Events: off\r\n"); fputs($oSocket, "Username: $strUser\r\n"); fputs($oSocket, "Secret: $strSecret\r\n\r\n"); fputs($oSocket, "Action: originate\r\n&quo...
2009 Oct 05
1
Problem sending a DTMF remotely. Please need help!!
...q <?php error_reporting (E_ALL); set_time_limit(60); ob_implicit_flush(false); $ip_asterisk = "127.0.0.1"; $user_asterisk = "admin"; $pass_asterisk = "forward"; $canal = "SIP/1000-0a292360"; //hardcodeado $oSocket = fsockopen($ip_asterisk, 5038, $errnum, $errdesc) or die("Connection to host failed"); fputs($oSocket, "Action: login\r\n"); fputs($oSocket, "Username: $user_asterisk\r\n"); fputs($oSocket, "Secret: $pass_asterisk\r\n\r\n"); fputs($oSocket, "Action: PlayDTMF\r\n"); fputs($oSock...