init asterisk source and state