Re: [OpenSIPS-Users] sst min-se problem

2009-04-13 Thread Bogdan-Andrei Iancu
Hi Jeff,

not need to report it, as I just fix it.

Thanks and regards,
Bogdan

Jeff Pyle wrote:
 Hi Bogdan,

 If the current code is operating contrary to the RFC, how might one such as
 me request it be updated?


 - Jeff



 On 4/6/09 1:10 PM, Bogdan-Andrei Iancu bog...@voice-system.ro wrote:

   
 Looking in the code, the 422 is sent only if the proxy min-se (1800) is
 smaller than the min(received-min_se(90), received-se(300)) - 1800  90
 - false, no 422.

 But reading the RFC 4028, I would say the condition is the other way
 around - if the local min-se is higher than min(received-min_se(90),
 received-se(300)) , the 422 should be sent out.

 Regards,
 Bogdan

 Jeff Pyle wrote:
 
 Hi Bogdan,

 Makes sense, but the why didn't the proxy reject the request with a 422
 since the Session-Expires from the request is less than the proxy's Min-SE
 of 1800?


 - Jeff



 On 4/6/09 12:56 PM, Bogdan-Andrei Iancu bog...@voice-system.ro wrote:

   
   
 Hi Jeff,

 What you configure is the min-se of the proxy. (1800)

 In
 DBG:sst:sst_check_min: Session-Expires: 300; MIN-SE: 90

 are the values from received from request.

 Regards,
 Bogdan

 Jeff Pyle wrote:
 
 
 Hello,

 I have the sst module configured as follows:

 loadmodule sst.so
 modparam(sst|dialog, timeout_avp, $avp(s:sst_timeout))
 modparam(sst, sst_flag, 6)
 modparam(sst, enable_stats, 1)
 modparam(sst, min_se, 1800)
 modparam(sst, reject_to_small, 1)


 Opensips 1.5 receives an invite containing the following header:

   Session-Expires: 300

 sstCheckMin(1) at debug=6 shows this:

   DBG:sst:sst_check_min: No MIN-SE header found.
   DBG:sst:sst_check_min: Session-Expires: 300; MIN-SE: 90
   DBG:sst:sst_check_min: Done returning false (-1)


 Since the invite from my gateway didn't contain a MIN-SE, why doesn't it
 use
 the 1800 provided at the modparam?


 Thanks,
 Jeff


 ___
 Users mailing list
 Users@lists.opensips.org
 http://lists.opensips.org/cgi-bin/mailman/listinfo/users

   
   
   
   
   


   


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] sst min-se problem

2009-04-13 Thread Jeff Pyle
Thanks.  :)


On 4/13/09 7:56 AM, Bogdan-Andrei Iancu bog...@voice-system.ro wrote:

 Hi Jeff,
 
 not need to report it, as I just fix it.
 
 Thanks and regards,
 Bogdan
 
 Jeff Pyle wrote:
 Hi Bogdan,
 
 If the current code is operating contrary to the RFC, how might one such as
 me request it be updated?
 
 
 - Jeff
 
 
 
 On 4/6/09 1:10 PM, Bogdan-Andrei Iancu bog...@voice-system.ro wrote:
 
   
 Looking in the code, the 422 is sent only if the proxy min-se (1800) is
 smaller than the min(received-min_se(90), received-se(300)) - 1800  90
 - false, no 422.
 
 But reading the RFC 4028, I would say the condition is the other way
 around - if the local min-se is higher than min(received-min_se(90),
 received-se(300)) , the 422 should be sent out.
 
 Regards,
 Bogdan
 
 Jeff Pyle wrote:
 
 Hi Bogdan,
 
 Makes sense, but the why didn't the proxy reject the request with a 422
 since the Session-Expires from the request is less than the proxy's Min-SE
 of 1800?
 
 
 - Jeff
 
 
 
 On 4/6/09 12:56 PM, Bogdan-Andrei Iancu bog...@voice-system.ro wrote:
 
   
   
 Hi Jeff,
 
 What you configure is the min-se of the proxy. (1800)
 
 In
 DBG:sst:sst_check_min: Session-Expires: 300; MIN-SE: 90
 
 are the values from received from request.
 
 Regards,
 Bogdan
 
 Jeff Pyle wrote:
 
 
 Hello,
 
 I have the sst module configured as follows:
 
 loadmodule sst.so
 modparam(sst|dialog, timeout_avp, $avp(s:sst_timeout))
 modparam(sst, sst_flag, 6)
 modparam(sst, enable_stats, 1)
 modparam(sst, min_se, 1800)
 modparam(sst, reject_to_small, 1)
 
 
 Opensips 1.5 receives an invite containing the following header:
 
   Session-Expires: 300
 
 sstCheckMin(1) at debug=6 shows this:
 
   DBG:sst:sst_check_min: No MIN-SE header found.
   DBG:sst:sst_check_min: Session-Expires: 300; MIN-SE: 90
   DBG:sst:sst_check_min: Done returning false (-1)
 
 
 Since the invite from my gateway didn't contain a MIN-SE, why doesn't it
 use
 the 1800 provided at the modparam?
 
 
 Thanks,
 Jeff
 
 
 ___
 Users mailing list
 Users@lists.opensips.org
 http://lists.opensips.org/cgi-bin/mailman/listinfo/users
 
   
   
   
   
   
 
 
   
 


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] sst min-se problem

