The two values are then replaced in the SQL statement with ${ARG1} and ${ARG2 } OK, let's finish writing the pattern-match extension now: exten => _110[1-5],n login,1) After assigning the value of the status column to the ${ E }_STATUS .