Re: [pjsip] Session Timer Too Small

BY
Bharat Yadav
Fri, Nov 6, 2009 6:17 AM

Dear Nanang
Its working now I do not know what is the error, but after clean compilation
it is working and also I am attaching successful call's Trace log.
Thanks and regards
Bharat

-----Original Message-----
From: pjsip-bounces@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org]
On Behalf Of Nanang Izzuddin
Sent: Thursday, November 05, 2009 7:13 PM
To: pjsip list
Subject: Re: [pjsip] Session Timer Too Small

Hi Bharat,

Just created a sipp test scenario for bad SE in 200 response, SVN
trunk r2987, and pjsua passed this test. So, well, there could be
another problem.

Have you ever tried to use pjsua making call via the same gateway?
Also, sorry forgot to mention this before, more verbose log, i.e: log
level 5, would be great.

BR,
nanang

On Wed, Nov 4, 2009 at 4:19 PM, Bharat Yadav
bharat.yadav@axisconvergence.com wrote:

Hi Nanang
I updated trunk with current svn2984 but issue remained same.
Please find attached file with current symbian_ua_gui.log
Thanks and regards
Bharat

-----Original Message-----
From: pjsip-bounces@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org]
On Behalf Of Nanang Izzuddin
Sent: Wednesday, November 04, 2009 12:08 PM
To: pjsip list
Subject: Re: [pjsip] Session Timer Too Small

Hi Bharat,

Well, cannot find any log attached. However, there has just been a fix
that could be related to this issue, please see ticket #975 [1].

--
[1] http://trac.pjsip.org/repos/ticket/975

BR,
nanang

On Wed, Oct 28, 2009 at 4:08 PM, Bharat Yadav
bharat.yadav@axisconvergence.com wrote:

Dear Nanang
Welcome back, here is application symbian_ua_gui log and wireshark log
too(in text mode) it should help to resolve this issue.
Thanks
Bharat

-----Original Message-----
From: pjsip-bounces@lists.pjsip.org

On Behalf Of Nanang Izzuddin
Sent: Wednesday, October 28, 2009 1:45 PM
To: pjsip list
Subject: Re: [pjsip] Session Timer Too Small

Bharat,

Unfortunately the wireshark trace couldn't be opened here, and I think
it may be better to see the pjsua log file, as the patch would print
some warning message regarding the issue in the log file.

BR,
nanang

On Fri, Oct 23, 2009 at 12:28 PM, Bharat Yadav
bharat.yadav@axisconvergence.com wrote:

Dear Nanang
I tested Session timer fix with revision svn 2961 but still having same

as

before. Wireshark trace attached.(forget to attach file now with this

one)

Thanks and regards
Bharat Yadav

-----Original Message-----
From: pjsip-bounces@lists.pjsip.org

On Behalf Of Nanang Izzuddin
Sent: Thursday, October 15, 2009 10:15 AM
To: pjsip list
Subject: Re: [pjsip] Session Timer Too Small

Hi Bharat,

Just want to update you regarding this issue. There was update on
ticket #954, i.e: rev 2933-2934, to handle this case.

Please drop in any feedback once you've got a chance to test it, thanks.

BR,
nanang

On Fri, Aug 21, 2009 at 10:28 PM, Nanang Izzuddin nanang@pjsip.org

wrote:

Hi Bharat,

The log does help. The UAS said in its 422/INVITE response that Min-SE
is 5400, but then UAS sent SE 3600 in its 200/INVITE response. The
symbian_ua/PJSIP doesn't like it when the 200/INVITE response contains
Session-expires header with value less than Min-SE header in INVITE
request, so BYE was sent.

The faulty UA here is the UAS, take a look at RFC 4028 Section 9:

If the UAS wishes to accept the request, it copies the value of the
Session-Expires header field from the request into the 2xx response.
The UAS response MAY reduce its value but MUST NOT set it to a
duration lower than the value in the Min-SE header field in the
request, if it is present;

However, I've just created ticket #954 (Session Timer issues) and
considered to put this case in.

Thanks for the report,
nanang

On Fri, Aug 21, 2009 at 7:04 PM, Bharat
Yadavbharat.yadav@axisconvergence.com wrote:

Dear Nanang
Here is trace logs of symbian_ua and Wireshark.
Thanks and regards
Bharat

-----Original Message-----
From: pjsip-bounces@lists.pjsip.org

On Behalf Of Bharat Yadav
Sent: Friday, August 21, 2009 5:10 PM
To: 'pjsip list'
Subject: Re: [pjsip] Session Timer Too Small

