From: Walter Doekes Date: Tue, 16 Oct 2012 19:22:44 +0000 (+0000) Subject: Update sip_request_call SIP dial string documentation. X-Git-Tag: 10.11.0-rc1~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a41183f0f3d33d16eccb75a5f57cb754a612ea55;p=thirdparty%2Fasterisk.git Update sip_request_call SIP dial string documentation. This was missed when merging review r1859. ........ Merged revisions 375074 from http://svn.asterisk.org/svn/asterisk/branches/1.8 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@375078 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 712bef0074..78e99c8f69 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -27890,13 +27890,18 @@ static int sip_devicestate(void *data) /*! \brief PBX interface function -build SIP pvt structure * SIP calls initiated by the PBX arrive here. * - * \verbatim - * SIP Dial string syntax - * SIP/exten@host!dnid - * or SIP/host/exten!dnid - * or SIP/host!dnid + * \verbatim + * SIP Dial string syntax: + * SIP/devicename + * or SIP/username@domain (SIP uri) + * or SIP/username[:password[:md5secret[:authname[:transport]]]]@host[:port] + * or SIP/devicename/extension + * or SIP/devicename/extension/IPorHost + * or SIP/username@domain//IPorHost + * and there is an optional [!dnid] argument you can append to alter the + * To: header. * \endverbatim -*/ + */ static struct ast_channel *sip_request_call(const char *type, struct ast_format_cap *cap, const struct ast_channel *requestor, void *data, int *cause) { struct sip_pvt *p;