From debdfd958cece3fafce7df4b4d9bbbe2177b405a Mon Sep 17 00:00:00 2001 From: Olle Johansson Date: Sun, 25 Nov 2007 12:18:35 +0000 Subject: [PATCH] More doxygen changes git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89557 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_sip.c | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/channels/chan_sip.c b/channels/chan_sip.c index a4c75e3975..52bfec2d39 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -261,6 +261,11 @@ enum subscriptiontype { MWI_NOTIFICATION }; +/*! \brief Subscription types that we support. We support + - dialoginfo updates (really device status, not dialog info as was the original intent of the standard) + - SIMPLE presence used for device status + - Voicemail notification subscriptions +*/ static const struct cfsubscription_types { enum subscriptiontype type; const char * const event; @@ -495,7 +500,10 @@ static const struct cfsip_options { }; -/*! \brief SIP Methods we support */ +/*! \brief SIP Methods we support + \todo This string should be set dynamically. We only support REFER and SUBSCRIBE is we have + allowsubscribe and allowrefer on in sip.conf. +*/ #define ALLOWED_METHODS "INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY" /*! \brief SIP Extensions we support */ @@ -510,8 +518,9 @@ static const struct cfsip_options { * we do not support this feature at the moment. */ -/* Default values, set and reset in reload_config before reading configuration */ -/* These are default values in the source. There are other recommended values in the +/*! \brief Default values, set and reset in reload_config before reading configuration + + These are default values in the source. There are other recommended values in the sip.conf.sample for new installations. These may differ to keep backwards compatibility, yet encouraging new behaviour on new installations */