Make capbilities be connection specific versus for the whole endpoint. Bug #4334

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5742 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Jeremy McNamara
2005-05-19 19:13:19 +00:00
parent 9c83ec2f25
commit ec9ce8db9d
4 changed files with 126 additions and 91 deletions

View File

@@ -169,6 +169,9 @@ extern rfc2833_cb on_set_rfc2833_payload;
typedef void (*hangup_cb)(unsigned, const char *, int);
extern hangup_cb on_hangup;
typedef void (*setcapabilities_cb)(unsigned, const char *);
extern setcapabilities_cb on_setcapabilities;
/* debug flag */
extern int h323debug;
@@ -202,8 +205,9 @@ extern "C" {
answer_call_cb,
progress_cb,
rfc2833_cb,
hangup_cb);
int h323_set_capability(int, int);
hangup_cb,
setcapabilities_cb);
int h323_set_capabilities(const char *, int, int);
int h323_set_alias(struct oh323_alias *);
int h323_set_gk(int, char *, char *);
void h323_set_id(char *);