Hi, in order to not apply RtpPrxy if the called is an Asterisk (that
supports "comedia") I load "usr_preferences" table looking for
"pbx_comedia"
attribute for called domain.
If it's, then it's created a avp:
avp(s:pbx_comedia)="yes".
But when I try to test this AVP in the "on_reply_route" (to not apply
RtpProxy) this AVP has null value.
In fact it's easy to see:
------------------------------------------------------
route[3] { ; INVITE route
$avp(s:test)="hello";
...
route(1);
}
onreply_route[1] {
xlog("L_INFO","----- avp(s:test) = $avp(s:test) ------\n");
}
------------------------------------------------------
The xlog of onreply_route shows:
----- avp(s_test) = null -----
is it normal? aren't AVP's transaction aware?
Thanks.
--
Iñaki Baz Castillo
ibc(a)in.ilimit.es