]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_fax: Handle fax gateway being started more than once.
authorJoshua Colp <jcolp@digium.com>
Wed, 29 Aug 2018 10:18:08 +0000 (07:18 -0300)
committerJoshua Colp <jcolp@digium.com>
Wed, 29 Aug 2018 10:18:08 +0000 (07:18 -0300)
commitfa71f498ce7ea076c5fda732e9036c1bcf1f20af
treef76dbbe61ecab5bc421ce726636d36fbe3953758
parent36a03b673ac65419a782d3daf43656406cfb8c15
res_fax: Handle fax gateway being started more than once.

The T.38 fax gateway state machine can cause the fax gateway
to be started more than once on a channel depending on the
responses of the remote endpoint. This would previously leak
the channel name, channel unique id, and underlying fax engine
state. This change instead makes it so that if the fax gateway
session is already present and not reserved the fax gateway
is not started again.

ASTERISK-27981

Change-Id: I552d95086860cb18f2522ee40ef47b13b6da2e0e
res/res_fax.c