summaryrefslogtreecommitdiff
path: root/res/res_pjsip.c
diff options
context:
space:
mode:
authorAlexei Gradinari <alex2grad@gmail.com>2016-04-15 15:26:15 -0400
committerJoshua Colp <jcolp@digium.com>2016-05-02 10:01:40 -0300
commit2b1edee772ae3690d060bd067b489cbbb72b24f5 (patch)
tree76e6da16c355d891ac09ff29a1feb604360bb15a /res/res_pjsip.c
parentadf32d11918fea837d1e12c526876b78ba4f6cb0 (diff)
pjsip: Added "reg_server" to contacts.
If the Asterisk system name is set in asterisk.conf, it will be stored into the "reg_server" field in the ps_contacts table to facilitate multi-server setups. ASTERISK-25931 Change-Id: Ia8f6bd2267809c78753b52bcf21835b9b59f4cb8
Diffstat (limited to 'res/res_pjsip.c')
-rw-r--r--res/res_pjsip.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/res/res_pjsip.c b/res/res_pjsip.c
index 6890e637b..db3395fa7 100644
--- a/res/res_pjsip.c
+++ b/res/res_pjsip.c
@@ -1112,6 +1112,12 @@
REGISTER requests and is not intended to be configured manually.
</para></description>
</configOption>
+ <configOption name="reg_server">
+ <synopsis>Asterisk Server name</synopsis>
+ <description><para>
+ Asterisk Server name on which SIP endpoint registered.
+ </para></description>
+ </configOption>
</configObject>
<configObject name="aor">
<synopsis>The configuration for a location of an endpoint</synopsis>