From 55b060fb357c1b9df65a8f6810c0640319bc2d89 Mon Sep 17 00:00:00 2001 From: Olle Johansson Date: Mon, 12 Sep 2011 14:22:56 +0000 Subject: [PATCH] Small documentation updates git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@335349 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_sip.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 0b0ac20e9d..a51e6b9aae 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -340,7 +340,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") - Gets the specified SIP header. + Gets the specified SIP header from an incoming INVITE message. @@ -352,6 +352,8 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") Since there are several headers (such as Via) which can occur multiple times, SIP_HEADER takes an optional second argument to specify which header with that name to retrieve. Headers start at offset 1. + Please observe that contents of the SDP (an attachment to the + SIP request) can't be accessed with this function. @@ -363,7 +365,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") - (default) The ip address. + (default) The IP address. The port number.