summaryrefslogtreecommitdiff
path: root/channels/sip
diff options
context:
space:
mode:
authorGregory Nietsky <gregory@distrotech.co.za>2011-05-16 14:56:53 +0000
committerGregory Nietsky <gregory@distrotech.co.za>2011-05-16 14:56:53 +0000
commit32d43ebe193a50608c2c71bff9a8e990ae0c086e (patch)
tree049c5eefc4532bc2e89c74bed647133d019c1e4c /channels/sip
parent938290cf0d7d9779113fe9059fae7f0f547a71d7 (diff)
When a error in T.38 negotiation happens or its rejected on a channel the
state of the channel reverts to unknown this should be rejected. this is important for negotiating T.38 gateway see #13405 This patch adds a option T38_REJECTED that behaves as T38_DISABLED except it reports state rejected. Trivial Change to res_fax to honnor UNAVAILABLE and REJECTED states. (closes issue #18889) Reported by: irroot Tested by: irroot, darkbasic, mnicholson Review: https://reviewboard.asterisk.org/r/1115 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@319087 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/sip')
-rw-r--r--channels/sip/include/sip.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/channels/sip/include/sip.h b/channels/sip/include/sip.h
index 4c2d34264..b856a7f3e 100644
--- a/channels/sip/include/sip.h
+++ b/channels/sip/include/sip.h
@@ -594,7 +594,8 @@ enum t38state {
T38_DISABLED = 0, /*!< Not enabled */
T38_LOCAL_REINVITE, /*!< Offered from local - REINVITE */
T38_PEER_REINVITE, /*!< Offered from peer - REINVITE */
- T38_ENABLED /*!< Negotiated (enabled) */
+ T38_ENABLED, /*!< Negotiated (enabled) */
+ T38_REJECTED /*!< Refused */
};
/*! \brief Parameters to know status of transfer */