[asterisk-commits] mmichelson: trunk r398369 - in /trunk: ./ res/res_pjsip_outbound_registration.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Sep 5 09:10:47 CDT 2013


Author: mmichelson
Date: Thu Sep  5 09:10:45 2013
New Revision: 398369

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=398369
Log:
Clarify server_uri and client_uri registration settings.

Used some of Rusty's suggested language plus also included
more SIPesque descriptions of where the URIs are actually
used in an outgoing REGISTER.

(closes issue ASTERISK-22390)
reported by Rusty Newton
........

Merged revisions 398368 from http://svn.asterisk.org/svn/asterisk/branches/12

Modified:
    trunk/   (props changed)
    trunk/res/res_pjsip_outbound_registration.c

Propchange: trunk/
------------------------------------------------------------------------------
--- branch-12-merged (original)
+++ branch-12-merged Thu Sep  5 09:10:45 2013
@@ -1,1 +1,1 @@
-/branches/12:1-398198,398206,398215,398226,398237,398283,398286,398299,398303
+/branches/12:1-398198,398206,398215,398226,398237,398283,398286,398299,398303,398368

Modified: trunk/res/res_pjsip_outbound_registration.c
URL: http://svnview.digium.com/svn/asterisk/trunk/res/res_pjsip_outbound_registration.c?view=diff&rev=398369&r1=398368&r2=398369
==============================================================================
--- trunk/res/res_pjsip_outbound_registration.c (original)
+++ trunk/res/res_pjsip_outbound_registration.c Thu Sep  5 09:10:45 2013
@@ -57,6 +57,15 @@
 				</configOption>
 				<configOption name="client_uri">
 					<synopsis>Client SIP URI used when attemping outbound registration</synopsis>
+					<description><para>
+						This is the address-of-record for the outbound registration (i.e. the URI in
+						the To header of the REGISTER).</para>
+						<para>For registration with an ITSP, the client SIP URI may need to consist of
+						an account name or number and the provider's hostname for their registrar, e.g.
+						client_uri=1234567890 at example.com. This may differ between providers.</para>
+						<para>For registration to generic registrars, the client SIP URI will depend
+						on networking specifics and configuration of the registrar.
+					</para></description>
 				</configOption>
 				<configOption name="contact_user">
 					<synopsis>Contact User to use in request</synopsis>
@@ -78,6 +87,12 @@
 				</configOption>
 				<configOption name="server_uri">
 					<synopsis>SIP URI of the server to register against</synopsis>
+					<description><para>
+						This is the URI at which to find the registrar to send the outbound REGISTER. This URI
+						is used as the request URI of the outbound REGISTER request from Asterisk.</para>
+						<para>For registration with an ITSP, the setting may often be just the domain of
+						the registrar, e.g. sip:sip.example.com.
+					</para></description>
 				</configOption>
 				<configOption name="transport">
 					<synopsis>Transport used for outbound authentication</synopsis>




More information about the asterisk-commits mailing list