Vedr: TRX CLK-indication and failing sync

Erich Dachleger edachleger at yahoo.com
Thu Mar 14 09:58:51 UTC 2013





________________________________








________________________________
 
Hi, when I use wireshark I see mostly "GSMTAP header ARFCN(525),Downlink TS0,channel BCCH0, which probably is normal since the phones do not register or see the network.Manual search is done with phones after removing and reinserting batteries. Shouldn't there be seen sip invite messages  also.?Sipauthserve starts normally as well as smqueue.

When watching the 29c3 video,after finishing configuring transceiver file, before launching openbts, it looks like a command related to an ARFCN is given from inside the directory where the transceiver is residing, which command is that?

My OpenBTS.db config is supplied below

regards
Erich

sqlite> SELECT * FROM CONFIG;
CLI.SocketPath|/var/run/command|0|0|Path for Unix domain datagram socket used for the OpenBTS console interface.
Control.Reporting.PhysStatusTable|/var/run/OpenBTSChannelTable.db|1|0|File path for channel status reporting
 database.  Static.
Control.Reporting.TransactionTable|/var/run/TransactionTable.db|1|0|File path for transaction table database.  Static.
Control.Reporting.TMSITable|/var/run/OpenBTSTMSITable.db|1|0|File path for TMSITable database.  Static.
Control.Call.QueryRRLP.Early||0|1|If not NULL, query every MS for its location via RRLP during the setup of a call.
Control.Call.QueryRRLP.Late||0|1|If not NULL, query every MS for its location via RRLP during the teardown of a call.
Control.GSMTAP.TargetIP|127.0.0.1|0|1|Target IP address for GSMTAP packets; the IP address of Wireshark, if you use it for GSM.
Control.LUR.AttachDetach|1|0|0|Attach/detach
 flag.  Set to 1 to use attach/detach procedure, 0 otherwise.  This will
 make initial LUR more prompt.  It will also cause an un-regstration if 
the handset powers off and really heavy LUR loads in areas with spotty 
coverage.
Control.LUR.FailedRegistration.Message|Your
 handset is not provisioned for this network. |0|1|If defined, send this
 text message, followed by the IMSI, to unprovisioned handsets that are 
denied  registration.
Control.LUR.FailedRegistration.ShortCode|1000|0|1|The
 return address for the failed registration message.  If the message is 
defined, this must also be defined.
Control.LUR.NormalRegistration.Message||0|1|If
 defined, send this text message, followed by the IMSI, to provisioned 
handsets when they attach on Um.
Control.LUR.NormalRegistration.ShortCode|0000|0|1|The
 return address for the normal registration message.  If the message is 
defined, this must also be defined.
Control.LUR.OpenRegistration|.*|0|1|If not NULL, allow unprovisioned handsets to attach in Um.
Control.LUR.OpenRegistration.Message|Welcome
 to the GSM test network.  Your IMSI is |0|1|If defined, send this text 
message, followed by the IMSI, to unprovisioned handsets when they 
attach on Um due
 to open registration.
Control.LUR.OpenRegistration.ShortCode|101|0|1|The
 return address for the open registration message.  If the message is 
defined, this must also be defined.
Control.LUR.QueryClassmark||0|1|If not NULL, query every MS for classmark during LUR.
Control.LUR.QueryIMEI||0|1|If not NULL, query every MS for IMSI during LUR.
Control.LUR.QueryRRLP||0|1|If not NULL, query every MS for its location via RRLP during LUR.
Control.LUR.SendTMSIs||0|1|If not NULL, send new TMSI assignments to handsets that are allowed to attach.
Control.LUR.UnprovisionedRejectCause|0x04|0|0|Reject
 cause for location updating failures for unprovisioned phones.  Reject 
causes come from GSM 04.08 10.5.3.6.  Reject cause 0x04, IMSI not in 
VLR, is usually the right one.
Control.NumSQLTries|3|0|0|Number of times to retry SQL queries before declaring a database access failure.
Control.SMS.QueryRRLP||0|1|If not NULL, query every MS for
 its location via RRLP during an SMS.
