anchor.diff:  				  Loc;
   			      _ ->
   				  %% Parse configured sipproxy but exchange user with user from Request-URI
  -				  case sipurl:parse_url_with_default_protocol("sip", sipserver:get_env(sipproxy, none)) of
  -				      ProxyURL when record(ProxyURL, sipurl) ->
  +				  DefaultProxy = sipserver:get_env(sipproxy, none),
  +				  case sipurl:parse_url_with_default_protocol("sip", DefaultProxy) of
  +				      ProxyURL when is_record(ProxyURL, sipurl) ->
   					  ProxyURL#sipurl{user=User, pass=none};
   				      none ->
   					  %% No ENUM and no SIP-proxy configured, return failure so
  
positive.code: %%           one and make it so.
  %% Returns : Does not matter
  %%--------------------------------------------------------------------
  toPSTNrequest(Request, Origin, THandler, LogTag) when record(Request, request), record(Origin, siporigin) ->
      {Method, URI, Header} = {Request#request.method, Request#request.uri, Request#request.header},
      {DstNumber, ToHost} = {URI#sipurl.user, URI#sipurl.host},
      %% XXX check port to, not just hostname? Maybe not since pstnproxy by definition
  
negative.code: %% Returns : [Tables, Mode, SupData]
  %%           Tables  = list() of atom(), remote mnesia tables the Yxa
  %%                     startup sequence should make sure are available
  %%           Mode    = stateful
  %%           SupData = {append, SupSpec} |
  %%                     none
  %%           SupSpec = OTP supervisor child specification. Extra
  