mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-17 00:34:13 +00:00
chlog: freetdm - SS7: Support for Transparent IAM
This commit is contained in:
1 parent
a8e7dd2e9d
commit
ea428669d3
13 files changed
+753
-231
No files matched your search
@@ -276,12 +276,16 @@ FTDM_STR2ENUM_P(ftdm_str2ftdm_screening, ftdm_screening2str, ftdm_screening_t)
|
||||
|
||||
/*! \brief bearer capability */
|
||||
typedef enum {
|
||||
FTDM_BEARER_CAP_SPEECH = 0x00,
|
||||
FTDM_BEARER_CAP_64K_UNRESTRICTED = 0x02,
|
||||
FTDM_BEARER_CAP_3_1KHZ_AUDIO = 0x03,
|
||||
FTDM_BEARER_CAP_SPEECH = 0x00, /* Speech */
|
||||
FTDM_BEARER_CAP_UNRESTRICTED, /* Unrestricted Digital */
|
||||
FTDM_BEARER_CAP_RESTRICTED, /* Restricted Digital */
|
||||
FTDM_BEARER_CAP_3_1KHZ_AUDIO, /* 3.1 Khz Audio */
|
||||
FTDM_BEARER_CAP_7KHZ_AUDIO, /* 7 Khz Audio or Unrestricted digital w tones */
|
||||
FTDM_BEARER_CAP_15KHZ_AUDIO, /* 15 Khz Audio */
|
||||
FTDM_BEARER_CAP_VIDEO, /* Video */
|
||||
FTDM_BEARER_CAP_INVALID
|
||||
} ftdm_bearer_cap_t;
|
||||
#define BEARER_CAP_STRINGS "speech", "unrestricted-digital-information", "3.1-Khz-audio", "invalid"
|
||||
#define BEARER_CAP_STRINGS "speech", "unrestricted-digital-information", "restricted-digital-information", "3.1-Khz-audio", "7-Khz-audio", "15-Khz-audio", "video", "invalid"
|
||||
FTDM_STR2ENUM_P(ftdm_str2ftdm_bearer_cap, ftdm_bearer_cap2str, ftdm_bearer_cap_t)
|
||||
|
||||
/*! \brief user information layer 1 protocol */
|
||||
|
||||
@@ -131,5 +131,24 @@ FT_DECLARE(ftdm_status_t) ftdm_is_number(const char *number);
|
||||
*/
|
||||
FT_DECLARE(ftdm_status_t) ftdm_set_calling_party_category(const char *string, uint8_t *target);
|
||||
|
||||
/*!
|
||||
* \brief URL encode a buffer
|
||||
*
|
||||
* \param url buffer to convert
|
||||
* \param buf target to save converted string to
|
||||
* \param len size of buffer
|
||||
*
|
||||
* \retval pointer to converted string
|
||||
*/
|
||||
FT_DECLARE(char *) ftdm_url_encode(const char *url, char *buf, ftdm_size_t len);
|
||||
|
||||
/*!
|
||||
* \param s buffer to convert
|
||||
* \param len size of buffer
|
||||
*
|
||||
* \retval pointer to converted string
|
||||
*/
|
||||
FT_DECLARE(char *) ftdm_url_decode(char *s, ftdm_size_t *len);
|
||||
|
||||
#endif /* __FTDM_CALL_UTILS_H__ */
|
||||
|
||||
Reference in new issue
Block a user