Really appreciate your time.
I am trying to add additional VSA to Radius accounting messages, more specifically to Stop record onto the outbound VoIP leg using "aaa accounting update leg_outgoing etc..."
The issue I face is that if there is no CONNECT message i.e. the other party was not there for example, it seems there is no way to get the leg_outgoing ID which I need to reference into the "aaa accounting update" command. I tried getting the leg_outbound at different places - right after "leg setup" command or right after receiving the ev_disconnected event with no luck. Still, for the same zero duration voice call, there can be seen both legs with different IDs assigned into the call history voice table.
On the other hand, if call proceeds normal with CONNECT message exchanged, leg_outbound is assigned correct after the ev_setup_done event kicks in.
Any thoughts will be greatly appreciated.