2009-04-08 Thread Jeff Pyle
Hi Bogdan,

If the current code is operating contrary to the RFC, how might one such as
me request it be updated?


- Jeff



On 4/6/09 1:10 PM, Bogdan-Andrei Iancu bog...@voice-system.ro wrote:

 Looking in the code, the 422 is sent only if the proxy min-se (1800) is
 smaller than the min(received-min_se(90), received-se(300)) - 1800  90
 - false, no 422.
 
 But reading the RFC 4028, I would say the condition is the other way
 around - if the local min-se is higher than min(received-min_se(90),
 received-se(300)) , the 422 should be sent out.
 
 Regards,
 Bogdan
 
 Jeff Pyle wrote:
 Hi Bogdan,
 
 Makes sense, but the why didn't the proxy reject the request with a 422
 since the Session-Expires from the request is less than the proxy's Min-SE
 of 1800?
 
 
 - Jeff
 
 
 
 On 4/6/09 12:56 PM, Bogdan-Andrei Iancu bog...@voice-system.ro wrote:
 
   
 Hi Jeff,
 
 What you configure is the min-se of the proxy. (1800)
 
 In
 DBG:sst:sst_check_min: Session-Expires: 300; MIN-SE: 90
 
 are the values from received from request.
 
 Regards,
 Bogdan
 
 Jeff Pyle wrote:
 
 Hello,
 
 I have the sst module configured as follows:
 
 loadmodule sst.so
 modparam(sst|dialog, timeout_avp, $avp(s:sst_timeout))
 modparam(sst, sst_flag, 6)
 modparam(sst, enable_stats, 1)
 modparam(sst, min_se, 1800)
 modparam(sst, reject_to_small, 1)
 
 
 Opensips 1.5 receives an invite containing the following header:
 
   Session-Expires: 300
 
 sstCheckMin(1) at debug=6 shows this:
 
   DBG:sst:sst_check_min: No MIN-SE header found.
   DBG:sst:sst_check_min: Session-Expires: 300; MIN-SE: 90
   DBG:sst:sst_check_min: Done returning false (-1)
 
 
 Since the invite from my gateway didn't contain a MIN-SE, why doesn't it
 use
 the 1800 provided at the modparam?
 
 
 Thanks,
 Jeff
 
 
 ___
 Users mailing list
 Users@lists.opensips.org
 http://lists.opensips.org/cgi-bin/mailman/listinfo/users
 
   
   
 
 
   
 


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] sst min-se problem

2009-04-06 Thread Bogdan-Andrei Iancu
Hi Jeff,

What you configure is the min-se of the proxy. (1800)

In
DBG:sst:sst_check_min: Session-Expires: 300; MIN-SE: 90

are the values from received from request.

Regards,
Bogdan

Jeff Pyle wrote:
 Hello,

 I have the sst module configured as follows:

 loadmodule sst.so
 modparam(sst|dialog, timeout_avp, $avp(s:sst_timeout))
 modparam(sst, sst_flag, 6)
 modparam(sst, enable_stats, 1)
 modparam(sst, min_se, 1800)
 modparam(sst, reject_to_small, 1)


 Opensips 1.5 receives an invite containing the following header:

   Session-Expires: 300

 sstCheckMin(1) at debug=6 shows this:

   DBG:sst:sst_check_min: No MIN-SE header found.
   DBG:sst:sst_check_min: Session-Expires: 300; MIN-SE: 90
   DBG:sst:sst_check_min: Done returning false (-1)


 Since the invite from my gateway didn't contain a MIN-SE, why doesn't it use
 the 1800 provided at the modparam?


 Thanks,
 Jeff


 ___
 Users mailing list
 Users@lists.opensips.org
 http://lists.opensips.org/cgi-bin/mailman/listinfo/users

   


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] sst min-se problem

2009-04-06 Thread Jeff Pyle
Hi Bogdan,

