BLOG | DOCUMENTATION | TRAC

Home --> Documentations --> PJSIP Reference

Support for "tel:" URI scheme. More...

Data Structures

struct  pjsip_tel_uri
 

Functions

pjsip_tel_uripjsip_tel_uri_create (pj_pool_t *pool)
 
int pjsip_tel_nb_cmp (const pj_str_t *nb1, const pj_str_t *nb2)
 

Detailed Description

Function Documentation

pjsip_tel_uri* pjsip_tel_uri_create ( pj_pool_t pool)

Create a new tel: URI.

Parameters
poolThe 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
nb1The first number.
nb2The second number.
Returns
Zero if equal, -1 if nb1 is less than nb2, or +1 if nb1 is greater than nb2.

 


PJSIP Open Source, high performance, small footprint, and very very portable SIP stack
Copyright (C) 2006-2008 Teluu Inc.