[SR-Users] Diameter AVP handling from kamaiio.cfg

Zoltán Miricz zoltan.miricz at gmail.com
Fri Jan 6 18:47:20 CET 2017


Hi,

Is somebody ever tried to manipulate and retrieve AVP variables from the
Sent/Received Diameter Messages via Config file?
Thank you very much in advance!

*Cheers,*
*Zoltan*

On 4 January 2017 at 20:37, Zoltán Miricz <zoltan.miricz at gmail.com> wrote:

>
> Dear All,
>
> I'm wondering is it possible to catch Diameter Messages and their AVP
> values from kamailio.cfg just like for SIP messages? (Using pseudo
> variables)
>
> I looked into this function from the attached S-CSCF example.
>
> route[REG_MAR_REPLY]
> {
>
> #this is async so to know status we have to check the reply avp
>
> xlog("L_DBG","maa_return code is *$avp(s:maa_return_code)*\n");
>
> Sadly it gives back only 1, -1, -2. (which is based on cxdx_mar.c the rc)
> What I mainly looking for is the EXPERIMENTAL_RESULT (experimental_rc) and
> some different AVP values besides.
>
>
> Thank you very much in advance!
>
> *Cheers,*
> *Zoltan*
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20170106/a23c2991/attachment.html>


More information about the sr-users mailing list