Browse Source

user->username

Jiri Kuthan 22 years ago
parent
commit
9b139560e3
1 changed files with 2 additions and 2 deletions
  1. 2 2
      examples/exec_s5b.cfg

+ 2 - 2
examples/exec_s5b.cfg

@@ -52,7 +52,7 @@ route[1] {
 	# an email notification to him
      	if (!exec_msg('
 		QUERY="select email_address from subscriber 
-			where user=\"$SIP_OUSER\"";
+			where username=\"$SIP_OUSER\"";
 		EMAIL=`mysql  -Bsuser -pheslo -e "$QUERY" ser`;
 		if [ -z "$EMAIL" ] ; then exit 1; fi ;
 		echo "SIP request received from $SIP_HF_FROM for $SIP_OUSER" |
@@ -71,7 +71,7 @@ failure_route[1] {
 	# just call exec, that's it
    	exec_msg('
 		QUERY="select email_address from subscriber 
-			where user=\"$SIP_OUSER\"";
+			where username=\"$SIP_OUSER\"";
 		EMAIL=`mysql  -Bsuser -pheslo -e "$QUERY" ser`;
 		if [ -z "$EMAIL" ] ; then exit 1; fi ;
 		echo "SIP request received from $SIP_HF_FROM for $SIP_OUSER" |