From c74b1c4a46c71bd3b258477ca4bf1b5d39c5095e Mon Sep 17 00:00:00 2001 From: Anders Svensson Date: Thu, 13 Apr 2017 10:26:36 +0200 Subject: Let candidate peers be passed to diameter:call/4 To solve the problem of being able to send messages to a peer that hasn't advertised support for the application in question, as discussed in the parent commit. diameter:call/4 can be passed 'peer' options to identify candidates, and the only requirement is that an appropriate dictionary be configured for encode. Filters are applied as if candidates had been selected by advertised application. --- lib/diameter/doc/src/diameter.xml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'lib/diameter/doc') diff --git a/lib/diameter/doc/src/diameter.xml b/lib/diameter/doc/src/diameter.xml index 72181a42b0..2cbe48ecce 100644 --- a/lib/diameter/doc/src/diameter.xml +++ b/lib/diameter/doc/src/diameter.xml @@ -21,7 +21,7 @@ 2011 -2016 +2017 Ericsson AB. All Rights Reserved. @@ -300,6 +300,17 @@ corresponding list of filters. Defaults to none.

+{peer, &app_peer_ref;} + +

+Peer to which the request in question can be sent, preempting the +selection of peers having advertised support for the Diameter +application in question. +Multiple options can be specified, and their order is +respected in the candidate lists passed to a subsequent +&app_pick_peer; callback.

+
+ {timeout, &dict_Unsigned32;}

-- cgit v1.2.3