mwi - subscribe not sended

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
I figured out what was wrong.
There is missing settings in \src\pjsua2\account.cpp
in void AccountConfig::toPj please add
....
ret.srtp_secure_signaling = mediaConfig.srtpSecureSignaling;
ret.ipv6_media_use = mediaConfig.ipv6Use;

    // AccountMWIConfig
ret.mwi_enabled =  mwiConfig.enabled ;
ret.mwi_expires =   mwiConfig.expirationSec;

....

and it start work.
Enjoy
Andrzej

2015-02-26 12:01 GMT+01:00 frogersik <frogersik at gmail.com>:

> hi,
> I'm using pjsua2 api for my android app. I have strange problem with
> sending subscribe for mwi notification. When I add account I set:
>
> accountConfig.getMwiConfig().setEnabled(true);
> in user agent I leave default settings for UaConfig.mwiUnsolicitedEnabled.
>
> my problem is when I register account, any SUBSCRIBE message is not
> sending.
>
> is there any other settings for enable mwi?
>
> BR
> Andrzej
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20150227/493c5a1f/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux