Hi,
In next example $avp(test)=null in onreply_route.
...
loadmodule tm
...
request_route {
...
$avp(test)='test';
...
t_relay();
...
}
onreply_route {
log(L_DEBUG,onreply_route: $$avp(test)=$avp(test)\n;
}
But, if add t_on_reply:
...
loadmodule tm
...
request_route {
...
Hello,
the default reply route is executed by the core, before any matching for
transaction. Therefore, the list of avps for transaction is not known
yet at that point.
You have to set a tm onreply_route and there you will have the avps.
Cheers,
Daniel
On 26/05/14 09:41, Seudin Kasumovic