Hello,

the pcap doesn't include the PUBLISH, only the reply. Can you grab a pcap with both the PUBLISH request and the reply?

Cheers,
Daniel


On 03.10.17 18:42, Subba Krishna MG wrote:
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@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@172.12.126.2>;tag=b72e12bnbsN2759d33bc8-34dfbc00
To: sip:123456789900001@172.12.126.2;tag=3c61150540a3516dc9f900da252e801c.bed1
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@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 List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
Kamailio World Conference - www.kamailioworld.com



-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
Kamailio World Conference - www.kamailioworld.com