Summary: | ASTERISK-07864: [patch] Make a test call from the CLI, have a report written in the CLI and log directory | ||
Reporter: | roger leszczynski (synthetic) | Labels: | |
Date Opened: | 2006-10-03 10:17:05 | Date Closed: | 2011-06-07 14:03:21 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Applications/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) 1khz-ast.wav ( 1) app_analyze.c | |
Description: | asterisk app_analyze , use it to make a call from the cli, and have a report written in the CLI and log directory. The report is of the media stream quality. Great for use with cronjob bash/perl scripts to give timely reports. (I use it to test with an session boreder controller to see if the media stream hasn't failed) ****** ADDITIONAL INFORMATION ****** On remote server/sbc, with the targeted extension route the call back to the orignating server with extension asterisk*app*analyze =-=-=Call Test Send box 10.0.0.2: CLI> analyze SIP/777@test-target sip.conf; [test-target] context=testing host=10.0.0.1 =-=-=Call Test Recv & send back box 10.0.0.1: sip.conf [test-server] context=incoming host=10.0.0.2 extensions.conf [incoming] exten => 777,1,Dial(SIP/asterisk*app*analyze@test-server And just wait for the CLI to spit the values back to you. | ||
Comments: | By: Serge Vecher (serge-v) 2006-10-03 12:03:51 cool: this is actually a new feature, so it's up for consideration to trunk, not 1.4-beta. Thanks for the patch! By: jmls (jmls) 2006-11-02 12:06:08.000-0600 ping. housekeeping. By: roger leszczynski (synthetic) 2006-11-27 07:37:02.000-0600 1khz-ast.wav need to be put in /var/lib/asterisk/sounds/ By: jmls (jmls) 2007-02-11 03:40:06.000-0600 ping. housekeeping. By: Olle Johansson (oej) 2007-02-11 12:31:17.000-0600 Please update code so it follows the coding guidelines. If possible, remove the copyright notice from the help text, we're trying to keep that stuff in the source and give credits in CREDITS instead. It would make ASterisk very cluttered if everyone added their signature everywhere. I hope you understand. Thanks for contributing to Asterisk! By: Clod Patry (junky) 2007-02-13 12:28:52.000-0600 Like ya said in ur comment, it does the same stuff as app_test, but you're calling from CLI and app_test is via dialplan, whatcha about calling app_test too from the CLI? that will prevent duplicated code. By: roger leszczynski (synthetic) 2007-02-13 13:36:56.000-0600 oej: I cannot delete the file in order to upload the update with credit removed from help text. Junky: I rather not call app test, because i simply call ast_context_create and ast_add_extension function, which only takes 3 lines, rather than going through all of the code in app_test By: Clod Patry (junky) 2007-02-13 13:38:53.000-0600 just use the code form the app_test? which files do ya want to delete? By: Serge Vecher (serge-v) 2007-03-07 11:55:44.000-0600 synthentic, go ahead and upload the new patch. By: roger leszczynski (synthetic) 2007-03-07 13:50:30.000-0600 credits removed from help text By: Olle Johansson (oej) 2007-05-15 15:13:58 The code formatting still needs an overview to comply with the coding guidelines. Would it be a good idea to merge this with app_test to make sure we don't duplicate code? Add a CLI and merge functionality? By: Leif Madsen (lmadsen) 2007-10-31 11:15:34 synthetic: Would you mind signing the license agreement for this code? There should be a link at the top of the bug tracker page where you can do it all in just a couple minutes. Thanks! By: Jason Parker (jparker) 2007-12-26 14:56:01.000-0600 Closing per comments from junky, oej, and blitzrage. It wasn't meant to be.. |