[asterisk-commits] tzafrir: branch group/zapata_conf r84119 - /team/group/zapata_conf/channels/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Sep 28 22:29:21 CDT 2007
Author: tzafrir
Date: Fri Sep 28 22:29:20 2007
New Revision: 84119
URL: http://svn.digium.com/view/asterisk?view=rev&rev=84119
Log:
Don't forget to set the "radio" type.
Modified:
team/group/zapata_conf/channels/chan_zap.c
Modified: team/group/zapata_conf/channels/chan_zap.c
URL: http://svn.digium.com/view/asterisk/team/group/zapata_conf/channels/chan_zap.c?view=diff&rev=84119&r1=84118&r2=84119
==============================================================================
--- team/group/zapata_conf/channels/chan_zap.c (original)
+++ team/group/zapata_conf/channels/chan_zap.c Fri Sep 28 22:29:20 2007
@@ -12273,31 +12273,25 @@
} else if (!reload){
if (!strcasecmp(v->name, "signalling") || !strcasecmp(v->name, "signaling")) {
confp->chan.outsigmod = -1;
+ confp->chan.radio = 0;
if (!strcasecmp(v->value, "em")) {
confp->chan.sig = SIG_EM;
} else if (!strcasecmp(v->value, "em_e1")) {
confp->chan.sig = SIG_EM_E1;
} else if (!strcasecmp(v->value, "em_w")) {
confp->chan.sig = SIG_EMWINK;
- confp->chan.radio = 0;
} else if (!strcasecmp(v->value, "fxs_ls")) {
confp->chan.sig = SIG_FXSLS;
- confp->chan.radio = 0;
} else if (!strcasecmp(v->value, "fxs_gs")) {
confp->chan.sig = SIG_FXSGS;
- confp->chan.radio = 0;
} else if (!strcasecmp(v->value, "fxs_ks")) {
confp->chan.sig = SIG_FXSKS;
- confp->chan.radio = 0;
} else if (!strcasecmp(v->value, "fxo_ls")) {
confp->chan.sig = SIG_FXOLS;
- confp->chan.radio = 0;
} else if (!strcasecmp(v->value, "fxo_gs")) {
confp->chan.sig = SIG_FXOGS;
- confp->chan.radio = 0;
} else if (!strcasecmp(v->value, "fxo_ks")) {
confp->chan.sig = SIG_FXOKS;
- confp->chan.radio = 0;
} else if (!strcasecmp(v->value, "fxs_rx")) {
confp->chan.sig = SIG_FXSKS;
confp->chan.radio = 1;
@@ -12324,22 +12318,16 @@
confp->chan.radio = 2;
} else if (!strcasecmp(v->value, "sf")) {
confp->chan.sig = SIG_SF;
- confp->chan.radio = 0;
} else if (!strcasecmp(v->value, "sf_w")) {
confp->chan.sig = SIG_SFWINK;
- confp->chan.radio = 0;
} else if (!strcasecmp(v->value, "sf_featd")) {
confp->chan.sig = SIG_FEATD;
- confp->chan.radio = 0;
} else if (!strcasecmp(v->value, "sf_featdmf")) {
confp->chan.sig = SIG_FEATDMF;
- confp->chan.radio = 0;
} else if (!strcasecmp(v->value, "sf_featb")) {
confp->chan.sig = SIG_SF_FEATB;
- confp->chan.radio = 0;
} else if (!strcasecmp(v->value, "sf")) {
confp->chan.sig = SIG_SF;
- confp->chan.radio = 0;
} else if (!strcasecmp(v->value, "sf_rx")) {
confp->chan.sig = SIG_SF;
confp->chan.radio = 1;
@@ -12354,47 +12342,35 @@
confp->chan.radio = 2;
} else if (!strcasecmp(v->value, "featd")) {
confp->chan.sig = SIG_FEATD;
- confp->chan.radio = 0;
} else if (!strcasecmp(v->value, "featdmf")) {
confp->chan.sig = SIG_FEATDMF;
- confp->chan.radio = 0;
} else if (!strcasecmp(v->value, "featdmf_ta")) {
confp->chan.sig = SIG_FEATDMF_TA;
- confp->chan.radio = 0;
} else if (!strcasecmp(v->value, "e911")) {
confp->chan.sig = SIG_E911;
- confp->chan.radio = 0;
} else if (!strcasecmp(v->value, "fgccama")) {
confp->chan.sig = SIG_FGC_CAMA;
- confp->chan.radio = 0;
} else if (!strcasecmp(v->value, "fgccamamf")) {
confp->chan.sig = SIG_FGC_CAMAMF;
- confp->chan.radio = 0;
} else if (!strcasecmp(v->value, "featb")) {
confp->chan.sig = SIG_FEATB;
- confp->chan.radio = 0;
#ifdef HAVE_PRI
} else if (!strcasecmp(v->value, "pri_net")) {
- confp->chan.radio = 0;
confp->chan.sig = SIG_PRI;
confp->pri.nodetype = PRI_NETWORK;
} else if (!strcasecmp(v->value, "pri_cpe")) {
confp->chan.sig = SIG_PRI;
- confp->chan.radio = 0;
confp->pri.nodetype = PRI_CPE;
} else if (!strcasecmp(v->value, "gr303fxoks_net")) {
confp->chan.sig = SIG_GR303FXOKS;
- confp->chan.radio = 0;
confp->pri.nodetype = PRI_NETWORK;
} else if (!strcasecmp(v->value, "gr303fxsks_cpe")) {
confp->chan.sig = SIG_GR303FXSKS;
- confp->chan.radio = 0;
confp->pri.nodetype = PRI_CPE;
#endif
#ifdef HAVE_SS7
} else if (!strcasecmp(v->value, "ss7")) {
confp->chan.sig = SIG_SS7;
- confp->chan.radio = 0;
#endif
} else {
ast_log(LOG_ERROR, "Unknown signalling method '%s'\n", v->value);
More information about the asterisk-commits
mailing list