In PJSUA2 to create an account the following needs to be done: 1) AccountConfig accCfg; // populate config 2) Account *acc = new Account; 3) acc->create(accCfg)
Account::create is given below:
The problem Account::toPj does not initialize mwi_enabled parameter, therefore it is not possible to control MWI subscription through PJSUA2 API. The following line should be added to Account::toPj method. ret.mwi_enabled = mwiConfig.enabled;
BTW, how do one create and open ticket on the PJSIP web site? I could not find a way to do it.
Regards,
Zarko
|
_______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@xxxxxxxxxxxxxxx http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org