Adjust Resend Timers

DR
Dan Rabin
Wed, Dec 30, 2015 9:31 AM

Hello,

I have a problem with STUN (using public server) and I think that
nat_detect is resending request to fast. Can someone please advice on how
to slow down the resendin?

Thank you,
Dan

Hello, I have a problem with STUN (using public server) and I think that nat_detect is resending request to fast. Can someone please advice on how to slow down the resendin? Thank you, Dan
AT
Alain Totouom
Wed, Dec 30, 2015 10:54 AM

Hi Dan,

On 30/12/15 10:31, Dan Rabin wrote:

I have a problem with STUN (using public server) and I think that
nat_detect is resending request to fast. Can someone please advice on
how to slow down the resendin?

you can play around with the round-trip time estimation
PJ_STUN_RTO_VALUE (milliseconds default: 100) in your config_site.h.

Regards,
Alain

Thank you,
Dan


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

--
1024D/A9F85A52      2000-01-18      Alain Totouom totouom@gmx.de
PGP Fingerprint DA18 0DF2 FBD2 5F67 0656 452D E3A2 7531 A9F8 5A52

Hi Dan, On 30/12/15 10:31, Dan Rabin wrote: > I have a problem with STUN (using public server) and I think that > nat_detect is resending request to fast. Can someone please advice on > how to slow down the resendin? > you can play around with the round-trip time estimation PJ_STUN_RTO_VALUE (milliseconds default: 100) in your config_site.h. Regards, Alain > Thank you, > Dan > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > -- > 1024D/A9F85A52 2000-01-18 Alain Totouom <totouom@gmx.de> > PGP Fingerprint DA18 0DF2 FBD2 5F67 0656 452D E3A2 7531 A9F8 5A52
DR
Dan Rabin
Wed, Dec 30, 2015 12:15 PM

Thanks a lot Alain,
It helped. I think that there is another constant that there is another
constant to change - the time between tests - maybe you which is it?

Bets,
Dan

On Wed, Dec 30, 2015 at 12:54 PM, Alain Totouom alain.totouom@gmx.de
wrote:

Hi Dan,

On 30/12/15 10:31, Dan Rabin wrote:

I have a problem with STUN (using public server) and I think that
nat_detect is resending request to fast. Can someone please advice on how
to slow down the resendin?

you can play around with the round-trip time estimation PJ_STUN_RTO_VALUE
(milliseconds default: 100) in your config_site.h.

Regards,
Alain

Thank you,
Dan


Visit our blog: http://blog.pjsip.org

pjsip mailing listpjsip@lists.pjsip.orghttp://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

--
1024D/A9F85A52      2000-01-18      Alain Totouom totouom@gmx.de totouom@gmx.de
PGP Fingerprint DA18 0DF2 FBD2 5F67 0656 452D E3A2 7531 A9F8 5A52


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

Thanks a lot Alain, It helped. I think that there is another constant that there is another constant to change - the time between tests - maybe you which is it? Bets, Dan On Wed, Dec 30, 2015 at 12:54 PM, Alain Totouom <alain.totouom@gmx.de> wrote: > Hi Dan, > > On 30/12/15 10:31, Dan Rabin wrote: > > I have a problem with STUN (using public server) and I think that > nat_detect is resending request to fast. Can someone please advice on how > to slow down the resendin? > > you can play around with the round-trip time estimation PJ_STUN_RTO_VALUE > (milliseconds default: 100) in your config_site.h. > > Regards, > Alain > > Thank you, > Dan > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing listpjsip@lists.pjsip.orghttp://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > -- > 1024D/A9F85A52 2000-01-18 Alain Totouom <totouom@gmx.de> <totouom@gmx.de> > PGP Fingerprint DA18 0DF2 FBD2 5F67 0656 452D E3A2 7531 A9F8 5A52 > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >
AT
Alain Totouom
Wed, Dec 30, 2015 1:53 PM

Hi Dan,

On 30/12/15 13:15, Dan Rabin wrote:

Thanks a lot Alain,
It helped. I think that there is another constant that there is
another constant to change - the time between tests - maybe you which
is it?

that should be the only one.
The intervals between subsequent tests are a multiple of that value and
part of the STUN RFC if my recollection is correct.

Regards,
Alain

Bets,
Dan

On Wed, Dec 30, 2015 at 12:54 PM, Alain Totouom <alain.totouom@gmx.de
mailto:alain.totouom@gmx.de> wrote:

 Hi Dan,

 On 30/12/15 10:31, Dan Rabin wrote:
 I have a problem with STUN (using public server) and I think that
 nat_detect is resending request to fast. Can someone please
 advice on how to slow down the resendin?
 you can play around with the round-trip time estimation
 PJ_STUN_RTO_VALUE (milliseconds default: 100) in your config_site.h.

 Regards,
 Alain
 Thank you,
 Dan


 _______________________________________________
 Visit our blog:http://blog.pjsip.org

 pjsip mailing list
 pjsip@lists.pjsip.org <mailto:pjsip@lists.pjsip.org>
 http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

 -- 
 1024D/A9F85A52      2000-01-18      Alain Totouom<totouom@gmx.de> <mailto:totouom@gmx.de>
 PGP Fingerprint DA18 0DF2 FBD2 5F67 0656 452D E3A2 7531 A9F8 5A52
 _______________________________________________
 Visit our blog: http://blog.pjsip.org

 pjsip mailing list
 pjsip@lists.pjsip.org <mailto:pjsip@lists.pjsip.org>
 http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

--
1024D/A9F85A52      2000-01-18      Alain Totouom totouom@gmx.de
PGP Fingerprint DA18 0DF2 FBD2 5F67 0656 452D E3A2 7531 A9F8 5A52

