What steps will reproduce the problem?
1.
testing for using phpsip script for random commands
2. write this
$api = new PhpSIP();
$api->setDebug(true);
$api->setUsername('auth_username');
$api->setPassword('auth_password');
$api->addHeader('Subject: click2call');
$api->setMethod('INVITE');
$api->setFrom('sip:user1234@sipnet.ru');
$api->setUri('sip:user1234@sipnet.ru');
$res = $api->send();
echo "res1: $res\n";
} catch (Exception $e) {
echo $e->getMessage()."\n";
}
What is the expected output? What do you see instead?
Nothing. after run - this script not work.
Iam thinking sockets are down or error... but after comp reboot - NOT work!
Script do something 15 sec. and give me white page without error or other.
OKEY... may be iam can do some erors in script when i wrime commands.
DEL files, download new ZIP from this (google code), unrar... run example.php
- NOTHING...
Crazy error.
AND i cant remove this problem. script work only if i change computer(new
windows 2008 server or other), install again webserver, and run with other
methods SIP.
Other php scripts on my server is work normal. Run phpsip - white page.
What version of the product are you using? On what operating system?
XAMMP (last),php5, Windows 2008, windows 2003
Please provide any additional information below.
Original issue reported on code.google.com by zvezdate...@gmail.com on 25 May 2011 at 10:54
Original issue reported on code.google.com by
zvezdate...@gmail.com
on 25 May 2011 at 10:54