ensure that control frames with payload can be sent to channel drivers via ->indicate()

update iax2_indicate to pass control frame payload to the connected channel
add an API call for sending an indication with payload, and use it for control frames with payload


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26417 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming
2006-05-10 12:24:11 +00:00
parent 1904069f71
commit fdcfd6469b
15 changed files with 55 additions and 35 deletions

View File

@@ -296,12 +296,12 @@ static int __unload_module(void)
return 0;
}
int unload_module(void)
static int unload_module(void)
{
return __unload_module();
}
int load_module(void)
static int load_module(void)
{
/* Make sure we can register our channel type */
if (ast_channel_register(&nbs_tech)) {