[pjsip] ReRegistration problem in pjsip
bennylp at pjsip.org
Wed Apr 2 06:40:21 EDT 2008
On Wed, Apr 2, 2008 at 6:00 AM, sre kdkjf <kk_kksri at yahoo.com> wrote:
> i am able to register into the pjsip application.
Hi sre kdkjf (or kk_kksri, I don't know what else to call you :) ).
> But after keeping the applicaton idle for upto 3 hours , its not
> re-registering in to the applicaton.
The first question is, did the registration succeed in the first place?
> Even after 3 hours keeping it ideal, from that point of time the application
> is not getting any calls (incoming calls), when i try to call that number it
> is saying temporary unavailable.
> to re-register into the application what i have to do.
> so that how can i keep my presence i mean my application should work for
> long duration.
Make sure that your registration succeeds, and enable STUN in your
configuration. When STUN is enabled, PJSUA-LIB will send periodic keep
alive packets to the server to keep NAT binding open. You could use
shorter register interval to keep your NAT binding open, but using
keep alive packets is lighter IMO.
> waiting for valuable replys.
More information about the pjsip