[OpenSIPS-Users] sst min-se problem

Jeff Pyle jpyle at fidelityvoice.com
Mon Apr 6 19:01:35 CEST 2009


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