Open matrad opened 6 years ago
Working on the same problem right now. I believe that the web server that is hosting the php can send the command to the sip server, but cannot receive data back on the designated port, hence "No final response in 10 seconds." Open the port on PHP server inbound and outbound. Let me know if this helps.
Take a look at in PhpSIP.class.php :
* Min port
*/
private $min_port = 5065;
* Request port
*/
private $port = 5065;
Same thing happen in my server also.Can you please give me the solution for it.
Same thing happen in my server also.Can you please give me the solution for it.
Is port 5065 open?
Actually I am trying to receive in 5061.And yes 5061 is open and I am getting response by python socket
Hi, I have just made a commit 11122c272657942a344874180eded5566c0e9ec4 with new example PHP code which sends anonymous SIP OPTIONS request to our SIP Proxy. It may be an easy way to verify your PHP / environment is capable of running PhpSIP. The way to test is:
git clone https://github.com/level7systems/php-sip.git
next edit this line to enter your own IP address, and run in the console:
php options.php
this should produce output similar to:
--> OPTIONS sip:test@eu.sip.ssl7.net SIP/2.0
<-- SIP/2.0 200 OK
New dialog: 76067.ae18.7b7d24acb6593d274c92f062d175c63a.4f813bda2ec790b2ddb92c338ad7cc5c@192.168.5.65
response: 200
which confirms PhpSIP was able to:
All of which are required for PhpSIP to work correctly.
Let me know if you need any more help.
Regards, Chris
Hello,
I always get The error message No final response in 10 seconds (I'm using Avaya IPO 10.1). If I register a softphone client on my PC then the INVITE is working (the call is started), but the request always get's in timeout on the first 10 seconds.
I'm using this tutorial: https://level7systems.co.uk/click_to_call_with_php_sip/
Any Idea what is the problem here? The script is stuck on
$this->readMessage()
in the send-Method.In the trace I see this request: