Ignore:
Timestamp:
Oct 25, 2013 10:34:38 AM (11 years ago)
Author:
bennylp
Message:

Re #1519: Implementation of Account API, with inheritance approach:

  • With small demo app (samples/pjsua2_demo.cpp)
  • Endpoint changed to use inheritance approach too
  • Simple account registration demo and callback works
  • Further tests will be done in high level app (Python GUI?)
  • Temporary build setting fixes (Makefile) to allow linking with pjsua2 and libstdc++
  • Temporary hacks in Makefile to ignore other build targets to speed up build. This should be fixed during integration.

Issues:

  • incomplete Endpoint::on_incoming_subscribe() implementation. There is no Account::presNotify() yet.
  • incomplete Endpoint::on_pager2(), on_pager_status2(), to handle call's pager rather than account's pager
  • some SWIGTYPE (unknown type by Swig) still unresolved
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/pjsua2/pjsip/src/pjsua2/types.cpp

    r4631 r4638  
    214214/////////////////////////////////////////////////////////////////////////////// 
    215215 
     216void SipRxData::fromPj(pjsip_rx_data &rdata) 
     217{ 
     218    info        = pjsip_rx_data_get_info(&rdata); 
     219    wholeMsg    = string(rdata.msg_info.msg_buf, rdata.msg_info.len); 
     220    srcIp       = rdata.pkt_info.src_name; 
     221    srcPort     = rdata.pkt_info.src_port; 
     222} 
     223 
     224/////////////////////////////////////////////////////////////////////////////// 
     225 
    216226void SipHeader::fromPj(const pjsip_hdr *hdr) throw(Error) 
    217227{ 
Note: See TracChangeset for help on using the changeset viewer.