jabberd2  2.3.3
Functions
pbx_commands.c File Reference

PBX integration commands interpreter. More...

#include "c2s.h"

Go to the source code of this file.

Functions

static int _pbx_command_part_len (const char *cmd)
 Available commands: START jid/resource [[priority ]status] [description] - opens PBX resource session STOP jid/resource [description] - closes PBX resource session STATUS - dumps list of currently open PBX sessions. More...
 
static nad_t _pbx_presence_nad (int available, const char *cmd)
 
int _pbx_process_command (c2s_t c2s, const char *cmd)
 process commandline More...
 

Detailed Description

PBX integration commands interpreter.

Author
Tomasz Sterna $Date$ $Revision$

Definition in file pbx_commands.c.

Function Documentation

static int _pbx_command_part_len ( const char *  cmd)
static

Available commands: START jid/resource [[priority ]status] [description] - opens PBX resource session STOP jid/resource [description] - closes PBX resource session STATUS - dumps list of currently open PBX sessions.

[status] in: CHAT, ONLINE, DND, AWAY, XA

Definition at line 39 of file pbx_commands.c.

Referenced by _pbx_process_command().

static nad_t _pbx_presence_nad ( int  available,
const char *  cmd 
)
static
int _pbx_process_command ( c2s_t  c2s,
const char *  cmd 
)