SOURCES: asterisk-bristuff.patch - one fix and one hack

arekm arekm at pld-linux.org
Sat Feb 9 16:27:49 CET 2008


Author: arekm                        Date: Sat Feb  9 15:27:49 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- one fix and one hack

---- Files affected:
SOURCES:
   asterisk-bristuff.patch (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SOURCES/asterisk-bristuff.patch
diff -u SOURCES/asterisk-bristuff.patch:1.3 SOURCES/asterisk-bristuff.patch:1.4
--- SOURCES/asterisk-bristuff.patch:1.3	Sat Feb  9 15:11:45 2008
+++ SOURCES/asterisk-bristuff.patch	Sat Feb  9 16:27:44 2008
@@ -7941,7 +7941,7 @@
  			}
  #endif
 +#ifdef HAVE_GSMAT
-+		if (chan_conf.signalling == SIG_GSM) {
++		if (conf.chan.sig == SIG_GSM) {
 +		    struct zt_bufferinfo bi;
 +		    ast_mutex_init(&tmp->gsm.lock);
 +		    strncpy(tmp->gsm.pin, gsm_modem_pin, sizeof(tmp->gsm.pin) - 1);
@@ -8047,7 +8047,7 @@
 +		if (!ast_strlen_zero(e->ring.callingnum)) {
 +		    strncpy(gsm->pvt->cid_num, e->ring.callingnum, sizeof(gsm->pvt->cid_num) - 1);
 +		} else {
-+		    strncpy(gsm->pvt->cid_name, withheldcid, sizeof(gsm->pvt->cid_name));
++		    strncpy(gsm->pvt->cid_name, "FIXME FIXME FIXME" /*withheldcid*/, sizeof(gsm->pvt->cid_name));
 +		}
 +		if (!ast_strlen_zero(gsm->exten)) {
 +		    strncpy(gsm->pvt->exten, gsm->exten, sizeof(gsm->pvt->exten) - 1);
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/asterisk-bristuff.patch?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list