Hi Dan, On 30/12/15 13:15, Dan Rabin wrote: > Thanks a lot Alain, > It helped. I think that there is another constant that there is > another constant to change - the time between tests - maybe you which > is it? > that should be the only one. The intervals between subsequent tests are a multiple of that value and part of the STUN RFC if my recollection is correct. Regards, Alain > Bets, > Dan > > On Wed, Dec 30, 2015 at 12:54 PM, Alain Totouom <alain.totouom@gmx.de > <mailto:alain.totouom@gmx.de>> wrote: > > Hi Dan, > > On 30/12/15 10:31, Dan Rabin wrote: >> I have a problem with STUN (using public server) and I think that >> nat_detect is resending request to fast. Can someone please >> advice on how to slow down the resendin? >> > you can play around with the round-trip time estimation > PJ_STUN_RTO_VALUE (milliseconds default: 100) in your config_site.h. > > Regards, > Alain >> Thank you, >> Dan >> >> >> _______________________________________________ >> Visit our blog:http://blog.pjsip.org >> >> pjsip mailing list >> pjsip@lists.pjsip.org <mailto:pjsip@lists.pjsip.org> >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> >> -- >> 1024D/A9F85A52 2000-01-18 Alain Totouom<totouom@gmx.de> <mailto:totouom@gmx.de> >> PGP Fingerprint DA18 0DF2 FBD2 5F67 0656 452D E3A2 7531 A9F8 5A52 > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org <mailto:pjsip@lists.pjsip.org> > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > -- > 1024D/A9F85A52 2000-01-18 Alain Totouom <totouom@gmx.de> > PGP Fingerprint DA18 0DF2 FBD2 5F67 0656 452D E3A2 7531 A9F8 5A52
DR
Dan Rabin
Wed, Dec 30, 2015 8:26 PM

Hi Alain,
Yes you are correct. Thank you.
Do you or anyone else knows where PJ is using the result when an Invite
with ICE is coming in?
Regards,
Dan

On Wed, Dec 30, 2015 at 3:53 PM, Alain Totouom alain.totouom@gmx.de wrote:

Hi Dan,

On 30/12/15 13:15, Dan Rabin wrote:

Thanks a lot Alain,
It helped. I think that there is another constant that there is another
constant to change - the time between tests - maybe you which is it?

that should be the only one.
The intervals between subsequent tests are a multiple of that value and
part of the STUN RFC if my recollection is correct.

Regards,
Alain

Bets,
Dan

On Wed, Dec 30, 2015 at 12:54 PM, Alain Totouom alain.totouom@gmx.de
wrote:

Hi Dan,

On 30/12/15 10:31, Dan Rabin wrote:

I have a problem with STUN (using public server) and I think that
nat_detect is resending request to fast. Can someone please advice on how
to slow down the resendin?

you can play around with the round-trip time estimation PJ_STUN_RTO_VALUE
(milliseconds default: 100) in your config_site.h.

Regards,
Alain

Thank you,
Dan


Visit our blog: http://blog.pjsip.org

pjsip mailing listpjsip@lists.pjsip.orghttp://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

--
1024D/A9F85A52      2000-01-18      Alain Totouom totouom@gmx.de totouom@gmx.de
PGP Fingerprint DA18 0DF2 FBD2 5F67 0656 452D E3A2 7531 A9F8 5A52


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org


Visit our blog: http://blog.pjsip.org

pjsip mailing listpjsip@lists.pjsip.orghttp://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

--
1024D/A9F85A52      2000-01-18      Alain Totouom totouom@gmx.de totouom@gmx.de
PGP Fingerprint DA18 0DF2 FBD2 5F67 0656 452D E3A2 7531 A9F8 5A52


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

Hi Alain, Yes you are correct. Thank you. Do you or anyone else knows where PJ is using the result when an Invite with ICE is coming in? Regards, Dan On Wed, Dec 30, 2015 at 3:53 PM, Alain Totouom <alain.totouom@gmx.de> wrote: > Hi Dan, > > On 30/12/15 13:15, Dan Rabin wrote: > > Thanks a lot Alain, > It helped. I think that there is another constant that there is another > constant to change - the time between tests - maybe you which is it? > > that should be the only one. > The intervals between subsequent tests are a multiple of that value and > part of the STUN RFC if my recollection is correct. > > Regards, > Alain > > Bets, > Dan > > On Wed, Dec 30, 2015 at 12:54 PM, Alain Totouom <alain.totouom@gmx.de> > wrote: > >> Hi Dan, >> >> On 30/12/15 10:31, Dan Rabin wrote: >> >> I have a problem with STUN (using public server) and I think that >> nat_detect is resending request to fast. Can someone please advice on how >> to slow down the resendin? >> >> you can play around with the round-trip time estimation PJ_STUN_RTO_VALUE >> (milliseconds default: 100) in your config_site.h. >> >> Regards, >> Alain >> >> Thank you, >> Dan >> >> >> _______________________________________________ >> Visit our blog: http://blog.pjsip.org >> >> pjsip mailing listpjsip@lists.pjsip.orghttp://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> >> >> -- >> 1024D/A9F85A52 2000-01-18 Alain Totouom <totouom@gmx.de> <totouom@gmx.de> >> PGP Fingerprint DA18 0DF2 FBD2 5F67 0656 452D E3A2 7531 A9F8 5A52 >> >> >> _______________________________________________ >> Visit our blog: http://blog.pjsip.org >> >> pjsip mailing list >> pjsip@lists.pjsip.org >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> >> > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing listpjsip@lists.pjsip.orghttp://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > -- > 1024D/A9F85A52 2000-01-18 Alain Totouom <totouom@gmx.de> <totouom@gmx.de> > PGP Fingerprint DA18 0DF2 FBD2 5F67 0656 452D E3A2 7531 A9F8 5A52 > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >