anchor.diff:  			       [FromIP, ToHost]),
   		    pstn;
   		true ->
  -		    logger:log(normal, "~s: pstnproxy: Denied request from ~s to ~s - not my problem", [LogTag, FromIP, ToHost]),
  +		    logger:log(normal, "~s: pstnproxy: Denied request from ~s to ~s - not my problem",
  +			       [LogTag, FromIP, ToHost]),
   		    transactionlayer:send_response_handler(THandler, 403, "Forbidden"),
   		    drop
   	    end
  
positive.code: 
  
  %%--------------------------------------------------------------------
  %% Function: localhostname(Hostname)
  %%           Hostname = string()
  %% Descrip.: Check if given hostname matches one of ours.
  %% Returns : true  |
  %%           false
  %%--------------------------------------------------------------------
  localhostname(Hostname) ->
      util:casegrep(Hostname, sipserver:get_env(myhostnames)).
  
  
  %%--------------------------------------------------------------------
  %% Function: pstngateway(Hostname)
  %%           Hostname = string()
  %% Descrip.: Check if given hostname matches one of our PSTN
  %%           gateways hostnames.
  %% Returns : true  |
  %%           false
  %%--------------------------------------------------------------------
  pstngateway(Hostname) ->
      util:casegrep(Hostname, sipserver:get_env(pstngatewaynames)).
  
  
  
negative.code: request_to_pstn(Request, Origin, THandler, LogTag) when is_record(Request, request), is_record(Origin, siporigin) ->
      {URI, Header} = {Request#request.uri, Request#request.header},
      {DstNumber, ToHost} = {URI#sipurl.user, URI#sipurl.host},
      %% XXX check port too, not just hostname? Maybe not since pstnproxy by definition
      %% should be running alone on a host.
      {NewURI, NewHeaders1} =
  	case is_localhostname(ToHost) of
  	    true ->
  		case local:lookuppstn(DstNumber) of
  		    {proxy, Dst} ->
  