zfjia / agispeedy

Automatically exported from code.google.com/p/agispeedy
Other
0 stars 0 forks source link

Big time dialing is not working #6

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Make call with big connection time (biggest 60 second)
2.
3.

What is the expected output? What do you see instead?
Method exec_dial returned false
array (
'code' => false,
'result' => NULL,
'data' => NULL,
)
Instruction 
Agi->get_variable('ANSWEREDTIME');
Agi->get_variable('DIALSTATUS');
returned
array (
'code' => 200,
'result' => 1,
'data' => NULL,
)

What version of the product are you using? On what operating system?

Please provide any additional information below.
I used additional method 
function exec_dial($ArgumentDial){
  return $this->agi_exec('DIAL', $ArgumentDial);
}

Original issue reported on code.google.com by mr...@gsm-travel.com on 20 Dec 2012 at 6:43

GoogleCodeExporter commented 9 years ago
modify the function socket_send_command

$szSocketRead=socket_read_response($thisSock);

$szSocketRead == "HANGUP\012" && socket_read_response($thisSock);

Original comment by 420482...@qq.com on 21 Nov 2014 at 8:49