[OpenSIPS-Users] sst min-se problem

Jeff Pyle jpyle at fidelityvoice.com
Wed Apr 8 19:52:21 CEST 2009


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" <bogdan at 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" <bogdan at 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 at lists.opensips.org
>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>> 
>>>>   
>>>>       
>> 
>> 
>>   
> 




More information about the Users mailing list