mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Support sip_port value of 0
Change empty to !isset to account for sip_port that can be set to 0.
This commit is contained in:
@@ -804,7 +804,7 @@
|
||||
//set defaults
|
||||
if (empty($register_expires)) { $register_expires = "120"; }
|
||||
if (empty($sip_transport)) { $sip_transport = "tcp"; }
|
||||
if (empty($sip_port)) {
|
||||
if (!isset($sip_port)) {
|
||||
if ($line_number == "" || $line_number == "1") {
|
||||
$sip_port = "5060";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user