Good Evening, i'm having a really strange issue using handoff to pass a call leg from a voice application to another one.
My platform is Cisco 2851 with 15.1(4)M10 IOS.
My test uses 3 voice applications:
- handoff : the primary scripts that sends the leg to another one;
- testapp : a generic application used to connect my call to a Directory Number;
- secondaryapp : another application with different media and a slightly different behavior from testapp.
Handoff check using a web page (httpios) which application to use for the handoff command.
The first time i handoff the call to testapp everything is fine, if the next call should be handed off to sencondary app it executes testapp, the second time it works fine.
Using debug on tclcommands i determine that the router is using the wrong application by the FSM definitions, but the handoff call is right.
The handoff call says:
//222//TCL :/tcl_handoff_common: Handing off Legs [222 ] to secondaryapp with args=application:secondaryapp
but the FSM Data structure i see in the linking part is the one of testapp.
I think i'm missing something, but i don't know what.
Any help will be appreciated.
I solved my issue the router was loading the scripts via http, and due to a wrong call sometimes the web server returned the wrong script to the router. Now it's working perfectly.