[SR-Users] 200 OK - need to include Expires

Subba Krishna MG meetmgsk at gmail.com
Tue Oct 3 18:42:13 CEST 2017


Attached is the pcap sent by Kamailio.

My SIP client / Presence client requires 200 OK to be mandatory so its
discarding the message.

Can you help me Kamailio send Expires header for 200 OK messge?

Regards,
MGSK

On Tue, Oct 3, 2017 at 9:59 PM, Subba Krishna MG <meetmgsk at gmail.com> wrote:

> Hello Daniel,
>
> I am refering to Expires : 50  header. of 200 OK message.
>
>
> Example:
>
> UDP message sent (372 bytes):
>
> SIP/2.0 200 OK
> Via: SIP/2.0/UDP 0.0.0.0:5060;transport=udp:5060;branch=z9hG4bK*002e-
> 0000009f-0dc8
> From: <sip:123456789900001 at 172.12.126.2>;tag=
> b72e12bnbsN2759d33bc8-34dfbc00
> To: sip:123456789900001 at 172.12.126.2;tag=3c61150540a3516dc9f900da252e80
> 1c.bed1
> Call-ID: 123456789900001_1_0_873524566_0 at presencea.iprc.nlt.in
> Cseq: 1 Publish
> Expires: 60
> Content-Length: 0
>
> My Kamailio is not sending this IE.
>
> Thanks and regards,
> MGSK
>
> On Tue, Oct 3, 2017 at 9:09 PM, Daniel-Constantin Mierla <
> miconda at gmail.com> wrote:
>
>> Hello,
>>
>> what exactly you refer to by EXPIRES IE? Expires header?
>>
>> Cheers,
>> Daniel
>>
>> On 03.10.17 04:18, Subba Krishna MG wrote:
>>
>> Hello,
>>
>> This might be very simple question for you folks,
>>
>> I am using Kamailio as SIP - Presence server, and For every user Kamailio
>> is sending 200 OK, but the EXPIRES IE is missing.
>>
>> Can u help me include this IE or any other IE for 200 OK message?
>>
>> How to modify the configuration files to get this done?
>>
>> Thanks a lot,
>> MGSK
>>
>>
>> _______________________________________________
>> Kamailio (SER) - Users Mailing Listsr-users at lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
>>
>> --
>> Daniel-Constantin Mierlawww.twitter.com/miconda -- www.linkedin.com/in/miconda
>> Kamailio Advanced Training - www.asipto.com
>> Kamailio World Conference - www.kamailioworld.com
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20171003/a4e32dce/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kamailio.pcap
Type: application/octet-stream
Size: 1115 bytes
Desc: not available
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20171003/a4e32dce/attachment.obj>


More information about the sr-users mailing list