| 
	 Home --> Documentations --> PJSIP Reference 
◆ PJSUA2_RAISE_ERROR
◆ PJSUA2_RAISE_ERROR2
◆ PJSUA2_RAISE_ERROR3
      
        
          | #define PJSUA2_RAISE_ERROR3 | 
          ( | 
            | 
          status,  | 
         
        
           | 
           | 
            | 
          op,  | 
         
        
           | 
           | 
            | 
          txt  | 
         
        
           | 
          ) | 
           |  | 
         
       
 
Value:        do { \ 
            Error err_ = Error(status, op, txt, string(), 0); \ 
            PJ_LOG(1,(THIS_FILE, "%s", err_.info().c_str())); \ 
            throw err_; \ 
        } while (0) 
Raise Error exception  
 
 
◆ PJSUA2_CHECK_RAISE_ERROR2
      
        
          | #define PJSUA2_CHECK_RAISE_ERROR2 | 
          ( | 
            | 
          status,  | 
         
        
           | 
           | 
            | 
          op  | 
         
        
           | 
          ) | 
           |  | 
         
       
 
Value:        do { \ 
                PJSUA2_RAISE_ERROR2(status, op); \ 
            } \ 
        } while (0) 
Raise Error exception if the expression fails  
 
 
◆ PJSUA2_CHECK_RAISE_ERROR
Raise Error exception if the status fails  
 
 
◆ PJSUA2_CHECK_EXPR
      
        
          | #define PJSUA2_CHECK_EXPR | 
          ( | 
            | 
          expr | ) | 
           | 
         
       
 
Value:        do { \ 
            pj_status_t the_status = expr;      \ 
            PJSUA2_CHECK_RAISE_ERROR2(the_status, #expr); \ 
        } while (0) 
Raise Error exception if the expression fails  
 
 
◆ StringVector
◆ IntVector
◆ StringToStringMap
◆ Token
Type of token, i.e. arbitrary application user data  
 
 
◆ SocketAddress
Socket address, encoded as string. The socket address contains host and port number in "host[:port]" format. The host part may contain hostname, domain name, IPv4 or IPv6 address. For IPv6 address, the address will be enclosed with square brackets, e.g. "[::1]:5060".  
 
 
◆ TransportId
Transport ID is an integer.  
 
 
◆ TransportHandle
◆ TimerEntry
◆ GenericData
◆ anonymous enum
Constants  
| Enumerator | 
|---|
 | INVALID_ID  | Invalid ID, equal to PJSUA_INVALID_ID  
 |  
| SUCCESS  | Success, equal to PJ_SUCCESS  
 |  
 
 
 
 
  
 
PJSIP Open Source, high performance, small footprint, and very very portable SIP stack 
Copyright (C) 2006-2008 Teluu Inc.
 |