forked from IchthysMaranatha/asterisk-chan-quectel
-
Notifications
You must be signed in to change notification settings - Fork 1
/
helpers.h
22 lines (18 loc) · 1.03 KB
/
helpers.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
Copyright (C) 2010,2011 bg <[email protected]>
*/
#ifndef CHAN_QUECTEL_HELPERS_H_INCLUDED
#define CHAN_QUECTEL_HELPERS_H_INCLUDED
#include "export.h" /* EXPORT_DECL EXPORT_DEF */
#include "dc_config.h" /* call_waiting_t */
#include "chan_quectel.h" /* restate_time_t */
EXPORT_DECL int get_at_clir_value (struct pvt* pvt, int clir);
/* return status string of sending, status arg is optional */
EXPORT_DECL int send_ussd(const char *dev_name, const char *ussd);
EXPORT_DECL int send_sms(const char *dev_name, const char *number, const char *message, const char *validity, const char *report, const char *payload, size_t payload_len);
EXPORT_DECL int send_reset(const char *dev_name);
EXPORT_DECL int send_ccwa_set(const char *dev_name, call_waiting_t enable);
EXPORT_DECL int send_at_command(const char *dev_name, const char *command);
EXPORT_DECL int schedule_restart_event(dev_state_t event, restate_time_t when, const char *dev_name);
EXPORT_DECL int is_valid_phone_number(const char * number);
#endif /* CHAN_QUECTEL_HELPERS_H_INCLUDED */