aboutsummaryrefslogtreecommitdiffstats
path: root/channels/sip
diff options
context:
space:
mode:
authorirroot <irroot@f38db490-d61c-443f-a65b-d21fe96a405b>2011-05-16 14:56:53 +0000
committerirroot <irroot@f38db490-d61c-443f-a65b-d21fe96a405b>2011-05-16 14:56:53 +0000
commitb77d873929a3eea43189cff59253e41da08c95f4 (patch)
tree049c5eefc4532bc2e89c74bed647133d019c1e4c /channels/sip
parentff7075434235df8d2f00fa2a95a5be827857d0d5 (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: http://svn.digium.com/svn/asterisk/trunk@319087 f38db490-d61c-443f-a65b-d21fe96a405b
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 */