Kannel: Open Source WAP and SMS gateway
svn-r5336
|
#include <errno.h>
#include <unistd.h>
#include <signal.h>
#include <string.h>
#include <math.h>
#include "gwlib/gwlib.h"
#include "gw/msg.h"
#include "gw/shared.h"
#include "gw/bb.h"
#include "gw/smsc/smpp_pdu.h"
#include "gw/sms.h"
#include "gw/dlr.h"
#include "gw/heartbeat.h"
#include "gw/meta_data.h"
#include "gw/bb_store.h"
#include "../sb-config.h"
#include "opensmppbox-cfg.def"
Go to the source code of this file.
Data Structures | |
struct | _boxc |
Macros | |
#define | SMPP_DEAD 0 |
#define | SMPP_SHUTDOWN 1 |
#define | SMPP_RUNNING 2 |
#define | TIMEOUT_SECONDS 300 |
#define | DEBUG 1 |
#define | dump_pdu(msg, id, pdu) |
#define | OCTSTR(name) |
#define | SINGLE_GROUP(name, fields) |
#define | MULTI_GROUP(name, fields) |
#define | OCTSTR(name) |
#define | SINGLE_GROUP(name, fields) |
#define | MULTI_GROUP(name, fields) |
Typedefs | |
typedef struct _boxc | Boxc |
Enumerations | |
enum | smpp_login { SMPP_LOGIN_NOTLOGGEDIN, SMPP_LOGIN_TRANSMITTER, SMPP_LOGIN_RECEIVER, SMPP_LOGIN_TRANSCEIVER } |
Functions | |
void | smpp_pdu_destroy_item (void *pdu) |
static Octstr * | boxc_route_msg_to_smsc (Boxc *box, Msg *msg) |
int | check_login (Boxc *boxc, Octstr *system_id, Octstr *password, Octstr *system_type, smpp_login login_type) |
static int | timestamp_to_minutes (Octstr *timestamp) |
static int | send_msg (Connection *conn, Boxc *boxconn, Msg *pmsg) |
static void | identify_to_bearerbox (Boxc *conn) |
static Msg * | read_from_box (Connection *conn, Boxc *boxconn) |
Msg * | catenate_msg (List *list, int total) |
static long | convert_addr_from_pdu (Octstr *id, Octstr *addr, long ton, long npi) |
static int | send_pdu (Connection *conn, Octstr *id, SMPP_PDU *pdu) |
static Octstr * | generate_smppid (Msg *msg, int version) |
static int | read_pdu (Boxc *box, Connection *conn, long *len, SMPP_PDU **pdu) |
static List * | msg_to_pdu (Boxc *box, Msg *msg) |
static Msg * | pdu_to_msg (Boxc *box, SMPP_PDU *pdu, long *reason) |
static Msg * | data_sm_to_msg (Boxc *box, SMPP_PDU *pdu, long *reason) |
Octstr * | concat_msgids (Octstr *msgid, List *list) |
void | check_multipart (Boxc *box, Msg *msg, int *msg_to_send, Msg **msg2, List **parts_list) |
static void | handle_pdu (Connection *conn, Boxc *box, SMPP_PDU *pdu) |
static Boxc * | boxc_create (int fd, Octstr *ip, int ssl) |
static void | boxc_destroy (Boxc *boxc) |
static Boxc * | accept_smpp (int fd, int ssl) |
static void | smpp_to_bearerbox (void *arg) |
static Boxc * | find_receiver_box (Boxc *box) |
static void | bearerbox_to_smpp (void *arg) |
static void | run_smppbox (void *arg) |
static void | wait_for_connections (int fd, void(*function)(void *arg), List *waited) |
static void | smppboxc_run (void *arg) |
static void | signal_handler (int signum) |
static void | setup_signal_handlers (void) |
static void | gw_smpp_enter (Cfg *cfg) |
static void | gw_smpp_leave () |
static void | init_smsc_routes (Cfg *cfg) |
static void | destroy_smsc_routes (void) |
static void | init_smppbox (Cfg *cfg) |
static int | check_args (int i, int argc, char **argv) |
static int | smppbox_is_allowed_in_group (Octstr *group, Octstr *variable) |
static int | smppbox_is_single_group (Octstr *query) |
int | main (int argc, char **argv) |
#define DEBUG 1 |
Definition at line 341 of file opensmppbox.c.
#define dump_pdu | ( | msg, | |
id, | |||
pdu | |||
) |
This version does dump.
Definition at line 347 of file opensmppbox.c.
Referenced by handle_pdu(), and send_pdu().
#define MULTI_GROUP | ( | name, | |
fields | |||
) |
#define MULTI_GROUP | ( | name, | |
fields | |||
) |
#define OCTSTR | ( | name | ) |
#define OCTSTR | ( | name | ) |
#define SINGLE_GROUP | ( | name, | |
fields | |||
) |
#define SINGLE_GROUP | ( | name, | |
fields | |||
) |
#define SMPP_DEAD 0 |
Definition at line 99 of file opensmppbox.c.
#define SMPP_RUNNING 2 |
Definition at line 101 of file opensmppbox.c.
Referenced by bearerbox_to_smpp(), init_smppbox(), signal_handler(), smpp_to_bearerbox(), and wait_for_connections().
#define SMPP_SHUTDOWN 1 |
Definition at line 100 of file opensmppbox.c.
Referenced by signal_handler(), and wait_for_connections().
#define TIMEOUT_SECONDS 300 |
Definition at line 137 of file opensmppbox.c.
Referenced by init_smppbox().
enum smpp_login |
Enumerator | |
---|---|
SMPP_LOGIN_NOTLOGGEDIN | |
SMPP_LOGIN_TRANSMITTER | |
SMPP_LOGIN_RECEIVER | |
SMPP_LOGIN_TRANSCEIVER |
Definition at line 139 of file opensmppbox.c.
|
static |
Definition at line 1841 of file opensmppbox.c.
References boxc_create(), host_ip(), info(), octstr_destroy(), octstr_get_cstr, _boxc::smpp_connection, and ssl.
Referenced by run_smppbox().
|
static |
Definition at line 1928 of file opensmppbox.c.
References ack_buffered, ack_failed, ack_failed_tmp, ack_success, _boxc::alive, _boxc::bearerbox_connection, _boxc::boxc_id, cmd_restart, cmd_shutdown, conn_eof(), DC_7BIT, DC_UCS2, debug(), _boxc::deliver_acks, dict_get(), dict_put(), error(), find_receiver_box(), gwlist_destroy(), gwlist_extract_first(), info(), _boxc::mo_recode, msg, _boxc::msg_acks, msg_create, msg_destroy(), msg_dump(), msg_to_pdu(), octstr_create, octstr_destroy(), octstr_duplicate, octstr_format(), octstr_imm(), octstr_len(), octstr_recode(), octstr_search(), read_from_box(), report_mo, restart, send_msg(), send_pdu(), _boxc::smpp_connection, SMPP_ESME_RMSGQFUL, SMPP_ESME_RSUBMITFAIL, smpp_pdu_destroy(), SMPP_RUNNING, smppbox_status, text, SMPP_PDU::type, SMPP_PDU::type_name, SMPP_PDU::u, uuid_copy(), UUID_STR_LEN, uuid_unparse(), and warning().
Referenced by run_smppbox().
Definition at line 1729 of file opensmppbox.c.
References _boxc::alive, alt_charset, _boxc::alt_charset, _boxc::alt_dcs, _boxc::autodetect_addr, _boxc::boxc_id, boxid, _boxc::client_ip, conn_wrap_fd(), _boxc::connect_time, counter_create(), counter_increase(), _boxc::deliver_acks, _boxc::dest_addr_npi, _boxc::dest_addr_ton, dict_create(), _boxc::id, _boxc::is_wap, _boxc::load, _boxc::logged_in, _boxc::mo_recode, _boxc::msg_acks, msg_destroy_item(), octstr_duplicate, _boxc::priority, _boxc::routable, route_to_smsc, _boxc::route_to_smsc, _boxc::service_type, smpp_autodetect_addr, _boxc::smpp_connection, smpp_dest_addr_npi, smpp_dest_addr_ton, _boxc::smpp_pdu_counter, smpp_pdu_destroy_item(), smpp_source_addr_npi, smpp_source_addr_ton, _boxc::sms_service, _boxc::source_addr_npi, _boxc::source_addr_ton, ssl, _boxc::validityperiod, and _boxc::version.
Referenced by accept_smpp().
|
static |
Definition at line 1769 of file opensmppbox.c.
References _boxc::alt_charset, _boxc::bearerbox_connection, _boxc::boxc_id, _boxc::client_ip, conn_destroy(), counter_destroy(), _boxc::deliver_acks, dict_destroy(), _boxc::msg_acks, octstr_destroy(), _boxc::route_to_smsc, _boxc::smpp_connection, _boxc::smpp_pdu_counter, and _boxc::sms_service.
Referenced by run_smppbox().
Definition at line 1800 of file opensmppbox.c.
References _boxc::boxc_id, debug(), dict_get(), msg, octstr_destroy(), octstr_format(), octstr_get_cstr, _boxc::route_to_smsc, smsc_by_receiver, smsc_by_sender, smsc_by_sender_smsbox_id, smsc_by_smsbox_id, and smsc_id.
Referenced by check_multipart(), and handle_pdu().
Definition at line 524 of file opensmppbox.c.
References debug(), gwlist_get(), msg_destroy(), msg_duplicate(), octstr_append(), octstr_delete(), octstr_destroy(), octstr_get_char(), octstr_len(), and uuid_generate().
Referenced by check_multipart().
|
static |
Definition at line 2560 of file opensmppbox.c.
Referenced by main().
int check_login | ( | Boxc * | boxc, |
Octstr * | system_id, | ||
Octstr * | password, | ||
Octstr * | system_type, | ||
smpp_login | login_type | ||
) |
Definition at line 278 of file opensmppbox.c.
References _boxc::alive, all_boxes, _boxc::bearerbox_connection, _boxc::boxc_id, _boxc::client_ip, debug(), enablepam, gwlist_get(), gwlist_len(), info(), is_allowed_ip(), _boxc::login_type, octstr_compare(), octstr_create, octstr_destroy(), octstr_get_cstr, octstr_imm(), pamacl, password, _boxc::smpp_connection, SMPP_LOGIN_TRANSCEIVER, smpp_logins, and systemidisboxcid.
Referenced by handle_pdu().
Definition at line 1464 of file opensmppbox.c.
References _boxc::boxc_id, boxc_route_msg_to_smsc(), catenate_msg(), debug(), dict_get(), dict_put(), disable_multipart_catenation, gwlist_append(), gwlist_create, gwlist_len(), list_dict, msg, octstr_destroy(), octstr_duplicate, octstr_format(), octstr_get_char(), octstr_len(), and smsc_id.
Referenced by handle_pdu().
Definition at line 1450 of file opensmppbox.c.
References gwlist_get(), gwlist_len(), msg, octstr_append(), octstr_duplicate, and octstr_imm().
Referenced by handle_pdu().
Definition at line 558 of file opensmppbox.c.
References error(), GSM_ADDR_TON_ALPHANUMERIC, GSM_ADDR_TON_INTERNATIONAL, gw_isdigit(), octstr_check_range(), octstr_delete(), octstr_get_char(), octstr_get_cstr, octstr_imm(), octstr_insert_char(), octstr_len(), octstr_search(), SMPP_ESME_RINVSRCADR, and SMPP_ESME_ROK.
Referenced by data_sm_to_msg(), and pdu_to_msg().
Definition at line 1302 of file opensmppbox.c.
References _boxc::alt_charset, _boxc::boxc_id, charset_convert(), charset_gsm_to_utf8(), convert_addr_from_pdu(), DC_7BIT, DC_8BIT, DC_UCS2, DC_UNDEF, dcs_to_fields(), debug(), error(), ESM_CLASS_SUBMIT_RPI, ESM_CLASS_SUBMIT_UDH_INDICATOR, gw_assert(), meta_data_set_values(), msg, msg_create, msg_destroy(), mt_push, octstr_copy, octstr_create, octstr_delete(), octstr_get_char(), octstr_get_cstr, octstr_len(), SMPP_ESME_RINVDSTADR, SMPP_ESME_RINVESMCLASS, SMPP_ESME_ROK, SMPP_PDU::type, SMPP_PDU::u, and _boxc::version.
Referenced by handle_pdu().
|
static |
Definition at line 2405 of file opensmppbox.c.
References dict_destroy(), smsc_by_receiver, smsc_by_sender, smsc_by_sender_smsbox_id, and smsc_by_smsbox_id.
Referenced by main().
Definition at line 1911 of file opensmppbox.c.
References _boxc::alive, all_boxes, _boxc::boxc_id, gwlist_get(), gwlist_len(), _boxc::login_type, octstr_compare(), SMPP_LOGIN_RECEIVER, and SMPP_LOGIN_TRANSCEIVER.
Referenced by bearerbox_to_smpp().
Definition at line 638 of file opensmppbox.c.
References msg, octstr_create_from_data, UUID_STR_LEN, and uuid_unparse().
Referenced by handle_pdu().
|
static |
|
static |
|
static |
Definition at line 1510 of file opensmppbox.c.
References ack_failed, _boxc::alive, _boxc::bearerbox_connection, _boxc::boxc_id, boxc_route_msg_to_smsc(), check_login(), check_multipart(), concat_msgids(), data_sm_to_msg(), _boxc::deliver_acks, dict_get(), dict_put(), dlr_add(), DLR_IS_ENABLED, dump_pdu, error(), generate_smppid(), gwlist_destroy(), identify_to_bearerbox(), _boxc::logged_in, _boxc::login_type, msg, _boxc::msg_acks, msg_destroy(), msg_destroy_item(), msg_dump(), msg_duplicate(), octstr_create, octstr_destroy(), octstr_duplicate, octstr_format(), octstr_get_cstr, octstr_imm(), our_system_id, pdu_to_msg(), send_msg(), send_pdu(), SMPP_ESME_RINVCMDID, SMPP_ESME_RINVPASWD, SMPP_ESME_RUNKNOWNERR, SMPP_LOGIN_RECEIVER, SMPP_LOGIN_TRANSCEIVER, SMPP_LOGIN_TRANSMITTER, smpp_pdu_create(), smpp_pdu_destroy(), _boxc::sms_service, smsc_id, systemidisboxcid, SMPP_PDU::type, SMPP_PDU::u, UUID_STR_LEN, uuid_unparse(), and _boxc::version.
Referenced by smpp_to_bearerbox().
|
static |
Definition at line 487 of file opensmppbox.c.
References _boxc::bearerbox_connection, _boxc::boxc_id, cmd_identify, msg, msg_create, octstr_duplicate, and send_msg().
Referenced by handle_pdu().
|
static |
Definition at line 2420 of file opensmppbox.c.
References alt_charset, BB_DEFAULT_HOST, BB_DEFAULT_SMSBOX_PORT, bearerbox_host, bearerbox_port, bearerbox_port_ssl, boxid, catenated_sms_counter, cfg, cfg_get, cfg_get_bool(), cfg_get_integer(), cfg_get_single_group(), conn_config_ssl(), counter_create(), debug(), disable_multipart_catenation, dlr_init(), enablepam, GW_NON_EXCL, gw_smpp_enter(), info(), init_smsc_routes(), log_open(), msg_pack(), msg_unpack_wrapper(), octstr_create, octstr_destroy(), octstr_get_cstr, octstr_imm(), our_system_id, pamacl, panic, route_to_smsc, smpp_autodetect_addr, smpp_dest_addr_npi, smpp_dest_addr_ton, smpp_logins, smpp_pdu_init(), SMPP_RUNNING, smpp_source_addr_npi, smpp_source_addr_ton, smpp_timeout, smppbox_id, smppbox_port, smppbox_port_ssl, smppbox_status, store_init(), systemidisboxcid, TIMEOUT_SECONDS, and warning().
Referenced by main().
|
static |
Definition at line 2278 of file opensmppbox.c.
References cfg, cfg_get, cfg_get_multi_group(), debug(), dict_create(), dict_put_once(), grp_dump(), gwlist_destroy(), gwlist_extract_first(), gwlist_get(), gwlist_len(), octstr_destroy(), octstr_destroy_item(), octstr_duplicate, octstr_get_cstr, octstr_imm(), octstr_insert(), octstr_insert_char(), octstr_len(), octstr_split(), octstr_strip_blanks(), panic, smsc_by_receiver, smsc_by_sender, smsc_by_sender_smsbox_id, smsc_by_smsbox_id, and smsc_id.
Referenced by init_smppbox().
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 2620 of file opensmppbox.c.
References all_boxes, ALL_HEARTBEATS, boxid, catenated_sms_counter, cfg, cfg_add_hooks(), cfg_create(), cfg_read(), check_args(), counter_destroy(), destroy_smsc_routes(), dict_create(), dlr_shutdown(), filename, get_and_set_debugs(), gw_smpp_leave(), gwlib_init(), gwlib_shutdown(), gwlist_create, gwlist_destroy(), gwthread_sleep(), heartbeat_stop(), init_smppbox(), list_dict, octstr_create, octstr_destroy(), octstr_format(), octstr_get_cstr, panic, report_versions(), restart_smppbox, setup_signal_handlers(), smppbox_is_allowed_in_group(), smppbox_is_single_group(), smppbox_port, and smppboxc_run().
Definition at line 698 of file opensmppbox.c.
References _boxc::alt_charset, _boxc::alt_dcs, _boxc::autodetect_addr, _boxc::boxc_id, catenated_sms_counter, charset_convert(), charset_utf8_to_gsm(), counter_increase(), DC_7BIT, DC_UNDEF, debug(), _boxc::dest_addr_npi, _boxc::dest_addr_ton, dict_destroy(), DLR_BUFFERED, DLR_EXPIRED, DLR_FAIL, dlr_find(), DLR_IS_FAIL, DLR_IS_SUCCESS, DLR_IS_SUCCESS_OR_FAIL, DLR_NOTHING, DLR_SMSC_FAIL, DLR_SMSC_SUCCESS, DLR_SUCCESS, DLR_UNDEFINED, error(), ESM_CLASS_DELIVER_SMSC_DELIVER_ACK, ESM_CLASS_DELIVER_UDH_INDICATOR, ESM_CLASS_SUBMIT_RPI, ESM_CLASS_SUBMIT_UDH_INDICATOR, fields_to_dcs(), GSM_ADDR_NPI_E164, GSM_ADDR_NPI_UNKNOWN, GSM_ADDR_TON_ALPHANUMERIC, GSM_ADDR_TON_INTERNATIONAL, GSM_ADDR_TON_NATIONAL, gw_isdigit(), gw_localtime(), gw_strftime(), gwlist_append(), gwlist_create, gwlist_destroy(), gwlist_extract_first(), gwlist_len(), MC_UNDEF, meta_data_get_value(), meta_data_get_values(), msg, msg_destroy(), msg_destroy_item(), MWI_UNDEF, octstr_cat(), octstr_check_range(), octstr_delete(), octstr_destroy(), octstr_destroy_item(), octstr_duplicate, octstr_format(), octstr_get_char(), octstr_get_cstr, octstr_imm(), octstr_insert(), octstr_len(), octstr_split(), _boxc::priority, report_mo, _boxc::service_type, _boxc::smpp_pdu_counter, smpp_pdu_create(), smpp_pdu_destroy(), sms_max_length, SMS_PARAM_UNDEFINED, sms_split(), _boxc::source_addr_npi, _boxc::source_addr_ton, text, SMPP_PDU::u, and _boxc::version.
Referenced by bearerbox_to_smpp().
Definition at line 1100 of file opensmppbox.c.
References _boxc::alt_charset, _boxc::boxc_id, charset_convert(), charset_gsm_to_utf8(), convert_addr_from_pdu(), DC_7BIT, DC_8BIT, DC_UCS2, DC_UNDEF, dcs_to_fields(), debug(), DLR_FAIL, DLR_SMSC_FAIL, DLR_SUCCESS, error(), ESM_CLASS_SUBMIT_RPI, ESM_CLASS_SUBMIT_UDH_INDICATOR, gw_assert(), meta_data_set_values(), msg, msg_create, msg_destroy(), mt_push, octstr_copy, octstr_create, octstr_delete(), octstr_duplicate, octstr_get_char(), octstr_get_cstr, octstr_len(), report_mo, SMPP_ESME_RINVDSTADR, SMPP_ESME_RINVESMCLASS, SMPP_ESME_ROK, _boxc::sms_service, timestamp_to_minutes(), SMPP_PDU::type, SMPP_PDU::u, and _boxc::version.
Referenced by handle_pdu().
|
static |
Definition at line 499 of file opensmppbox.c.
References _boxc::alive, msg, and read_from_bearerbox_real().
Referenced by bearerbox_to_smpp().
|
static |
Definition at line 658 of file opensmppbox.c.
References _boxc::boxc_id, conn_eof(), conn_error(), debug(), error(), octstr_destroy(), octstr_get_cstr, smpp_pdu_read_data(), smpp_pdu_read_len(), and smpp_pdu_unpack().
Referenced by smpp_to_bearerbox().
|
static |
Definition at line 2113 of file opensmppbox.c.
References accept_smpp(), all_boxes, _boxc::bearerbox_connection, bearerbox_host, bearerbox_port, bearerbox_port_ssl, bearerbox_to_smpp(), boxc_destroy(), _boxc::boxc_id, _boxc::client_ip, connect_to_bearerbox_real(), DEFAULT_HEARTBEAT, error(), gwlist_append(), gwlist_delete_equal(), gwthread_create, gwthread_join(), heartbeat_start(), info(), octstr_duplicate, octstr_get_cstr, outstanding_requests(), panic, smpp_to_bearerbox(), and smppbox_id.
Referenced by smppboxc_run().
|
static |
Definition at line 453 of file opensmppbox.c.
References write_to_bearerbox_real().
Referenced by bearerbox_to_smpp(), handle_pdu(), and identify_to_bearerbox().
|
static |
Definition at line 620 of file opensmppbox.c.
References conn_write(), dump_pdu, octstr_destroy(), and smpp_pdu_pack().
Referenced by bearerbox_to_smpp(), and handle_pdu().
|
static |
|
static |
Definition at line 2220 of file opensmppbox.c.
References alog_reopen(), error(), gwthread_shouldhandlesignal(), log_reopen(), SMPP_RUNNING, SMPP_SHUTDOWN, smppbox_status, and warning().
Referenced by setup_signal_handlers().
void smpp_pdu_destroy_item | ( | void * | pdu | ) |
Definition at line 184 of file opensmppbox.c.
References smpp_pdu_destroy().
Referenced by boxc_create().
|
static |
Definition at line 1877 of file opensmppbox.c.
References _boxc::alive, _boxc::bearerbox_connection, error(), gwthread_sleep(), handle_pdu(), _boxc::last_pdu_received, read_pdu(), _boxc::smpp_connection, SMPP_RUNNING, smpp_timeout, and smppbox_status.
Referenced by run_smppbox().
Definition at line 2575 of file opensmppbox.c.
References octstr_imm().
Referenced by main().
|
static |
|
static |
Definition at line 2186 of file opensmppbox.c.
References info(), make_server_socket(), panic, port, run_smppbox(), and wait_for_connections().
Referenced by main().
|
static |
Definition at line 362 of file opensmppbox.c.
References debug(), gw_gmtime(), gw_localtime(), gw_mktime(), octstr_get_cstr, and octstr_len().
Referenced by pdu_to_msg().
|
static |
Definition at line 2157 of file opensmppbox.c.
References error(), gw_assert(), gwthread_create, gwthread_pollfd(), gwthread_sleep(), POLLIN, SMPP_RUNNING, SMPP_SHUTDOWN, and smppbox_status.
Referenced by smppboxc_run().
|
static |
Definition at line 110 of file opensmppbox.c.
Referenced by check_login(), find_receiver_box(), main(), and run_smppbox().
|
static |
Definition at line 129 of file opensmppbox.c.
Referenced by boxc_create(), char_iso_to_sms(), handle_mo_dcs(), init_smppbox(), parse_emi_to_iso88591(), parse_iso88591_to_cimd(), parse_iso88591_to_emi(), smpp_create(), smsc_emi2_create(), smsc_smpp_create(), and url_result_thread().
|
static |
Definition at line 105 of file opensmppbox.c.
Referenced by init_smppbox(), and run_smppbox().
|
static |
Definition at line 104 of file opensmppbox.c.
Referenced by init_smppbox(), and run_smppbox().
|
static |
Definition at line 106 of file opensmppbox.c.
Referenced by init_smppbox(), and run_smppbox().
|
static |
Definition at line 108 of file opensmppbox.c.
Referenced by boxc_create(), init_smppbox(), and main().
|
static |
Definition at line 112 of file opensmppbox.c.
Referenced by init_smppbox(), main(), and msg_to_pdu().
|
static |
Definition at line 95 of file opensmppbox.c.
Referenced by add_group(), at2_read_modems(), bb_graceful_restart(), cfg_create(), cfg_destroy(), cfg_dump(), cfg_get_multi_group(), cfg_get_single_group(), cfg_read(), check_config(), config_reload(), dlr_init(), dlr_init_spool(), generic_init(), httpadmin_start(), init_bearerbox(), init_smppbox(), init_smsbox_routes(), init_smsc_routes(), init_wapbox(), main(), read_ppg_config(), read_test_ppg_config(), smpp_pdu_init(), smsbox_restart(), smsbox_start(), smsc2_graceful_restart(), smsc2_start(), smsc_at2_create(), smsc_cgw_create(), smsc_emi2_create(), smsc_fake_create(), smsc_http_create(), smsc_soap_create(), smsc_wrapper_create(), sqlbox_init_sql(), start_smsc(), start_udp(), start_wap(), store_init(), udp_start(), urltrans_add_cfg(), wap_appl_init(), wap_push_ppg_init(), and wapbox_start().
|
static |
Definition at line 134 of file opensmppbox.c.
Referenced by check_multipart(), and init_smppbox().
|
static |
Definition at line 132 of file opensmppbox.c.
Referenced by check_login(), and init_smppbox().
|
static |
Definition at line 111 of file opensmppbox.c.
Referenced by check_multipart(), and main().
|
static |
Definition at line 126 of file opensmppbox.c.
Referenced by handle_pdu(), and init_smppbox().
|
static |
Definition at line 133 of file opensmppbox.c.
Referenced by check_login(), and init_smppbox().
|
static |
Definition at line 109 of file opensmppbox.c.
Referenced by bearerbox_to_smpp(), and main().
|
static |
Definition at line 97 of file opensmppbox.c.
Referenced by main().
|
static |
Definition at line 127 of file opensmppbox.c.
Referenced by boxc_create(), and init_smppbox().
|
static |
Definition at line 116 of file opensmppbox.c.
Referenced by boxc_create(), and init_smppbox().
|
static |
Definition at line 118 of file opensmppbox.c.
Referenced by boxc_create(), and init_smppbox().
|
static |
Definition at line 117 of file opensmppbox.c.
Referenced by boxc_create(), and init_smppbox().
|
static |
Definition at line 107 of file opensmppbox.c.
Referenced by check_login(), and init_smppbox().
|
static |
Definition at line 115 of file opensmppbox.c.
Referenced by boxc_create(), and init_smppbox().
|
static |
Definition at line 114 of file opensmppbox.c.
Referenced by boxc_create(), and init_smppbox().
|
static |
Definition at line 128 of file opensmppbox.c.
Referenced by init_smppbox(), and smpp_to_bearerbox().
|
static |
Definition at line 125 of file opensmppbox.c.
Referenced by init_smppbox(), and run_smppbox().
|
static |
Definition at line 102 of file opensmppbox.c.
Referenced by init_smppbox(), and main().
|
static |
Definition at line 103 of file opensmppbox.c.
Referenced by init_smppbox().
|
static |
Definition at line 98 of file opensmppbox.c.
Referenced by bearerbox_to_smpp(), init_smppbox(), signal_handler(), smpp_to_bearerbox(), and wait_for_connections().
|
static |
Definition at line 113 of file opensmppbox.c.
Referenced by msg_to_pdu().
|
static |
Definition at line 120 of file opensmppbox.c.
Referenced by boxc_route_msg_to_smsc(), destroy_smsc_routes(), and init_smsc_routes().
|
static |
Definition at line 122 of file opensmppbox.c.
Referenced by boxc_route_msg_to_smsc(), destroy_smsc_routes(), and init_smsc_routes().
|
static |
Definition at line 123 of file opensmppbox.c.
Referenced by boxc_route_msg_to_smsc(), destroy_smsc_routes(), and init_smsc_routes().
|
static |
Definition at line 121 of file opensmppbox.c.
Referenced by boxc_route_msg_to_smsc(), destroy_smsc_routes(), and init_smsc_routes().
|
static |
Definition at line 131 of file opensmppbox.c.
Referenced by check_login(), handle_pdu(), and init_smppbox().