Difference between revisions of "Fusionpbx-bot"

From FusionPBX
Jump to: navigation, search
(FusionPBX revision commands)
 
(8 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
As of 2011-02-03 it is still in setup/programming/etc.
 
As of 2011-02-03 it is still in setup/programming/etc.
  
*It should be displaying the SVN updates
+
==Features==
 +
When SVN updates occur, the bot will provide an update to the IRC channel of the change.  You can also find out the current revision using the ~latest command (see below).
  
 +
==Bot command list==
 
The working/planned commands include:
 
The working/planned commands include:
  
Line 13: Line 15:
  
 
'''All other commands must be prefixed with either an ! or a ~''' [optional] means optional. All can also be used embedded, as explained above.
 
'''All other commands must be prefixed with either an ! or a ~''' [optional] means optional. All can also be used embedded, as explained above.
 +
===General information commands===
 
*'''~bot''' - ''Read about the bot here: http://wiki.fusionpbx.com/index.php?title=Fusionpbx-bot''
 
*'''~bot''' - ''Read about the bot here: http://wiki.fusionpbx.com/index.php?title=Fusionpbx-bot''
*'''~later tell <nick> <text>''' - Tells the <nick> whatever <text> is. Use ~notes to see waiting notes.
 
*'''~latest''' - ''Latest SVN update is Revision ...''
 
 
*'''~ask [$name]''' - ''@1 Please ask your question and someone will notice and see if they can help you. Please don't ask if you can ask, or ask if there's an expert in a particular thing, just ask your question.''
 
*'''~ask [$name]''' - ''@1 Please ask your question and someone will notice and see if they can help you. Please don't ask if you can ask, or ask if there's an expert in a particular thing, just ask your question.''
 
*'''~wiki [$name]''' ''@1 find the wiki at http://wiki.fusionpbx.com''
 
*'''~wiki [$name]''' ''@1 find the wiki at http://wiki.fusionpbx.com''
 
*'''~fswiki [$search_term [$name]]''' ''@2 Please check the FreeSWITCH wiki at http://wiki.freeswitch.org/wiki/Special:Search?search=@1&go=Go'' if the term has a space, put it in quotes.
 
*'''~fswiki [$search_term [$name]]''' ''@2 Please check the FreeSWITCH wiki at http://wiki.freeswitch.org/wiki/Special:Search?search=@1&go=Go'' if the term has a space, put it in quotes.
 
*'''~pb [$name]''' ''@1 Please don't paste multiple lines here. Instead, please use http://fusionpbx.pastebin.com''
 
*'''~pb [$name]''' ''@1 Please don't paste multiple lines here. Instead, please use http://fusionpbx.pastebin.com''
*'''~svn-r $revision [$name]''' ''@2 http://code.google.com/p/fusionpbx/source/detail?r=$1''
 
*'''~svn_r $revision [$name]''' ''@2 http://code.google.com/p/fusionpbx/source/detail?r=$1''
 
*'''~svn [$name]''' ''@1 Find the SVN and checkout details here: http://code.google.com/p/fusionpbx/source/checkout''
 
*
 
 
*'''~whatis wikilog''' ''find the recent wiki changes at: http://wiki.fusionpbx.com/index.php?title=Special:RecentChanges''
 
*'''~whatis wikilog''' ''find the recent wiki changes at: http://wiki.fusionpbx.com/index.php?title=Special:RecentChanges''
 
*'''~whatis feature codes''' ''http://wiki.fusionpbx.com/index.php?title=Feature_Codes''
 
*'''~whatis feature codes''' ''http://wiki.fusionpbx.com/index.php?title=Feature_Codes''
Line 30: Line 27:
 
*'''~whatis fs vs *''' ''Read this informative story about why FreeSWITCH was created: http://www.freeswitch.org/node/117''
 
*'''~whatis fs vs *''' ''Read this informative story about why FreeSWITCH was created: http://www.freeswitch.org/node/117''
 
*'''~whatis ubuntuperm''' ''ubuntuperm could be Please see http://wiki.fusionpbx.com/index.php?title=Easy_Ubuntu_10.04_Old_Script_Versions#Error.''
 
*'''~whatis ubuntuperm''' ''ubuntuperm could be Please see http://wiki.fusionpbx.com/index.php?title=Easy_Ubuntu_10.04_Old_Script_Versions#Error.''
 +
*'''~google calc [$expression]''' ''looks up expression returned by google calc''
 +
*'''~g or ~lookup [$search-term]''' ''http://www.lmgtfy.com/?q=[$search-term]
 +
*'''~thanks''' ''if you want to thank fusionpbx-bot for its help then this is the command to use''
 +
 +
===Debugging===
 +
*'''~log7''' ''It's ALL in the /log 7!!!!''
 +
*'''~trace''' ''More information is good. Please show us a log from the fs_cli on /log 7 that replicates the error. You can paste it on: http://fusionpbx.pastebin.com''
 +
*'''~upstream''' ''This sounds like a generic FreeSWITCH question, and you may be better/faster answered upstream at #freeswitch''
 +
 +
===Time Commands===
 +
*'''~time-mcrane''' '' Local time is YYY''
 +
*'''~time-in [$timezone]'''  '' Local time in $timezone is YYY''
 +
*'''~time-help''' ''To see the time for a given time zone, type ~time-in followed by the Country/Area as per http://en.wikipedia.org/wiki/List_of_tz_database_time_zones'' - Note that the timezone is case sensitive
 +
 +
===Messaging commands===
 +
*'''~later tell <nick> <text>''' - Tells the <nick> whatever <text> is the next time the bot sees them online.
 +
*'''~notes''' - to see waiting notes.
 +
 +
===FusionPBX revision commands===
 +
*'''~issues''' - To see the latest Google code issue update
 +
*'''~latest''' - ''Latest SVN update is Revision ...''
 +
*'''~svn-r $revision [$name]''' ''@2 http://code.google.com/p/fusionpbx/source/detail?r=$1''
 +
*'''~svn_r $revision [$name]''' ''@2 http://code.google.com/p/fusionpbx/source/detail?r=$1''
 +
*'''~svn [$name]''' ''@1 Find the SVN and checkout details here: http://code.google.com/p/fusionpbx/source/checkout''
  
''Private mode''
+
==Private mode==
If you would like to chat privately with the bot rather than doing it in the channel you can switch into private mode by using the command ~notes. The bot will open up a PM with you and you can continue talking with it there.
+
If you would rather not clutter the channel, you can private message the bot. You do not need to prefix commands with a "~".

Latest revision as of 16:24, 20 June 2011

The fusionpbx-bot is run by AviMarcus via a london VPS.

As of 2011-02-03 it is still in setup/programming/etc.

Features

When SVN updates occur, the bot will provide an update to the IRC channel of the change. You can also find out the current revision using the ~latest command (see below).

Bot command list

The working/planned commands include:

  • "s/find/replace/" to fix your own words
  • inline: write a line with ,,command to run the command
  • inline with args: write ,,(fswiki HA John) to give highlight john with direct link to the freeswitch like for searching for HA


All other commands must be prefixed with either an ! or a ~ [optional] means optional. All can also be used embedded, as explained above.

General information commands

Debugging

  • ~log7 It's ALL in the /log 7!!!!
  • ~trace More information is good. Please show us a log from the fs_cli on /log 7 that replicates the error. You can paste it on: http://fusionpbx.pastebin.com
  • ~upstream This sounds like a generic FreeSWITCH question, and you may be better/faster answered upstream at #freeswitch

Time Commands

Messaging commands

  • ~later tell <nick> <text> - Tells the <nick> whatever <text> is the next time the bot sees them online.
  • ~notes - to see waiting notes.

FusionPBX revision commands

Private mode

If you would rather not clutter the channel, you can private message the bot. You do not need to prefix commands with a "~".