Control.TMSITable.MaxAge|72|0|0|Maximum allowed age for a TMSI in hours.
Control.TMSITable.MaxSize|100000|0|0|Maximum size of TMSI table before oldest TMSIs are discarded.
Control.VEA|1|0|1|If
 not NULL, user very early assignment for speech call establishment.  
See GSM 04.08 Section 7.3.2 for a detailed explanation of assignment 
types. If VEA is selected, GSM.CellSelection.NECI should be set to 1.  
See GSM 04.08 Sections 9.1.8 and 10.5.2.4 for an explanation of the NECI
 bit.
GSM.CCCH.AGCH.QMax|5|0|0|Maximum number of access grants to be queued for transmission on AGCH before declaring congrestion.
GSM.CCCH.CCCH-CONF|1|0|0|CCCH
 configuration type.  See GSM 10.5.2.11 for encoding.  Value of 1 means 
we are using a C-V beacon.  Any other value selects a C-IV beacon.
GSM.Channels.SDCCHReserve|0|0|0|Number of SDCCHs to reserve for non-LUR operations. This can be used to force LUR
 transactions into a lower priority.
GSM.CellSelection.CELL-RESELECT-HYSTERESIS|3|0|0|Cell
 Reselection Hysteresis.  See GSM 04.08 10.5.2.4, Table 10.5.23 for 
encoding.  Encoding is $2N$ dB, values of $N$ are 0...7 for 0...14 dB.
GSM.CellSelection.MS-TXPWR-MAX-CCH|0|0|0|Cell selection parameters.  See GSM 04.08 10.5.2.4.
GSM.CellSelection.NCCsPermitted|1|0|0|NCCs
 Permitted.  An 8-bit mask of allowed NCCs.  Unless you are coordinating
 with another carrier, this should probably just select your own NCC.
GSM.CellSelection.NECI|1|0|0|NECI,
 New Establishment Causes.  This must be set to "1" if you want to 
support very early assignment (VEA).  It can be set to "1" even if you 
do not use VEA, so you might as well leave it as "1".  See GSM 04.08 
10.5.2.4, Table 10.5.23 and 04.08 9.1.8, Table 9.9 and the Control.VEA 
parameter.
GSM.CellSelection.Neighbors|NULL|0|0|ARFCNs of neighboring
 cells.
GSM.CellSelection.RXLEV-ACCESS-MIN|0|0|0|Cell selection parameters.  See GSM 04.08 10.5.2.4.
GSM.Channels.C1sFirst||1|0|If
 not NULL, allocate C-I slots first, starting at C0T1.  Otherwise, 
allocate C-VII slots first.  Static.
GSM.Channels.NumC1s|7|1|0|Number
 of Combination-I timeslots to configure.  The C-I slot carries a single
 full-rate TCH, used for speech calling.  Static.
GSM.Channels.NumC7s|0|1|0|Number
 of Combination-VII timeslots to configure.  The C-VII slot carries 8 
SDCCHs, useful to handle high registration loads or SMS.  If C0T0 is 
C-IV, you must have at least one C-VII also.  Static.
GSM.Control.GPRSMaxIgnore|5|0|1|The maximum number of suspension requests to ignore before aborting a transaction.
GSM.Identity.BSIC.BCC|2|0|0|GSM
 basestation color code; lower 3 bits of the BSIC.  BCC values in a 
multi-BTS network should be assigned so that BTS units with overlapping
 coverage do not share a BCC.  This value will also select the training 
sequence used for all slots on this unit.
GSM.Identity.BSIC.NCC|0|0|0|GSM
 network color code; upper 3 bits of the BSIC.  Assigned by your 
national regulator.  Must be distinct from NCCs of other GSM operators 
in your area.
GSM.Identity.CI|10|0|0|Cell ID, 16 bits.  Should be unique.
GSM.Identity.LAC|1000|0|0|Location
 area code, 16 bits, values 0xFFxx are reserved.  For multi-BTS 
networks, assign a unique LAC to each BTS unit.  (That is not the normal
 procedure in conventional GSM networks, but is the correct procedure in
 OpenBTS networks.)
