anchor.diff:  	      io_lib:format("~p", [now()])
   	     ]),
       mnesia:start(),
  -    [MnesiaTables, stateful, AppSupdata] = apply(AppModule, init, []),
  +    [MnesiaTables, stateful, AppSupdata] = AppModule:init(),
       ok = init_statistics(),
       case sipserver_sup:start_link(AppModule) of
   	{ok, Supervisor} ->
  +	    local:init(),
   	    logger:log(debug, "starting, supervisor is ~p", [Supervisor]),
   	    case siphost:myip() of
   		"127.0.0.1" ->
  
positive.code: %%
  %%--------------------------------------------------------------------
  
  -module(sipserver).
  %%-compile(export_all).
  
  
negative.code: 	 stop/0,
  	 restart/0,
  	 process/3,
  
  	 %% XXX should move these to some utility module
  	 safe_spawn_fun/2,
  	 safe_spawn/3,
  	 origin2str/1,
  