Browse Source

- FL_PERMANENT is used instead of a fixed expires value

Jan Janak 21 years ago
parent
commit
2974e79043
1 changed files with 1 additions and 5 deletions
  1. 1 5
      scripts/sc

+ 1 - 5
scripts/sc

@@ -65,10 +65,6 @@ LAST_LINE='tail -1'
 VERIFY_ACL=1
 ACL_GROUPS="local ld int voicemail free-pstn prepaid"
 
-# expiration time for alias table
-FOREVER='2020-05-28 21:32:15'
-FOREVER_REL=1003741823
-
 VERSION='$Revision$'
 #### SQL names
 
@@ -444,7 +440,7 @@ usrloc() {
 
 			check_alias "$SERUSER@$SERDOMAIN"
 
-			fifo_cmd ul_add "$USRLOC_TABLE" "$SERUSER@$SERDOMAIN" "$2" "$FOREVER_REL" "1.00" "0"
+			fifo_cmd ul_add "$USRLOC_TABLE" "$SERUSER@$SERDOMAIN" "$2" "0" "1.00" "0" "1"
 			exit $?
 			;;
 		rm)