Re: [pjsip] pjsip Digest, Vol 56, Issue 10

Fatih Çakır
Wed, Apr 4, 2012 7:25 AM

Hi all,
This is very important to me. I need your help.
I tried to use ipv6 feature and ICE feature together at same time in PJSIP, but it did not work. I made them enable by separate.Is it a bug or I need  to do sth to make them enable at same time? Things I did on it:In the pjsua_app.capp_config.ipv6 = PJ_TRUE ;app_config.media_cfg.enable_ice = PJ_TRUE;  Thank you,Fatih Cakir

From: pjsip-request@lists.pjsip.org
Subject: pjsip Digest, Vol 56, Issue 10
To: pjsip@lists.pjsip.org
Date: Wed, 4 Apr 2012 01:34:50 -0400

Send pjsip mailing list submissions to
pjsip@lists.pjsip.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
or, via email, send a message with subject or body 'help' to
pjsip-request@lists.pjsip.org

You can reach the person managing the list at
pjsip-owner@lists.pjsip.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of pjsip digest..."

Today's Topics:

1. Re: SIP Re-Registration &  403 Forbidden (Joseph Khoury)
2. How set custom window for video device through pjsua_* API
   (Faba Aa)

Message: 1
Date: Wed, 4 Apr 2012 06:09:44 +0200
From: "Joseph Khoury" j.khoury@telemore.net
To: "'Joseph Khoury'" j.khoury@telemore.net, pjsip@lists.pjsip.org
Subject: Re: [pjsip] SIP Re-Registration &  403 Forbidden
Message-ID: <04bd01cd1218$c6b3ce40$541b6ac0$@khoury@telemore.net>
Content-Type: text/plain; charset="us-ascii"

I hope to hear anything from the pros .

Hi Guys ,

Attached full log that hopefully will help highlighting my case .
Again in brief , if registration attempt ended up with CC i.e. 503 ,
Re-Registration is scheduled normally but in case CC 403 Forbidden ( after
allowing it explicitly )  Re-Registration is bypassed .

So what is the need of this code

+++++++++++++++++++++++++++++++

/* Check if we need to auto retry registration. Basically, registration
* failure codes triggering auto-retry are those of temporal failures
* considered to be recoverable in relatively short term.
/
if (acc->cfg.reg_retry_interval &&
(param->code == PJSIP_SC_REQUEST_TIMEOUT ||
param->code == PJSIP_SC_INTERNAL_SERVER_ERROR ||
param->code == PJSIP_SC_BAD_GATEWAY ||
param->code == PJSIP_SC_SERVICE_UNAVAILABLE ||
param->code == PJSIP_SC_SERVER_TIMEOUT ||
param->code == PJSIP_SC_FORBIDDEN ||
PJSIP_IS_STATUS_IN_CLASS(param->code, 600))) /
Global failure */
{
schedule_reregistration(acc);
}

Yes with CC 403 it does not make any sense to re-register but pls consider
my Question just for studying the entire project .

BR
JK

Hi all, This is very important to me. I need your help. I tried to use ipv6 feature and ICE feature together at same time in PJSIP, but it did not work. I made them enable by separate.Is it a bug or I need to do sth to make them enable at same time? Things I did on it:In the pjsua_app.capp_config.ipv6 = PJ_TRUE ;app_config.media_cfg.enable_ice = PJ_TRUE; Thank you,Fatih Cakir > From: pjsip-request@lists.pjsip.org > Subject: pjsip Digest, Vol 56, Issue 10 > To: pjsip@lists.pjsip.org > Date: Wed, 4 Apr 2012 01:34:50 -0400 > > Send pjsip mailing list submissions to > pjsip@lists.pjsip.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > or, via email, send a message with subject or body 'help' to > pjsip-request@lists.pjsip.org > > You can reach the person managing the list at > pjsip-owner@lists.pjsip.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of pjsip digest..." > > > Today's Topics: > > 1. Re: SIP Re-Registration & 403 Forbidden (Joseph Khoury) > 2. How set custom window for video device through pjsua_* API > (Faba Aa) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 4 Apr 2012 06:09:44 +0200 > From: "Joseph Khoury" <j.khoury@telemore.net> > To: "'Joseph Khoury'" <j.khoury@telemore.net>, <pjsip@lists.pjsip.org> > Subject: Re: [pjsip] SIP Re-Registration & 403 Forbidden > Message-ID: <04bd01cd1218$c6b3ce40$541b6ac0$@khoury@telemore.net> > Content-Type: text/plain; charset="us-ascii" > > I hope to hear anything from the pros . > > Hi Guys , > > Attached full log that hopefully will help highlighting my case . > Again in brief , if registration attempt ended up with CC i.e. 503 , > Re-Registration is scheduled normally but in case CC 403 Forbidden ( after > allowing it explicitly ) Re-Registration is bypassed . > > So what is the need of this code > > +++++++++++++++++++++++++++++++ > > /* Check if we need to auto retry registration. Basically, registration > * failure codes triggering auto-retry are those of temporal failures > * considered to be recoverable in relatively short term. > */ > if (acc->cfg.reg_retry_interval && > (param->code == PJSIP_SC_REQUEST_TIMEOUT || > param->code == PJSIP_SC_INTERNAL_SERVER_ERROR || > param->code == PJSIP_SC_BAD_GATEWAY || > param->code == PJSIP_SC_SERVICE_UNAVAILABLE || > param->code == PJSIP_SC_SERVER_TIMEOUT || > param->code == PJSIP_SC_FORBIDDEN || > PJSIP_IS_STATUS_IN_CLASS(param->code, 600))) /* Global failure */ > { > schedule_reregistration(acc); > } > > Yes with CC 403 it does not make any sense to re-register but pls consider > my Question just for studying the entire project . > > BR > JK >