|
@@ -331,7 +331,7 @@ if $ARGS[0] = 'IncomingCheck':
|
|
|
!! right now allow every 60 minutes
|
|
|
if telefIncCheck['NewTotalMinutes'] - telefon['LastIncCallCheck'] > 60 and (menu_off = 0 and phone_off = 0 or phone_on = 1):
|
|
|
telefon['LastIncCallCheck'] = telefIncCheck['NewTotalMinutes']
|
|
|
- gs 'telefon','IncomingCallChooser'
|
|
|
+ gs 'telefon', 'IncomingCallChooser'
|
|
|
end
|
|
|
|
|
|
killvar 'telefIncCheck'
|
|
@@ -345,7 +345,7 @@ if $ARGS[0] = 'IncomingCallChooser':
|
|
|
:telefonIncLoop1
|
|
|
if telefon_i < arrsize('$contact'):
|
|
|
if $contactICode[telefon_i] ! "":
|
|
|
- if dyneval('result = iif(<<$contactISche[telefon_i]>>, 1, 0)') = 1:
|
|
|
+ if dyneval('result = (<<$contactISche[telefon_i]>>)'):
|
|
|
telefon_j = arrsize('$telefIncCall')
|
|
|
if contactAnon[telefon_i] = 1:
|
|
|
$telefIncIcon[telefon_j] = "images/system/phone/decline.png"
|
|
@@ -390,7 +390,7 @@ if $ARGS[0] = 'IncomingCall':
|
|
|
$telefonIncC['Name'] = $ARGS[2]
|
|
|
$telefonIncC['Code'] = $ARGS[3]
|
|
|
|
|
|
- PLAY 'sound/old_phone.mp3',30
|
|
|
+ PLAY 'sound/old_phone.mp3', 30
|
|
|
$telefon['body'] = '
|
|
|
<font size=6><<$telefonIncC["Name"]>> calling</font><br>
|
|
|
<img width="200" src="<<$telefonIncC["Icon"]>>"><br>
|