[erlang-questions] Diameter Relay Agent
Ehsan Mohammadi
ehsan.tck@REDACTED
Mon Aug 15 10:59:00 CEST 2016
i need to access username to find dst peer and packet type/attrs for
logging purpose
when i pass DIAMETER_DICT_RELAY diameter doesn`t know anything about
CCA/CCR (it`s obvious)
and if i pass rfc4006 dict relay won`t work (i don`t know why)
On Mon, Aug 15, 2016 at 12:52 PM Anders Svensson <anders.otp@REDACTED>
wrote:
> If you mean that that you're looking for User-Name in an incoming
> message then you can find it in the avps field of the diameter_packet
> record. Just iterate through that list.
>
> Anders
>
>
> On Thu, Aug 11, 2016 at 9:43 PM, Ehsan Mohammadi <ehsan.tck@REDACTED>
> wrote:
> > hi
> > i`m working on a diameter relay agent app
> > i need to access User-Name AVP to find destination peer base on username.
> > i passed {'Auth-Application-Id', [?DIAMETER_APP_ID_RELAY]} and
> {dictionary,
> > ?DIAMETER_DICT_RELAY} to start_service and my packet is undefined and
> can`t
> > access it`s avp(tried on CCR/CCA).
> > i had to use bin property of packet and pass it to diameter:decode.
> > what`s correct solution to overcome this problem?
> >
> > _______________________________________________
> > erlang-questions mailing list
> > erlang-questions@REDACTED
> > http://erlang.org/mailman/listinfo/erlang-questions
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160815/b5db4e28/attachment.htm>
More information about the erlang-questions
mailing list