summaryrefslogtreecommitdiff
path: root/channels/chan_sip.c
diff options
context:
space:
mode:
authorOlle Johansson <oej@edvina.net>2011-09-12 14:22:56 +0000
committerOlle Johansson <oej@edvina.net>2011-09-12 14:22:56 +0000
commit55b060fb357c1b9df65a8f6810c0640319bc2d89 (patch)
tree3b6690a6e093e7b61837f7359575dc2cc01df007 /channels/chan_sip.c
parent404151ad65b8219c1101863665f59f4f5566858f (diff)
Small documentation updates
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@335349 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_sip.c')
-rw-r--r--channels/chan_sip.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 0b0ac20e9..a51e6b9aa 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -340,7 +340,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
</application>
<function name="SIP_HEADER" language="en_US">
<synopsis>
- Gets the specified SIP header.
+ Gets the specified SIP header from an incoming INVITE message.
</synopsis>
<syntax>
<parameter name="name" required="true" />
@@ -352,6 +352,8 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
<para>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 <literal>1</literal>.</para>
+ <para>Please observe that contents of the SDP (an attachment to the
+ SIP request) can't be accessed with this function.</para>
</description>
</function>
<function name="SIPPEER" language="en_US">
@@ -363,7 +365,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
<parameter name="item">
<enumlist>
<enum name="ip">
- <para>(default) The ip address.</para>
+ <para>(default) The IP address.</para>
</enum>
<enum name="port">
<para>The port number.</para>