summaryrefslogtreecommitdiff
path: root/channels/chan_sip.c
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2006-01-22 18:42:06 +0000
committerRussell Bryant <russell@russellbryant.com>2006-01-22 18:42:06 +0000
commit7df4257dbbe39b161535f30bd6fc8ac4099176b4 (patch)
treecbd07d444b2d49cf797c176aef34287120a8f308 /channels/chan_sip.c
parentc84ec3a3ad41f250202647c79854cf935942457c (diff)
eliminate some compiler warnings
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8443 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_sip.c')
-rw-r--r--channels/chan_sip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index e05793c9b..88ec193ed 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -469,7 +469,7 @@ struct sip_pkt;
/*! \brief Parameters to the transmit_invite function */
struct sip_invite_param {
const char *distinctive_ring; /*!< Distinctive ring header */
- char *osptoken; /*!< OSP token for this call */
+ const char *osptoken; /*!< OSP token for this call */
int addsipheaders; /*!< Add extra SIP headers */
const char *uri_options; /*!< URI options to add to the URI */
const char *vxml_url; /*!< VXML url for Cisco phones */
@@ -1996,7 +1996,7 @@ static int sip_call(struct ast_channel *ast, char *dest, int timeout)
int res;
struct sip_pvt *p;
#ifdef OSP_SUPPORT
- char *osphandle = NULL;
+ const char *osphandle = NULL;
#endif
struct varshead *headp;
struct ast_var_t *current;