[OpenSIPS-Users] Session-Expires with incoming calls from GW with client with no Session timers

Bogdan-Andrei Iancu bogdan at opensips.org
Wed Sep 14 19:52:29 CEST 2011


Hi Joel,

On 09/14/2011 06:23 PM, joel.oliveira wrote:
> Hello all,
>
> Just dropping the message of "I finally did it". It seems like I was on the
> right track all the time, but failed completely on something very simple:
>
> append_hf("Session-Expires: 1800;refresher=uac\r\n", "User-Agent");
>
> It seems to me that the GW was a little stubborn on the header; I had 2
> spaces ("  ") after "refresher=uac" when appending the header and that is
> why the GW wasn't sending any more keep-alives, because it didn't detected
> the header as valid.
seems that the GW is not RFC3261 compliant as before the End-of-Header, 
any amount of spacing chars can exists.

Regards,
Bogdan

-- 
Bogdan-Andrei Iancu
OpenSIPS eBootcamp - 19th of September 2011
OpenSIPS solutions and "know-how"




More information about the Users mailing list