voip re-registration problem

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

 



hello,
i'm trying change registration interval..i found these options in
pjsua_acc_config :

pjsua_acc_config::reg_timeout

Optional interval for registration, in seconds. If the value is zero, default 
interval will be used (PJSUA_REG_INTERVAL, 300 seconds).

pjsua_acc_config::reg_retry_interval

Specify interval of auto registration retry upon registration failure 
(including caused by transport problem), in second. Set to 0 to disable auto 
re-registration.
Default: PJSUA_REG_RETRY_INTERVAL


when i set reg_timeout to 20 seconds application still show 60 seconds:

/pjsua-arm-unknown-linux-gnu  --id sip:pc2 at 192.168.10.123 --registrar 
sip:192.168.10.123 --realm asterisk --username pc2 --password heslo --local-
port=5066 --app-log-level 6 --play-file=cd8.wav --no-vad --ec-tail=0 --reg-
timeout=20

from log:

pjsua_acc.c  sip:pc2 at 192.168.10.123: registration success, status=200 (OK), 
will re-register in 60 seconds


Exists some minimum timeout for registration interval? I tried to find it in 
pjsip library but without success. Can me somebody give hint where i can find  
minimum interval?

Second option work perfect. when i set it to 10 second...every 10 second when 
client is disconnected it try reconect to server.


thanks






[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