GSM.Identity.MCC|001|0|0|Mobile country code, 2 or 3 digits.  Defined in ITU-T E.212.
GSM.Identity.MNC|01|0|0|Mobile network code; Must be 3 dgits.  Assigned by your national regulator.
GSM.Identity.ShortName|OpenBTS|0|1|Network short name, displayed on some phones.  Optional but must be
 defined if you also want the network to send time-of-day.
GSM.Identity.ShowCountry|1|0|0|If not NULL, tell the phone to show the country name based on the MCC.
GSM.MS.Power.Damping|50|0|0|Damping value for MS power control loop.
GSM.MS.Power.Max|33|0|0|Maximum commanded MS power level in dBm.
GSM.MS.Power.Min|5|0|0|Minimum commanded MS power level in dBm.
GSM.MS.TA.Damping|50|0|0|Damping value for timing advance control loop.
GSM.MS.TA.Max|5|0|0|Maximum
 allowed timing advance in symbol periods.  Ignore RACH bursts with 
delays greater than this.  Can be used to limit service range.
GSM.MaxSpeechLatency|2|0|0|Maximum
 allowed speech buffering latency, in 20 ms frames.  If the jitter is 
larger than this delay, frames will be lost.
GSM.RACH.AC|1024|0|0|Access
 class flags.  This is the raw parameter sent on the BCCH.  See GSM 
04.08 10.5.2.29 for encoding.  Set to 0 to allow full access.  If you do
 not
 have proper PSAP integration, set to 0x0400 to indicate no support for 
emergency calls.
GSM.RACH.MaxRetrans|3|0|0|Maximum RACH 
retransmission attempts.  This is the raw parameter sent on the BCCH.  
See GSM 04.08 10.5.2.29 for encoding.
GSM.RACH.TxInteger|8|0|0|Parameter
 to spread RACH busts over time.  This is the raw parameter sent on the 
BCCH.  See GSM 04.08 10.5.2.29 for encoding.
GSM.Radio.ARFCNs|1 |1|0|The number of ARFCNs to use.  The ARFCN set will be C0, C0+2, C0+4, etc.  Static.
GSM.RADIO-LINK-TIMEOUT|15|0|0|
 L1 radio link timeout.  This is the raw parameter sent on the BCCH; see
 GSM 10.5.2.3 for encoding. Should be coordinated with T3109.
GSM.RRLP.ACCURACY|40|0|0|Requested accuracy of location request. K in 10(1.1**K-1). See 3GPP 03.32, sect 6.2
GSM.RRLP.ALMANAC.REFRESH.TIME|24.0|0|0|How often the almanac is refreshed, in
 hours
GSM.RRLP.ALMANAC.URL|http://www.navcen.uscg.gov/?pageName=currentAlmanac&format=yuma|0|0|URL of almanac source.
GSM.RRLP.EPHEMERIS.REFRESH.TIME|1.0|0|0|How often the ephemeris is refreshed, in hours.
GSM.RRLP.EPHEMERIS.URL|ftp://ftp.trimble.com/pub/eph/CurRnxN.nav|0|0|URL of ephemeris source.
GSM.RRLP.RESPONSETIME|4|0|0|Mobile
 timeout. (OpenBTS timeout is 130 sec = max response time + 2.) N in 
2**N. See 3GPP 04.31 sect A.2.2.1
GSM.RRLP.SEED.ALTITUDE|0|0|0|Seed altitude in meters wrt geoidal surface.
GSM.RRLP.SEED.LATITUDE|37.8720708|0|0|Seed latitude in degrees.  -90 (south pole) .. +90 (north pole)
GSM.RRLP.SEED.LONGITUDE|-122.2578337|0|0|Seed longitude in degrees.  -180 (west of greenwich) .. 180 (east)
GSM.RRLP.SERVER.URL|http://localhost/cgi-bin/rrlpserver.cgi|0|0|URL of RRLP server.
GSM.RRLP.ALMANAC.ASSIST.PRESENT|0|0|0|1=send almanac info to mobile; 0=do
 not
GSM.RRLP.EPHEMERIS.ASSIST.COUNT|9|0|0|number of satellites to include in navigation model
GSM.Radio.Band|1800|1|0|The
 GSM operating band.  Valid values are 850 (GSM850), 900 (PGSM900), 1800
 (DCS1800) and 1900 (PCS1900).  For most Range models, this value is 