Dear Nanang
Thanks for quick reply. First of all when I want to make call with

G711

it

will ok and call get connected and I hangup the call gracefully, but

if

I

only use G729 for that case when call made at the stage of Ringing if
recipient accept the call it shows "Session Timer Too small" and get

hanged

with "normal call clearing" message. From the log end with will send

the

log

file within as while.
Thanks
Bharat

-----Original Message-----
From: pjsip-bounces@lists.pjsip.org

On Behalf Of Nanang Izzuddin
Sent: Friday, August 21, 2009 4:52 PM
To: pjsip list
Subject: Re: [pjsip] Session Timer Too Small

Hi Bharat,

I don't think I get this right. There shouldn't be a problem when a
caller gets 422 response (session timer too small), it will just
re-try to send INVITE with acceptable session interval as specified by
the 422 response automatically (no config setting to be set/modified
here).

So, did you experience other than the above scenario? Log file or
clear reproducing steps could be helpful.

Regards,
nanang

On Fri, Aug 21, 2009 at 5:24 PM, Bharat
Yadavbharat.yadav@axisconvergence.com wrote:

Hi all

I am using 1.4 trunk and trying to implement VAS for FP1 using

symbian_ua

all are fine for Ringing stage when call connect to GSM phone using

G729

it

show "Session Timer Too Small", how should and where I define session

time

into ua.cpp, I checked into pjsua_app.c but failed to follow steps

for

