Ignore:
Timestamp:
Feb 8, 2006 10:44:25 PM (18 years ago)
Author:
bennylp
Message:

Finished invite session UAS implementation

File:
1 edited

Legend:

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

    r127 r160  
    176176/** 
    177177 * Create, initialize, and register a new transaction as UAS from the 
    178  * specified incoming request in \c rdata. 
     178 * specified incoming request in \c rdata. After calling this function, 
     179 * application MUST call #pjsip_tsx_recv_msg() so that transaction 
     180 * moves from state NULL. 
    179181 * 
    180182 * @param tsx_user  Module to be registered as transaction user of the new 
     
    190192                                           pjsip_transaction **p_tsx ); 
    191193 
     194 
     195/** 
     196 * Call this function to manually feed a message to the transaction. 
     197 * For UAS transaction, application MUST call this function after 
     198 * UAS transaction has been created. 
     199 * 
     200 * This function SHOULD only be called to pass initial request message 
     201 * to UAS transaction. Before this function returns, on_tsx_state() 
     202 * callback of the transaction user will be called. If response message 
     203 * is passed to this function, then on_rx_response() will also be called 
     204 * before on_tsx_state(). 
     205 * 
     206 * @param tsx       The transaction. 
     207 * @param rdata     The message. 
     208 */ 
     209PJ_DECL(void) pjsip_tsx_recv_msg( pjsip_transaction *tsx,  
     210                                  pjsip_rx_data *rdata); 
     211 
    192212/** 
    193213 * Transmit message in tdata with this transaction. It is possible to 
Note: See TracChangeset for help on using the changeset viewer.