dictated by the hardware and should not be changed.  Static.
GSM.Radio.C0|525|1|0|The C0 ARFCN.  Also the base ARFCN for a multi-ARFCN configuration.  Static.
GSM.Radio.MaxExpectedDelaySpread|1 |0|0|Expected worst-case delay spread in symbol periods, roughly 3.7 us or 1.1 km per unit.
GSM.Radio.PowerManager.MaxAttenDB|10|0|0|Maximum
 transmitter attenuation level, in dB wrt full scale on the D/A output. 
 This sets the minimum power output level in the output power control 
loop.
GSM.Radio.PowerManager.MinAttenDB|0|0|0|Minimum transmitter 
attenuation level, in dB wrt full scale on the D/A output.  This sets 
the maximum power output level in the
 output power control loop.
GSM.Radio.PowerManager.NumSamples|10|0|0|Number of samples averaged by the output power control loop.
GSM.Radio.PowerManager.Period|6000|0|0|
GSM.Radio.PowerManager.SamplePeriod|2000|0|0|Sample period for the output power control loop.
GSM.Radio.PowerManager.TargetT3122|5000|0|0|Target
 value for T3122, the random access hold-off timer, for the power 
control loop.
GSM.Radio.RSSITarget|-50|0|0|Target uplink RSSI for MS 
power control loop, in dB wrt to A/D full scale.  Should be 6-10 dB 
above the noise floor.
GSM.Radio.NeedBSIC|1|0|0|Does the Radio type require the full BSIC
GSM.Timer.T3113|10000|0|0|Paging
 timer T3113 in ms.  This is the timeout for a handset to respond to a 
paging request.  This should usually be the same as SIP.Timer.B in your 
VoIP network.
GSM.Timer.T3122Max|255000|0|0|Maximum allowed value for T3122, the RACH holdoff timer, in
 milliseconds.
GSM.Timer.T3122Min|2000|0|0|Minimum allowed value for T3122, the RACH holdoff timer, in milliseconds.
GSM.Timer.T3212|30|0|0|Registration
 timer T3212 period in minutes.  Should be a factor of 6.  Set to 0 to 
disable periodic registration.  Should be smaller than SIP registration 
period.
Log.Alarms.Max|20|0|0|Maximum number of alarms to remember inside the application.
Log.Level.CallControl.cpp|INFO|0|1|Default configuration logs a trace at L3.
Log.Level.MobilityManagement.cpp|INFO|0|1|Default configuration logs a trace at L3.
Log.Level.RadioResource.cpp|INFO|0|1|Default configuration logs a trace at L3.
Log.Level.SMSControl.cpp|INFO|0|1|Default configuration logs a trace at L3.
NTP.Server|pool.ntp.org|0|1|NTP
 server(s) for time-of-day clock syncing.  For multiple servers, use a 
space-delimited list.  If left undefined, NTP will not be used, but it 
is strongly
 recommended.
RTP.Range|98|1|0|Range of RTP port pool.  Pool is RTP.Start to RTP.Range-1.  Static.
RTP.Start|16484|1|0|Base of RTP port pool.  Pool is RTP.Start to RTP.Range-1.  Static.
SIP.RFC3428.NoTrying|0|0|1|If
 NULL or 0, send 100 Trying response to SIP MESSAGE, even though that 
violates RFC-3428. In other words, to actually comply with the RFC, set 
this to something other than NULL or 0
SIP.DTMF.RFC2833|1|0|1|If not NULL, use RFC-2833 (RTP event signalling) for in-call DTMF.
SIP.DTMF.RFC2833.PayloadType|101|0|1|Payload
 type to use for RFC-2833 telephone event packets.  If SIP.DTMF.2833 is 
defined, this must also be defined.
SIP.DTMF.RFC2967||0|1|If not NULL, use RFC-2967 (SIP INFO method) for in-call DTMF.
SIP.Local.IP|127.0.0.1|1|0|IP
 address of the OpenBTS machine as seen by its proxies.  If these are 
all local, this can be localhost.  Static.
SIP.Local.Port|5062|1|0|IP port that OpenBTS
 uses for its SIP interface.  Static.
