adding support for AOCD facility messages.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39987 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Nadi Sarrar
2006-08-16 13:19:54 +00:00
parent f7d117d24f
commit 864c934f53
4 changed files with 75 additions and 34 deletions

View File

@@ -896,7 +896,7 @@ void parse_facility (struct isdn_msg msgs[], msg_t *msg, struct misdn_bchannel *
if (!p)
return;
err = decodeFacReq(p, &(bc->fac_in));
err = decodeFac(p, &(bc->fac_in));
if (err) {
cb_log(1, bc->port, "Decoding FACILITY failed! (%d)\n", err);
}
@@ -916,7 +916,7 @@ msg_t *build_facility (struct isdn_msg msgs[], struct misdn_bchannel *bc, int nt
printf("Building FACILITY Msg\n");
#endif
len = encodeFacReq(fac_tmp, &(bc->fac_out));
len = encodeFac(fac_tmp, &(bc->fac_out));
if (len <= 0)
return NULL;