[TCL] Cannot extract leg_outbound if there is no Connect message

Unanswered Question
Apr 26th, 2010
User Badges:

Hello All,

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.


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
ivelinivanov92 Tue, 04/27/2010 - 04:45
User Badges:


Thanks for the quick response!

Don't you reference the leg_incoming to play announcements, what is the relation to leg_outgoing in the scenario you mentioned?

paolo bevilacqua Tue, 04/27/2010 - 06:17
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    Founding Member

Yes, you cannot receive any announcement on outgoing call leg before connect.

ivelinivanov92 Wed, 04/28/2010 - 04:40
User Badges:

If I do understand correctly what exactly you mean, I am positive I've seen scenario like this:

A calls ---ISDN--> B (gateway) --VoIP--> C sends inbound announcements w/out connect and A hears it.

To be honest, I am still trying to figure out what does this have any common to my initial question.

paolo bevilacqua Wed, 04/28/2010 - 07:26
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    Founding Member

I have edited my answer above for clarity.

Hope you will be able to understand it now.

paolo bevilacqua Mon, 04/26/2010 - 13:15
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    Founding Member

Your observation is correct, there is no way and the consequence is that it's impossible to listen to messages before connecting.

It is a serious limitation for scripting, but to be very honest with you, I don't think that Cisco will accept to acknolewdge and change it.


This Discussion

Related Content