def add_origin_host_and_realm(host, realm)
      @avps << AVP.create("Origin-Host", host) unless has_avp? 'Origin-Host'
      @avps << AVP.create("Origin-Realm", realm) unless has_avp? 'Origin-Realm'
    end
def add_origin_host_and_realm(host, realm)
      @avps << AVP.create("Origin-Host", host) unless has_avp? 'Origin-Host'
      @avps << AVP.create("Origin-Realm", realm) unless has_avp? 'Origin-Realm'
    end
@private

 Not recommended for normal use - all AVPs should be given to the
 constructor. Used to allow the stack to add appropriate
 Origin-Host/Origin-Realm AVPs to outbound messages.

 @param host [String] The Diameter Identity for the stack.
 @param realm [String] The Diameter realm for the stack.