Possible bug - missing mandatory field Max-Forwards

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Joshua,

Maybe it's my wrong understanding, but what would be an ACK message as a
reply to, say, INVITE? Or what would be an INVITE on behalf of another
endpoint? Anyway, both of these (as all other messages, like BYE) are sent
without max_fwd header. Please try to reproduce it as described in my first
email.

Here is the issue in the Asterisk issue tracker:
https://issues.asterisk.org/jira/browse/ASTERISK-24807.

Regards,
Anatoli

-----Original Message-----
From: pjsip [mailto:pjsip-bounces@xxxxxxxxxxxxxxx] On Behalf Of Joshua Colp
Sent: Wednesday, February 18, 2015 13:51
To: pjsip list
Subject: Re: Possible bug - missing mandatory field Max-Forwards

Anatoli wrote:
> Joshua, Harry,
>
> Thanks for the clarifications. Indeed, res/res_pjsip/config_global.c
> manages somehow max_fwd option and it looks like it adds it to all
> requests, but not to the responses (simply adding
> ast_sip_add_global_response_header("Max-Forwards", max_forwards, 1);
> into global_apply() doesn't work).

I'm confused by your statement... the Max-Forwards header is for 
requests, not for responses.

-- 
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org

_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip at lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org




[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux