Browse code

show callid with 'show' too

Jiri Kuthan authored on 15/07/2002 10:59:50
Showing 1 changed files
... ...
@@ -31,6 +31,7 @@ ACL_GROUPS="local ld int"
31 31
 # Usr Loc Table
32 32
 USRLOC=location
33 33
 USER_COLUMN=user
34
+CALLID_COLUMN=callid
34 35
 
35 36
 # subscriber table
36 37
 TABLE=subscriber
... ...
@@ -411,7 +412,7 @@ case $1 in
411 412
 			$TABLE.$SUBSCRIBER_COLUMN='$1'"
412 413
 		QUERY2="select $USRLOC.* from $USRLOC where \
413 414
 			$USRLOC.$USER_COLUMN='$1' order by expires desc"
414
-		QUERY3="select $USRLOC.$USER_COLUMN, $TABLE.$EMAIL_COLUMN \
415
+		QUERY3="select $USRLOC.$USER_COLUMN, $TABLE.$EMAIL_COLUMN, $USRLOC.$CALLID_COLUMN \
415 416
 			from $TABLE, $USRLOC where  \
416 417
 			$TABLE.$SUBSCRIBER_COLUMN=$USRLOC.$USER_COLUMN" 
417 418