my $msg = $self->{message};
$msg->{to} = $attrs{'to'};
- $msg->{from} = $attrs{router_from} if $attrs{router_from};
- $msg->{from} = $attrs{from} unless $msg->{from};
+ $msg->{from} = $attrs{from};
+
+ } elsif($name eq 'opensrf') {
+
+ # These will be authoritative if they exist
+ my $msg = $self->{message};
+ $msg->{from} = $attrs{router_from};
$msg->{osrf_xid} = $attrs{'osrf_xid'};
$msg->{type} = $attrs{type};