Custom Feature Code which runs Asterisk CLI?

Suthern

Joined
Nov 20, 2009
Messages
17
Likes
0
Points
0
#1
I'm done a little bit of search, but admittedly not much on this topic.

Is there a way to set up a custom 'feature code' that when dialed, would run
Code:
asterisk -rx "DATABASE PUT CF 200 300"
I would use the day/night mode, but it only allows 9 options and I need 12. :)

Thanks!
-Suthern
 

Suthern

Joined
Nov 20, 2009
Messages
17
Likes
0
Points
0
#2
What I've done to solve this particular issue is put into extensions_custom.conf
Code:
exten => 9971,1,Set(DB(CF/329)=305) ;a1 to Julie
exten => 9971,2,Playback(custom/Thnx_calls_fwrded)
exten => 9971,3,Hangup()
Then I set up a MISC Destination that dials 9971.

Then I setup an IVR which dials that MISC Destination. :) Most likely not the BEST setup, but it does work good and is simple to use!
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,902
Messages
130,886
Members
17,563
Latest member
dineshr
Top