Skip to content

added sip auth to answer and sip_refer #296

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/swml/methods/answer.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ The `answer` method expects the following parameters.
| Name | Type | Default | Description |
|:-------------------------------------------------------------|:----------|:--------------------------|:--------------------------------------------------------------|
| `max_duration`<span className="optional-arg">Optional</span> | `integer` | `14400` seconds (4 hours) | Maximum duration in seconds. Can not be less than 15 seconds. |
| `sip_auth_username`<span className="optional-arg">Optional</span> | `string` | - | Username to use for SIP authentication. |
| `sip_auth_password`<span className="optional-arg">Optional</span> | `string` | - | Password to use for SIP authentication. |

---

Expand Down
11 changes: 7 additions & 4 deletions docs/swml/methods/sip_refer.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,13 @@ Send SIP REFER to a SIP call.

## **sip_refer Parameters**

| Name | Type | Description |
|:--------------------------------------------------------|:---------|:---------------------|
| `to_uri` <span className="required-arg">Required</span> | `string` | SIP URI to REFER to. |
| `status_url`<span className="optional-arg">Optional</span> | `string` | - | HTTP or HTTPS URL to deliver receive fax status events. |
| Name | Type | Default | Description |
|:--------------------------------------------------------|:---------|:--------|:---------------------|
| `to_uri` <span className="required-arg">Required</span> | `string` | - | SIP URI to REFER to. |
| `status_url`<span className="optional-arg">Optional</span> | `string` | - | HTTP or HTTPS URL to deliver receive fax status events. |
| `sip_auth_username`<span className="optional-arg">Optional</span> | `string` | - | Username to use for SIP authentication. |
| `sip_auth_password`<span className="optional-arg">Optional</span> | `string` | - | Password to use for SIP authentication. |


## **Variables**

Expand Down