|
From: Regev O. <Ofe...@co...> - 2012-04-18 05:03:34
|
Unfortunately I can't use this feature because we build the scenario dynamically using some automatic tool and we never know how many CCR or branches there are until the end. Is there any change there's some way to tell seagull to go to the abort section? Ofer Regev MIH QA Global Products & Operations Comverse - Making Your Network Smarter T +972-3-6452420 M +972-50-6839397 Ofe...@co... <mailto:Ofe...@co...> www.comverse.com<http://www.comverse.com/> P Please think of the environment before printing this email From: Filipe Alexandre Leitão [mailto:fil...@pt...] Sent: Tuesday, April 17, 2012 5:47 PM To: Regev Ofer Cc: gul...@li... Subject: RE: Exit code in seagull and abort session in diameter Hi Regev, You can do it with the branching feature: <!-- ## CCA-Gy - Update Answer Gy ## --> <receive channel="channel-Gy"> <action> <stop-timer></stop-timer> </action> <command name="CCA-Gy"> <avp name="Result-Code" value="2001"> </avp> <!-- Command Result-Code --> <avp name="Multiple-Services-Credit-Control"> <!-- MSCC (Service) Result-Code --> <avp name="Result-Code" value="2001"> </avp> </avp> </command> <action> <!-- Branch if != 2001 --> <check-value name="Result-Code" occurence="1" behaviour="error" branch_on="5003" look_ahead="5"></check-value> <!-- LOOK AHEAD TILL TERMINATION --> </action> </receive> Unfortunately it is not working for Diameter scenarios if you use the standard release. Check my mail attachment with some instructions given previously in this forum about how to do it work. Cheers, Filipe From: Regev Ofer [mailto:Ofe...@co...] Sent: terça-feira, 17 de Abril de 2012 14:27 To: gul...@li... Subject: [Seagull-users] Exit code in seagull and abort session in diameter Hi all, Is there a way to run some scenario and check values of AVP's, and if it fails, to run another command? My problem is that when my sessions exits when an error occurs (avp value is wrong), our server doesn't reply to the next session, since it's the same session id, so I need to send CCR-T (termination) to clean the session. I need either to send CCR-T when an error occurs (abort section doesn't do that when the error is with a check-value action) or use warning behavior, but when I use warning, I have no way of knowing if the session had a problem with exit code check. Any ideas? Thanks, Ofer Regev MIH QA Global Products & Operations Comverse - Making Your Network Smarter T +972-3-6452420 M +972-50-6839397 Ofe...@co... <mailto:Ofe...@co...> www.comverse.com<http://www.comverse.com/> P Please think of the environment before printing this email ________________________________ "This e-mail message may contain confidential, commercial or privileged information that constitutes proprietary information of Comverse Technology or its subsidiaries. If you are not the intended recipient of this message, you are hereby notified that any review, use or distribution of this information is absolutely prohibited and we request that you delete all copies and contact us by e-mailing to: sec...@co...<mailto:sec...@co...>. Thank You." ________________________________ "This e-mail message may contain confidential, commercial or privileged information that constitutes proprietary information of Comverse Technology or its subsidiaries. If you are not the intended recipient of this message, you are hereby notified that any review, use or distribution of this information is absolutely prohibited and we request that you delete all copies and contact us by e-mailing to: sec...@co...<mailto:sec...@co...>. Thank You." ________________________________ "This e-mail message may contain confidential, commercial or privileged information that constitutes proprietary information of Comverse Technology or its subsidiaries. If you are not the intended recipient of this message, you are hereby notified that any review, use or distribution of this information is absolutely prohibited and we request that you delete all copies and contact us by e-mailing to: sec...@co.... Thank You." |