mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-13 00:04:53 +00:00
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:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user