fixed carrier modification bugs
git-svn-id: svn://192.168.202.10@1056 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -878,8 +878,12 @@ if ( ($active_asterisk_server =~ /Y/) && ($generate_vicidial_conf =~ /Y/) && ($r
|
||||
if ($DB) {print "reloading asterisk\n";}
|
||||
`echo reload > /root/asterisk_command_reload`;
|
||||
`screen -XS asterisk readbuf /root/asterisk_command_reload`;
|
||||
|
||||
sleep(2);
|
||||
|
||||
`screen -XS asterisk paste .`;
|
||||
|
||||
sleep(10);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -10339,7 +10339,7 @@ if ($ADD==431111111111)
|
||||
{
|
||||
echo "<FONT FACE=\"ARIAL,HELVETICA\" COLOR=BLACK SIZE=2>";
|
||||
|
||||
if (strlen($template_name) < 1)
|
||||
if ( (strlen($template_id) < 1) or (strlen($template_name) < 1) )
|
||||
{echo "<br>CONF TEMPLATE NOT MODIFIED - Please go back and look at the data you entered\n";}
|
||||
else
|
||||
{
|
||||
@@ -10379,7 +10379,7 @@ if ($ADD==441111111111)
|
||||
{
|
||||
echo "<FONT FACE=\"ARIAL,HELVETICA\" COLOR=BLACK SIZE=2>";
|
||||
|
||||
if ( (strlen($carrier_id) < 1) or (strlen($server_ip) < 7) or (strlen($protocol) < 1) or (strlen($dialplan_entry) < 1) )
|
||||
if ( (strlen($carrier_id) < 1) or (strlen($server_ip) < 7) or (strlen($protocol) < 1) )
|
||||
{echo "<br>CARRIER NOT MODIFIED - Please go back and look at the data you entered\n";}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user