SIP.MaxForwards|5|0|0|Maximum allowed number of referrals.
SIP.Proxy.Registration|127.0.0.1:5064|0|0|The
 IP host and port of the proxy to be used for registration and 
authentication.  This should normally be the subscriber registry SIP 
interface, not Asterisk.
SIP.Proxy.SMS|127.0.0.1:5063|0|0|The IP host and port of the proxy to be used for text messaging.  This is smqueue, for example.
SIP.Proxy.Speech|127.0.0.1:5060|0|0|The
 IP host and port of the proxy to be used for normal speech calls.  This
 is Asterisk, for example.
SIP.RegistrationPeriod|90|0|0|Registration period in minutes for MS SIP users.  Should be longer than GSM T3212.
SIP.SMSC|smsc|0|1|The
 SMSC handler in smqueue.  This is the entity that handles full 3GPP 
MIME-encapsulted TPDUs.  If not defined, use direct numeric addressing. 
 Normally the value is NULL if SMS.MIMIEType is "text/plain" or
 "smsc" if SMS.MIMEType is "application/vnd.3gpp".
SIP.Timer.A|500|0|0|INVITE retransmit period in ms.
SIP.Timer.B|10000|0|0|INVITE transaction timeout in ms.  This value should usually match GSM.Timer.T3113.
SIP.Timer.E|500|0|0|Non-INVITE initial request retransmit period in ms.
SIP.Timer.F|5000|0|0|Non-INVITE initial request timeout in ms.
SIP.Timer.J|500|0|0|Non-INVITE non-initial request retransmit period in ms.
SIP.Timer.H|5000|0|0|ACK timeout period in ms.
SIP.Timer.I|500|0|0|ACK retransmit period in ms.
SMS.DefaultDestSMSC|0000|0|0|Use this to fill in L4 SMSC address in SMS submission.
SMS.FakeSrcSMSC|0000|0|0|Use this to fill in L4 SMSC address in SMS delivery.
SMS.MIMEType|application/vnd.3gpp.sms|0|0|This
 is the MIME Type that OpenBTS will use for RFC-3428 SIP MESSAGE 
payloads.  Valid values are "application/vnd.3gpp.sms" and "text/plain".
SubscriberRegistry.Manager.Title|Subscriber Registry|0|0|Title
 of subscriber registry database manager web page.
SubscriberRegistry.Manager.Url|http://127.0.0.1/cgi/srmanager.cgi|0|0|URL of the subscriber registry database manager.
SubscriberRegistry.Manager.VisibleColumns|name
 username type context host|0|0|Field names in subscriber registry 
visible in the database manager.
SubscriberRegistry.db|/var/lib/asterisk/sqlite3dir/sqlite3.db|0|0|The
 location of the sqlite3 database holding the subscriber registry.
SubscriberRegistry.Port|5064|0|0|Port
 used by the SIP Authentication Server. NOTE: In some older releases 
(pre-2.8.1) this is called SIP.myPort.
TRX.IP|127.0.0.1|1|0|IP address of the transceiver application.  Static.
TRX.Port|5700|1|0|IP port of the transceiver application.  Static.
TRX.RadioFrequencyOffset|128|1|0|Fine-tuning
 adjustment for the transceiver master clock.  Roughly 170 Hz/step.  Set
 at the factory.  Do not adjust without proper calibration. 
 Static.
TRX.Timeout.Clock|10|0|1|How long to wait during a read operation from the transceiver before giving up.
TRX.Timeout.Start|2|0|1|How long to wait during system startup before checking to see if the transceiver can be reached.
TRX.TxAttenOffset|2|1|0|Hardware-specific
 gain adjustment for transmitter, matched to the power amplifier, 
expessed as an attenuationi in dB.  Set at the factory.  Do not adjust 
without proper calibration.  Static.
Control.Reporting.StatsTable|/var/log/OpenBTSStats.db|0|1|
MNC|02|0|1|
GSM.Radio.RxGain|47|0|1|
Log.Level|WARNING|0|1|
root at bt:~# 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/baseband-devel/attachments/20130314/943caab7/attachment.html>


More information about the baseband-devel mailing list