Skip to content

Update PhpSIP.class.php#13

Open
ethaniel wants to merge 1 commit intolevel7systems:masterfrom
ethaniel:patch-1
Open

Update PhpSIP.class.php#13
ethaniel wants to merge 1 commit intolevel7systems:masterfrom
ethaniel:patch-1

Conversation

@ethaniel
Copy link
Copy Markdown

@ethaniel ethaniel commented Jul 14, 2024

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: #3)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant