Summary:ASTERISK-02894: app_runexten - Run a give extension from CLI
Reporter:cybershield (cybershield)Labels:
Date Opened:2004-11-26 14:30:14.000-0600Date Closed:2011-06-07 14:04:56
Versions:Frequency of
Environment:Attachments:( 0) app_runexten.c
( 1) asterisk.diff
Description:It is allows to execute from CLI one extension without having an associate active channel. An example of this application is: exec one script if a group of calls is a smallers of a value.


A extensions is exec throught the command 'run extension <context>'. Go to <context> with extension 'h' and priority 1.
Comments:By: Clod Patry (junky) 2004-11-26 23:00:25.000-0600

hi there,
I'm not sure to get it right, can ya provide more informations about this application please? I'm not sure to get the real goal of that application and what/why it should be ported in asterisk exactly. I'm sure a lot of people in here would like to see any utilisation of that app.

And i dont think its a good idea (at this moment) to change the Makefile to supports your application.

You can install/load it via the astxs (thanks to anthm for that great utility)
eg.  # astxs app_runexten.c -install -autoload

By the way, there's a lot of work in there, congrats for your great job.

By: twisted (twisted) 2004-11-28 02:25:42.000-0600

Could this not be handled by an oss channel driver?

If you don't have a soundcard, you can rm -f /dev/dsp && ln -s /dev/null /dev/dsp and use chan_oss.  Then you can use dial from the cli to accomplish the same thing.  (I've done this, it works.)

By: cybershield (cybershield) 2004-11-28 02:31:04.000-0600

yes twisted !!! It is the same thing.

By: Clod Patry (junky) 2004-11-28 06:25:14.000-0600

If it's the same thing, can we close this bug?

By: twisted (twisted) 2004-11-29 12:53:56.000-0600

Since this has been admitted to be the same thing, and, as I for one am not a big fan of attempting to execute extensions without a channel, I'm going to go ahead and close this out.