<p>The <strong>custom global variables</strong> are defined as <code>groupname.varname=value desc text</code>, where you can choose pretty much any groupname and varname (iirc, apart of some predefined keywords). The value must be either string (in between quotes) or integer (number).</p>
<p>Because listen or aliases can accept unquoted values, is because those are global core parameters with a specific syntax. To avoid having them swallow next lines, you can use <code>;</code> after their value, like:</p>
<pre><code>alias=myhostname.com;
</code></pre>
<p>It is a common practice to let global core parameters ended by end-of-line, because most of them are single value, but for some of them the value can span across lines, so you can use <code>;</code> to terminate it if you get a conflict with the next line.</p>
<p>So this is not an issue, but how some elements are defined.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/1779#issuecomment-449951671">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AF36ZeiccXtOHnYauuol7jlXeOV9aLvLks5u81oygaJpZM4ZgzVm">mute the thread</a>.<img src="https://github.com/notifications/beacon/AF36ZedGmqVvaM4vn9MnAI41Ot-WWl7Mks5u81oygaJpZM4ZgzVm.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/kamailio/kamailio","title":"kamailio/kamailio","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/kamailio/kamailio"}},"updates":{"snippets":[{"icon":"PERSON","message":"@miconda in #1779: The **custom global variables** are defined as `groupname.varname=value desc text`, where you can choose pretty much any groupname and varname (iirc, apart of some predefined keywords). The value must be either string (in between quotes) or integer (number).\r\n\r\nBecause listen or aliases can accept unquoted values, is because those are global core parameters with a specific syntax. To avoid having them swallow next lines, you can use `;` after their value, like:\r\n\r\n```\r\nalias=myhostname.com;\r\n```\r\nIt is a common practice to let global core parameters ended by end-of-line, because most of them are single value, but for some of them the value can span across lines, so you can use `;` to terminate it if you get a conflict with the next line.\r\n\r\nSo this is not an issue, but how some elements are defined."}],"action":{"name":"View Issue","url":"https://github.com/kamailio/kamailio/issues/1779#issuecomment-449951671"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/1779#issuecomment-449951671",
"url": "https://github.com/kamailio/kamailio/issues/1779#issuecomment-449951671",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>