SIP URL structure ("sip:" and "sips:")
More...
◆ pjsip_sip_uri_create()
Create new SIP URL and initialize all fields with zero or NULL.
- Parameters
-
| pool | The pool. |
| secure | Flag to indicate whether secure transport should be used. |
- Returns
- SIP URL.
◆ pjsip_sip_uri_set_secure()
Change the SIP URI scheme to sip or sips based on the secure flag. This would not change anything except the scheme.
- Parameters
-
| uri | The URI |
| secure | Non-zero if sips is wanted. |
◆ pjsip_sip_uri_init()
Initialize SIP URL (all fields are set to NULL or zero).
- Parameters
-
| url | The URL. |
| secure | Create sips URI? |
◆ pjsip_sip_uri_assign()
Perform full assignment to the SIP URL.
- Parameters
-
| pool | The pool. |
| url | Destination URL. |
| rhs | The source URL. |
◆ pjsip_name_addr_create()
Create new instance of name address and initialize all fields with zero or NULL.
- Parameters
-
- Returns
- New SIP name address.
◆ pjsip_name_addr_init()
Initialize with default value.
- Parameters
-
| name_addr | The name address. |
◆ pjsip_name_addr_assign()
Perform full assignment to the name address.
- Parameters
-
| pool | The pool. |
| addr | The destination name address. |
| rhs | The source name address. |