Dear Nanang Its working now I do not know what is the error, but after clean compilation it is working and also I am attaching successful call's Trace log. Thanks and regards Bharat -----Original Message----- From: pjsip-bounces@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Nanang Izzuddin Sent: Thursday, November 05, 2009 7:13 PM To: pjsip list Subject: Re: [pjsip] Session Timer Too Small Hi Bharat, Just created a sipp test scenario for bad SE in 200 response, SVN trunk r2987, and pjsua passed this test. So, well, there could be another problem. Have you ever tried to use pjsua making call via the same gateway? Also, sorry forgot to mention this before, more verbose log, i.e: log level 5, would be great. BR, nanang On Wed, Nov 4, 2009 at 4:19 PM, Bharat Yadav <bharat.yadav@axisconvergence.com> wrote: > Hi Nanang > I updated trunk with current svn2984 but issue remained same. > Please find attached file with current symbian_ua_gui.log > Thanks and regards > Bharat > > -----Original Message----- > From: pjsip-bounces@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org] > On Behalf Of Nanang Izzuddin > Sent: Wednesday, November 04, 2009 12:08 PM > To: pjsip list > Subject: Re: [pjsip] Session Timer Too Small > > Hi Bharat, > > Well, cannot find any log attached. However, there has just been a fix > that could be related to this issue, please see ticket #975 [1]. > > -- > [1] http://trac.pjsip.org/repos/ticket/975 > -- > > BR, > nanang > > > On Wed, Oct 28, 2009 at 4:08 PM, Bharat Yadav > <bharat.yadav@axisconvergence.com> wrote: >> Dear Nanang >> Welcome back, here is application symbian_ua_gui log and wireshark log >> too(in text mode) it should help to resolve this issue. >> Thanks >> Bharat >> >> -----Original Message----- >> From: pjsip-bounces@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org] >> On Behalf Of Nanang Izzuddin >> Sent: Wednesday, October 28, 2009 1:45 PM >> To: pjsip list >> Subject: Re: [pjsip] Session Timer Too Small >> >> Bharat, >> >> Unfortunately the wireshark trace couldn't be opened here, and I think >> it may be better to see the pjsua log file, as the patch would print >> some warning message regarding the issue in the log file. >> >> BR, >> nanang >> >> >> On Fri, Oct 23, 2009 at 12:28 PM, Bharat Yadav >> <bharat.yadav@axisconvergence.com> wrote: >>> Dear Nanang >>> I tested Session timer fix with revision svn 2961 but still having same > as >>> before. Wireshark trace attached.(forget to attach file now with this > one) >>> Thanks and regards >>> Bharat Yadav >>> >>> -----Original Message----- >>> From: pjsip-bounces@lists.pjsip.org > [mailto:pjsip-bounces@lists.pjsip.org] >>> On Behalf Of Nanang Izzuddin >>> Sent: Thursday, October 15, 2009 10:15 AM >>> To: pjsip list >>> Subject: Re: [pjsip] Session Timer Too Small >>> >>> Hi Bharat, >>> >>> Just want to update you regarding this issue. There was update on >>> ticket #954, i.e: rev 2933-2934, to handle this case. >>> >>> Please drop in any feedback once you've got a chance to test it, thanks. >>> >>> BR, >>> nanang >>> >>> >>> On Fri, Aug 21, 2009 at 10:28 PM, Nanang Izzuddin <nanang@pjsip.org> >> wrote: >>>> Hi Bharat, >>>> >>>> The log does help. The UAS said in its 422/INVITE response that Min-SE >>>> is 5400, but then UAS sent SE 3600 in its 200/INVITE response. The >>>> symbian_ua/PJSIP doesn't like it when the 200/INVITE response contains >>>> Session-expires header with value less than Min-SE header in INVITE >>>> request, so BYE was sent. >>>> >>>> The faulty UA here is the UAS, take a look at RFC 4028 Section 9: >>>> === >>>> If the UAS wishes to accept the request, it copies the value of the >>>> Session-Expires header field from the request into the 2xx response. >>>> The UAS response MAY reduce its value but MUST NOT set it to a >>>> duration lower than the value in the Min-SE header field in the >>>> request, if it is present; >>>> === >>>> >>>> However, I've just created ticket #954 (Session Timer issues) and >>>> considered to put this case in. >>>> >>>> Thanks for the report, >>>> nanang >>>> >>>> >>>> On Fri, Aug 21, 2009 at 7:04 PM, Bharat >>>> Yadav<bharat.yadav@axisconvergence.com> wrote: >>>>> Dear Nanang >>>>> Here is trace logs of symbian_ua and Wireshark. >>>>> Thanks and regards >>>>> Bharat >>>>> >>>>> -----Original Message----- >>>>> From: pjsip-bounces@lists.pjsip.org >>> [mailto:pjsip-bounces@lists.pjsip.org] >>>>> On Behalf Of Bharat Yadav >>>>> Sent: Friday, August 21, 2009 5:10 PM >>>>> To: 'pjsip list' >>>>> Subject: Re: [pjsip] Session Timer Too Small >>>>> >>>>> Dear Nanang >>>>> Thanks for quick reply. First of all when I want to make call with G711 >>> it >>>>> will ok and call get connected and I hangup the call gracefully, but if >> I >>>>> only use G729 for that case when call made at the stage of Ringing if >>>>> recipient accept the call it shows "Session Timer Too small" and get >>> hanged >>>>> with "normal call clearing" message. From the log end with will send > the >>> log >>>>> file within as while. >>>>> Thanks >>>>> Bharat >>>>> >>>>> -----Original Message----- >>>>> From: pjsip-bounces@lists.pjsip.org >>> [mailto:pjsip-bounces@lists.pjsip.org] >>>>> On Behalf Of Nanang Izzuddin >>>>> Sent: Friday, August 21, 2009 4:52 PM >>>>> To: pjsip list >>>>> Subject: Re: [pjsip] Session Timer Too Small >>>>> >>>>> Hi Bharat, >>>>> >>>>> I don't think I get this right. There shouldn't be a problem when a >>>>> caller gets 422 response (session timer too small), it will just >>>>> re-try to send INVITE with acceptable session interval as specified by >>>>> the 422 response automatically (no config setting to be set/modified >>>>> here). >>>>> >>>>> So, did you experience other than the above scenario? Log file or >>>>> clear reproducing steps could be helpful. >>>>> >>>>> Regards, >>>>> nanang >>>>> >>>>> >>>>> On Fri, Aug 21, 2009 at 5:24 PM, Bharat >>>>> Yadav<bharat.yadav@axisconvergence.com> wrote: >>>>>> Hi all >>>>>> >>>>>> I am using 1.4 trunk and trying to implement VAS for FP1 using >>> symbian_ua >>>>>> all are fine for Ringing stage when call connect to GSM phone using >> G729 >>>>> it >>>>>> show "Session Timer Too Small", how should and where I define session >>> time >>>>>> into ua.cpp, I checked into pjsua_app.c but failed to follow steps for >>>>>> session timer expression. Please help. >>>>>> >>>>>> Thanks >>>>>> >>>>>> Bharat >>>>>> >>>>>> _______________________________________________ >>>>>> 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 list >>>>> 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 >>>>> >>>>> >>>>> _______________________________________________ >>>>> 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 list >>> 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 >>> >>> >> >> _______________________________________________ >> 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 list >> 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 > > _______________________________________________ > 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 list pjsip@lists.pjsip.org http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org