[SR-Users] 200 OK - need to include Expires
Daniel-Constantin Mierla
miconda at gmail.com
Wed Oct 11 09:59:34 CEST 2017
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 at gmail.com
> <mailto: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
> <mailto:sip%3A123456789900001 at 172.12.126.2>>;tag=b72e12bnbsN2759d33bc8-34dfbc00
> To: sip:123456789900001 at 172.12.126.2
> <mailto:sip%3A123456789900001 at 172.12.126.2>;tag=3c61150540a3516dc9f900da252e801c.bed1
> Call-ID: 123456789900001_1_0_873524566_0 at presencea.iprc.nlt.in
> <mailto: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 <mailto: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 List
>> sr-users at lists.kamailio.org <mailto:sr-users at lists.kamailio.org>
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>> <https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users>
>
> --
> Daniel-Constantin Mierla
> www.twitter.com/miconda <http://www.twitter.com/miconda> -- www.linkedin.com/in/miconda <http://www.linkedin.com/in/miconda>
> Kamailio Advanced Training - www.asipto.com <http://www.asipto.com>
> Kamailio World Conference - www.kamailioworld.com <http://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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20171011/daca16cd/attachment.html>
More information about the sr-users
mailing list