Ignore:
Timestamp:
Oct 18, 2006 5:16:34 PM (16 years ago)
Author:
bennylp
Message:

Some changes to REFER handling in PJSUA-LIB:

  • added callback to report call transfer progress
  • changed the call transfer request callback name in pjsua
  • added "--norefersub" option in pjsua.
  • fixed bug when call transfer is done more than once in the same dialog (dialog usage can not be added)

Also removed 7xx status from the SIP status codes.

And added pjsip_parse_status_line() to parse sipfrag.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsip/sip_parser.h

    r622 r780  
    2525 */ 
    2626 
    27 #include <pjsip/sip_types.h> 
     27#include <pjsip/sip_msg.h> 
    2828#include <pjlib-util/scanner.h> 
    2929#include <pj/list.h> 
     
    190190                                     char *buf, pj_size_t size, 
    191191                                     unsigned options); 
     192 
     193/** 
     194 * Parse SIP status line. 
     195 * 
     196 * @param buf           Text buffer to parse. 
     197 * @param size          The size of the buffer. 
     198 * @param status_line   Structure to receive the parsed elements. 
     199 * 
     200 * @return              PJ_SUCCESS if a status line is parsed successfully. 
     201 */ 
     202PJ_DECL(pj_status_t) pjsip_parse_status_line(char *buf, pj_size_t size, 
     203                                             pjsip_status_line *status_line); 
     204 
    192205 
    193206/** 
Note: See TracChangeset for help on using the changeset viewer.