php-sip icon indicating copy to clipboard operation
php-sip copied to clipboard

Update PhpSIP.class.php

Open ethaniel opened this issue 1 year ago • 0 comments

Fixed the send() function - moved 407 and 401 checks to the end of the function, otherwise INVITE command doesn't work Also added public function getCode() which waits for a message and returns the res_code. Useful when following a call progress from the user script.

(solutions explained here: https://github.com/level7systems/php-sip/issues/3)

ethaniel avatar Jul 14 '24 13:07 ethaniel