Possible bug - missing mandatory field Max-Forwards

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

 



Joshua is right, Max-Forwards is mandatory for request messages.

ACK and BYE both are requests, not response messages.

Harry

Am 18.02.2015 um 18:23 schrieb Anatoli:
> 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.
>




[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