- added code for QSIG number handling - cleanup code for CallTransfer - more some more cleanup has to follow - deactivated pathReplacementon on call transfer - there's a bug somewhereV1_1
parent
d1ad040c4b
commit
04e1dab784
@ -0,0 +1,56 @@
|
||||
/*
|
||||
* (QSIG)
|
||||
*
|
||||
* Implementation of QSIG extensions for CHAN_CAPI
|
||||
*
|
||||
* Copyright 2006-2007 (c) Mario Goegel
|
||||
*
|
||||
* Mario Goegel <m.goegel@gmx.de>
|
||||
*
|
||||
* This program is free software and may be modified and
|
||||
* distributed under the terms of the GNU Public License.
|
||||
*/
|
||||
|
||||
#include "chan_capi_qsig_asn197ade.h"
|
||||
|
||||
#ifndef PBX_QSIG_ECMA_H
|
||||
#define PBX_QSIG_ECMA_H
|
||||
|
||||
/* ECMA Features structs */
|
||||
|
||||
/* Call Transfer Complete struct */
|
||||
struct cc_qsig_ctcomplete {
|
||||
enum {
|
||||
primaryEnd, /* 0 */
|
||||
secondaryEnd /* 1 */
|
||||
} endDesignation;
|
||||
|
||||
struct asn197ade_numberscreened redirectionNumber;
|
||||
char *basicCallInfoElements; /* OPTIONAL: ASN1_APPLICATION Type */
|
||||
char *redirectionName; /* OPTIONAL */
|
||||
enum {
|
||||
answered,
|
||||
alerting
|
||||
} callStatus; /* DEFAULT: answered */
|
||||
char *argumentExtension; /* OPTIONAL: ASN1_SEQUENCE - manufacturer specific extension */
|
||||
};
|
||||
|
||||
|
||||
/*
|
||||
*** ECMA QSIG Functions
|
||||
*/
|
||||
|
||||
extern void cc_qsig_op_ecma_isdn_namepres(struct cc_qsig_invokedata *invoke, struct capi_pvt *i);
|
||||
extern int cc_qsig_encode_ecma_name_invoke(unsigned char * buf, unsigned int *idx, struct cc_qsig_invokedata *invoke, struct capi_pvt *i, int nametype);
|
||||
|
||||
extern void cc_qsig_op_ecma_isdn_leginfo2(struct cc_qsig_invokedata *invoke, struct capi_pvt *i);
|
||||
|
||||
extern void cc_qsig_op_ecma_isdn_prpropose(struct cc_qsig_invokedata *invoke, struct capi_pvt *i);
|
||||
extern void cc_qsig_encode_ecma_prpropose(unsigned char * buf, unsigned int *idx, struct cc_qsig_invokedata *invoke, struct capi_pvt *i, char *param);
|
||||
|
||||
extern void cc_qsig_encode_ecma_sscalltransfer(unsigned char * buf, unsigned int *idx, struct cc_qsig_invokedata *invoke, struct capi_pvt *i, char *param);
|
||||
|
||||
extern void cc_qsig_encode_ecma_calltransfer(unsigned char * buf, unsigned int *idx, struct cc_qsig_invokedata *invoke, struct capi_pvt *i, char *param, int info);
|
||||
extern unsigned int cc_qsig_decode_ecma_calltransfer(struct cc_qsig_invokedata *invoke, struct capi_pvt *i, struct cc_qsig_ctcomplete *ctc);
|
||||
|
||||
#endif
|
Loading…
Reference in new issue