Changes between Version 6 and Version 7 of FAQ


Ignore:
Timestamp:
Sep 26, 2007 9:19:25 PM (13 years ago)
Author:
bennylp
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FAQ

    v6 v7  
    485485 
    486486You don't need to. This may be necessary with other SIP stacks, but PJSIP inherently supports multiple identities (or accounts) throughout the libraries, so one instance of the stack can be used to perform multiple, separate registration and invite sessions. 
     487 
     488=== How can I support INFO method or other SIP methods not mentioned in PJSIP? === #info-method 
     489 
     490Creating SIP method in pjsip is very simple: 
     491 
     492{{{ 
     493const pjsip_method info_method =  
     494{ 
     495   PJSIP_OTHER_METHOD, 
     496   { "INFO", 4 } 
     497}; 
     498}}} 
     499 
     500You can then create an [/pjsip/docs/html/group__PJSIP__ENDPT__STATELESS.htm#g6a5dc2cd5b43a1adf869c9746593f818 independent request] or [/pjsip/docs/html/group__PJSIP__DIALOG.htm#g8e057a2b3b89d071a2027eba4321751f request within dialog] of this method and send it [/pjsip/docs/html/group__PJSIP__ENDPT__STATELESS.htm#g155a9b9dce2138e91605d6b7561d70a3 statelessly], [/pjsip/docs/html/group__PJSIP__TRANSACT__UTIL.htm#ga4c9a6482b6077351daf2f7974ae7371 statefully], or [/pjsip/docs/html/group__PJSIP__DIALOG.htm#gb2ec46bfa4a8fd5fdf96cda2bb477355 inside dialog]. The [/docs.htm Dev Guide PDF] will explain this in more detail. 
     501 
    487502 
    488503----