[pjsip] New features: auto-subscribe, keep-alive, etc.

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

 



Dear all,

please find below some new features that have been implemented in 
PJSUA-LIB recently.


1. API to get NAT type of remote endpoint
-----------------------------------------
Please see http://www.pjsip.org/trac/ticket/399#comment:9


2. Auto-subscribe when receving incoming SUBSCRIBE
--------------------------------------------------
Please see http://www.pjsip.org/trac/ticket/405.

Basically application doesn't need to do anything, the library will
automatically initiate presence subscription if it receives incoming
presence subscription from a buddy.

Because of this, presence refresh timer (PJSUA_PRES_TIMER) default
value has been extended to 5 minutes (300 seconds) from the previous
default value of 2 minutes (120 seconds).


3. Refreshing buddy's presence subscription
-------------------------------------------
Please see http://www.pjsip.org/trac/ticket/406.

There's a new API to re-initiate buddy's presence subscription. This
is useful for example to re-initiate buddy's presence subscription
upon receiving MESSAGE request from a buddy.


4. Keep-alive and registration interval
---------------------------------------
Please see http://www.pjsip.org/trac/ticket/407

Keep-alive for UDP transports are now enabled by default, and it
will be used if STUN server is used. Application does not need to do
anything to enable this feature (as long as default configuration is
used). The keep-alive will be sent to the registrar server, and the
default behavior is to send CR-LF (2 bytes) every 15 seconds.

Since TCP and TLS keep-alive has been implemented before, with this
ticket we now have complete keep-alive mechanisms for all transport
types.

Because of this, the registration interval (PJSUA_REG_INTERVAL)
default value has been extended from 55 seconds to 5 minutes (300
seconds).


-- 
Benny Prijono
http://www.pjsip.org




[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