Group PJSIP_TEL_URI

group PJSIP_TEL_URI

Support for “tel:” URI scheme.

Functions

pjsip_tel_uri *pjsip_tel_uri_create(pj_pool_t *pool)

Create a new tel: URI.

Parameters:

pool – The pool.

Returns:

New instance of tel: URI.

int pjsip_tel_nb_cmp(const pj_str_t *nb1, const pj_str_t *nb2)

This function compares two numbers for equality, according to rules as specified in RFC 3966.

Parameters:
  • nb1 – The first number.

  • nb2 – The second number.

Returns:

Zero if equal, -1 if nb1 is less than nb2, or +1 if nb1 is greater than nb2.

struct pjsip_tel_uri
#include <sip_tel_uri.h>

tel: URI.

Public Members

pjsip_uri_vptr *vptr

Pointer to virtual function table.

pj_str_t number

Global or local phone number

pj_str_t context

Phone context (for local number).

pj_str_t ext_param

Extension param.

pj_str_t isub_param

ISDN sub-address param.

pjsip_param other_param

Other parameter.