diff umtsmon-0.9.orig/src/model/PPPConnection.cpp umtsmon-0.9.20081126/src/model/PPPConnection.cpp 375c375,376 < const int myCID = 1; --- > unsigned int myCID = aProfile.getCID(); > 383a385,398 > > QString myDialStr = ""; > > if ( aProfile.getUseCID() ) > { > myDialStr = "ATD" + aProfile.getCIDPrefix() + myConnectStr.number(myCID) + "#"; > } > else > { > myDialStr = "ATD" + aProfile.getCIDPrefix() + "#"; > } > > DEBUG1("Dial String is: %s \n", myDialStr.ascii() ); > 385c400 < Query myQuery("ATD*99***" + myConnectStr.number(myCID) + "#"); --- > Query myQuery(myDialStr); diff umtsmon-0.9.orig/src/model/Profile.cpp umtsmon-0.9.20081126/src/model/Profile.cpp 45c45,47 < --- > static const char* theUseCIDStr = "useCID"; > static const char* theCIDPrefixStr = "CIDPrefix"; > static const char* theCIDStr = "CID"; 179a182,198 > QString > Profile::getCIDPrefix(void) const > { > return TheSettingsSingleton::getQSRef().readEntry(getKeyPathName(theCIDPrefixStr), "*99"); > } > > bool > Profile::getUseCID(void) const > { > return TheSettingsSingleton::getQSRef().readBoolEntry(getKeyPathName(theUseCIDStr), false); > } > > unsigned int > Profile::getCID(void) const > { > return TheSettingsSingleton::getQSRef().readNumEntry(getKeyPathName(theCIDStr), 1); > } diff umtsmon-0.9.orig/src/model/Profile.h umtsmon-0.9.20081126/src/model/Profile.h 120,121c120,132 < < --- > > /// true: use a specific CID, default false (=use short CID Prefix) > bool getUseCID(void) const; > // bool setUseCID(bool aUseCID); > > // CID number, default 1 > unsigned int getCID(void) const; > // bool setCID(unsigned int aCID); > > // CID Prefix, defaults to *99 or *99*** > QString getCIDPrefix(void) const; > //bool setCIDPrefix(QString aCIDPrefix); >