]> git.ipfire.org Git - thirdparty/asterisk.git/commit
fax: Fix crashes in PJSIP re-negotiation scenarios.
authorJoshua C. Colp <jcolp@sangoma.com>
Mon, 20 Apr 2020 15:18:24 +0000 (12:18 -0300)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Wed, 22 Apr 2020 15:08:54 +0000 (10:08 -0500)
commitf3ac42b9bd0d436ce2128e5bbb0502ddb587f98a
treec04621206a92aef27080a7af460e29c715b68809
parentc36f34aa90a7d5d72ac0115e377cf35067ad4acb
fax: Fix crashes in PJSIP re-negotiation scenarios.

This change fixes a few re-negotiation issues
uncovered with fax.

1. The fax support uses its own mechanism for
re-negotiation by conveying T.38 information in
its own frames. The new support for re-negotiating
when adding/removing/changing streams was also
being triggered for this causing multiple re-INVITEs.
The new support will no longer trigger when
transitioning between fax.

2. In off-nominal re-negotiation cases it was
possible for some state information to be left
over and used by the next re-negotiation. This
is now cleared.

ASTERISK-28811
ASTERISK-28839

Change-Id: I8ed5924b53be9fe06a385c58817e5584b0f25cc2
res/res_pjsip_session.c