Makes sense, but the why didn't the proxy reject the request with a 422
since the Session-Expires from the request is less than the proxy's Min-SE
of 1800?


- Jeff



On 4/6/09 12:56 PM, Bogdan-Andrei Iancu bog...@voice-system.ro wrote:

 Hi Jeff,
 
 What you configure is the min-se of the proxy. (1800)
 
 In
 DBG:sst:sst_check_min: Session-Expires: 300; MIN-SE: 90
 
 are the values from received from request.
 
 Regards,
 Bogdan
 
 Jeff Pyle wrote:
 Hello,
 
 I have the sst module configured as follows:
 
 loadmodule sst.so
 modparam(sst|dialog, timeout_avp, $avp(s:sst_timeout))
 modparam(sst, sst_flag, 6)
 modparam(sst, enable_stats, 1)
 modparam(sst, min_se, 1800)
 modparam(sst, reject_to_small, 1)
 
 
 Opensips 1.5 receives an invite containing the following header:
 
   Session-Expires: 300
 
 sstCheckMin(1) at debug=6 shows this:
 
   DBG:sst:sst_check_min: No MIN-SE header found.
   DBG:sst:sst_check_min: Session-Expires: 300; MIN-SE: 90
   DBG:sst:sst_check_min: Done returning false (-1)
 
 
 Since the invite from my gateway didn't contain a MIN-SE, why doesn't it use
 the 1800 provided at the modparam?
 
 
 Thanks,
 Jeff
 
 
 ___
 Users mailing list
 Users@lists.opensips.org
 http://lists.opensips.org/cgi-bin/mailman/listinfo/users
 
   
 


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] sst min-se problem

2009-04-06 Thread Bogdan-Andrei Iancu
Looking in the code, the 422 is sent only if the proxy min-se (1800) is 
smaller than the min(received-min_se(90), received-se(300)) - 1800  90 
- false, no 422.

But reading the RFC 4028, I would say the condition is the other way 
around - if the local min-se is higher than min(received-min_se(90), 
received-se(300)) , the 422 should be sent out.

Regards,
Bogdan

Jeff Pyle wrote:
 Hi Bogdan,

 Makes sense, but the why didn't the proxy reject the request with a 422
 since the Session-Expires from the request is less than the proxy's Min-SE
 of 1800?


 - Jeff



 On 4/6/09 12:56 PM, Bogdan-Andrei Iancu bog...@voice-system.ro wrote:

   
 Hi Jeff,

 What you configure is the min-se of the proxy. (1800)

 In
 DBG:sst:sst_check_min: Session-Expires: 300; MIN-SE: 90

 are the values from received from request.

 Regards,
 Bogdan

 Jeff Pyle wrote:
 
 Hello,

 I have the sst module configured as follows:

 loadmodule sst.so
 modparam(sst|dialog, timeout_avp, $avp(s:sst_timeout))
 modparam(sst, sst_flag, 6)
 modparam(sst, enable_stats, 1)
 modparam(sst, min_se, 1800)
 modparam(sst, reject_to_small, 1)


 Opensips 1.5 receives an invite containing the following header:

   Session-Expires: 300

 sstCheckMin(1) at debug=6 shows this:

   DBG:sst:sst_check_min: No MIN-SE header found.
   DBG:sst:sst_check_min: Session-Expires: 300; MIN-SE: 90
   DBG:sst:sst_check_min: Done returning false (-1)


 Since the invite from my gateway didn't contain a MIN-SE, why doesn't it use
 the 1800 provided at the modparam?


 Thanks,
 Jeff


 ___
 Users mailing list
 Users@lists.opensips.org
 http://lists.opensips.org/cgi-bin/mailman/listinfo/users

   
   


   


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] sst min-se problem

2009-04-03 Thread Jeff Pyle
Hello,

I have the sst module configured as follows:

loadmodule sst.so
modparam(sst|dialog, timeout_avp, $avp(s:sst_timeout))
modparam(sst, sst_flag, 6)
modparam(sst, enable_stats, 1)
modparam(sst, min_se, 1800)
modparam(sst, reject_to_small, 1)


Opensips 1.5 receives an invite containing the following header:

  Session-Expires: 300

sstCheckMin(1) at debug=6 shows this:

  DBG:sst:sst_check_min: No MIN-SE header found.
  DBG:sst:sst_check_min: Session-Expires: 300; MIN-SE: 90
  DBG:sst:sst_check_min: Done returning false (-1)


Since the invite from my gateway didn't contain a MIN-SE, why doesn't it use
the 1800 provided at the modparam?


Thanks,
Jeff


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users