Recent Posts

Pages: [1] 2 3 ... 10
1
Other Yate server issues / call forwarding issue
« Last post by humai on Today at 06:03:11 AM »
Hi,
I have a call forwarding issue:
when somebody in the company sets his phone to forward all incoming calls to another number it goes directly to the user 10, not to the forwarding number.
this is my regexroute.conf:

Code: [Select]
[priorities]
;preroute=10
;route=10
prerouteall=yes

[extra]
call.execute=80
call.update=50

[call.execute]
^.*$=echo DEBUG - call executed, caller '${caller}' called '${called}' '${formats}' '${sip_to}' callername '${callername}'
${callto}^earlymedia$=return;callto=moh/default;fork.calltype=persistent;fork.autoring=true;fork.automessage=call.progress

[call.update]
${mute}true^=return
^.*$=echo DEBUG - Channel '${id}' is now on-hold
; Replace the source with MOH, getting off hold will put back a RTP
.*=enqueue chan.masquerade;message=chan.attach;id=${id};source=moh/default

[contexts]
^.*$=echo DEBUG - contexts started

;company
${address}^[ISP-IP]:5060$=company
^.*$=echo DEBUG - Assigned company $(address)

;TELco
${address}^[ISP-IP]:8060$=TELco
^.*$=echo DEBUG - Assigned TELco $(address)

${caller}^10=company
${caller}^11=company
${caller}^12=company
${caller}^13=company
${caller}^14=company
${caller}^15=company
${caller}^16=company
${caller}^17=company
${caller}^18=company
${caller}^21=company
${caller}^22=company
${caller}^23=company
${caller}^24=company
${caller}^25=company
${caller}^26=company
${caller}^27=company
${caller}^28=company
${caller}^29=company
${caller}^30=company
${caller}^31=company
${caller}^32=company
${caller}^33=company
${caller}^34=company
${caller}^35=company
${caller}^36=company
${caller}^37=company
${caller}^38=company
${caller}^39=company
${caller}^40=company
${caller}^41=company
${caller}^42=company
${caller}^43=company
${caller}^44=company
${caller}^45=company
${caller}^46=company
${caller}^47=company
${caller}^48=company
${caller}^49=company
${caller}^50=company
${caller}^51=company
${caller}^52=company
${caller}^53=company
${caller}^54=company
${caller}^55=company
${caller}^56=company
${caller}^57=company
${caller}^58=company
${caller}^59=company
${caller}^68=company
${caller}^69=company
${caller}^70=company
${caller}^71=company
${caller}^72=company
${caller}^73=company
${caller}^80=company
${caller}^81=company
${caller}^90=company
${caller}^91=company
${caller}^99=company

;####################### company #######################
[company]
^.*$=echo DEBUG - caller '${caller}' from [company-section] called: '${called}' '${formats}' '${sip_to}' callername '${callername}'

;Doorbell
^63$=fork lateroute/690 lateroute/610 lateroute/611 lateroute/612 lateroute/614 lateroute/615 lateroute/616 lateroute/617 lateroute/621 lateroute/622 lateroute/623 lateroute/624 lateroute/625 lateroute/626 lateroute/627 lateroute/628 lateroute/629 lateroute/630 lateroute/631 lateroute/632 lateroute/633 lateroute/634 lateroute/635 lateroute/636 lateroute/637 lateroute/638 lateroute/639 lateroute/641 lateroute/642 lateroute/643 lateroute/645 lateroute/646 lateroute/647 lateroute/648 lateroute/649 lateroute/651 lateroute/652 lateroute/653 lateroute/654 lateroute/655 lateroute/656 lateroute/671

;website hotline
^100$=fork lateroute/18 lateroute/17 lateroute/012345678

;calling wp forward
^91$=fork lateroute/012345678

^2000$=pickup/sip/10

;Voicemail
^77$=wave/record//tmp/recordings/7.slin
^78$=wave/play//tmp/recordings/7.slin

^700$=park/1
^800$=pickup/park/1

^88$=echo ${id}
^88$=moh/default

;FAX
^99$=echo ${id}
^99$=external/nodata/k1.php

^0.*=line/\0;line=TELco-xxxxx

;######################## TELco ###########################
[TELco]
^.*$=echo DEBUG - caller '${caller}' from [TELco-section] called: '${called}' '${formats}' '${sip_to}' callername '${callername}'

^012345678$=fork earlymedia sip/sip:10@[ISP-IP] |next=10000 lateroute/10 lateroute/114 lateroute/115 lateroute/116 lateroute/117 lateroute/118 lateroute/121 lateroute/122 lateroute/123 lateroute/124 lateroute/125 lateroute/126 lateroute/127 lateroute/128 lateroute/129 lateroute/130 lateroute/131 lateroute/132 lateroute/133 lateroute/134 teroute/135 lateroute/136 lateroute/137 lateroute/138 lateroute/156 lateroute/171
^012345678\(.*\)$=fork earlymedia sip/sip:\1@[ISP-IP] |next=10000 sip/sip:10@[ISP-IP] |next=10000 lateroute/114 lateroute/115 lateroute/116 lateroute/117 lateroute/118 lateroute/121 lateroute/123 lateroute/124 lateroute/125 lateroute/126 lateroute/127 lateroute/128 lateroute/129 lateroute/130 lateroute/131 lateroute/132 lateroute/133 lateroute/134 lateroute/135 lateroute/136 lateroute/137 lateroute/138 lateroute/156

.*=-;error=forbidden;reason=not allowed here

;######################## default ###########################
[default]

^0.*=;caller=companyNumber${caller}
^0.*=line/\0;line=TELco-xxxxx

^.*$=echo DEBUG - [default] address:${address}, context:${context}, called:${called}

${username}^$=-;error=noauth
${context}^$=-;error=nocontext

.*=-;error=forbidden;reason=not allowed here

2
Webinar:
How to use the LTE call box to test LTE IoT devices

Thursday, October 25th   |   3PM UTC




We will show you how to:
Use the YateBTS LTE LabKit as a "call box" to provide a locally-managed LTE network for IoT device testing and development
Get performance measurements for your device
Control network configuration
Simulate different coverage conditions


Speakers:
David Burgess, YateBTS fouder
Robert Ghilduta, CEO of Nuand


Register Now >>



3
Webinar:
How to use the LTE call box to test LTE IoT devices

Thursday, October 25th   |   3PM UTC




We will show you how to:
Use the YateBTS LTE LabKit as a "call box" to provide a locally-managed LTE network for IoT device testing and development
Get performance measurements for your device
Control network configuration
Simulate different coverage conditions


Speakers:
David Burgess, YateBTS fouder
Robert Ghilduta, CEO of Nuand


Register Now >>



4
Yate bugs / Re: Routing Area Identification Not Set Correctly
« Last post by John on Today at 03:02:48 AM »
Same problem here!
Code: [Select]
Yate 6.1.1 devel1 r6325Maybe this probles is related to my post https://forum.yate.ro/index.php?topic=2004.0
and some device cannot accept this LA so GPRS doesn't works!
5
Yate bugs / Re: No GPRS connection with some devices
« Last post by John on October 15, 2018, 10:10:22 AM »
I'm trying to go deep into the problem, i fond some difference in my devices and i wanna show to you.

In the GGSN log for the honor device i got a persistent loop blocked into "RAU"

Code: [Select]
10:31:51.9:ip link set sgsntun0 up
 10:31:52.2:ip route add to 192.168.99.0/24 dev sgsntun0
 10:34:50.9:SGSN: Received GPRS SuspensionRequest for tlli=0xeb28e958
 10:34:54.6:SGSN: Created SgsnInfo: MS#1,TLLI=ab28e958 (TLLI=0xab28e958) ConnID=-1 (-1) [0x7f13a4031230]
 10:34:54.6:LLC: llcWriteLowSide sapi=1
 10:34:54.6:LLC: UI::llcProcess
 10:34:54.6:LLC: LlcEntityGmm lleUplinkData
 10:34:54.6:SGSN: Received RoutingAreaUpdateRequest mUpdateType=0 mFollowOnRequestPending=0 mobileId=not present addtionalMobileId=not present drx=8192 tmsiStatus=0 pdpContextStatus=PdpContextStatus=0,0 mCypheringKeySequenceNumber=1 oldRaId=MCC=222 MNC=88f LAC=14506 RAC=0 mOldPtmsiSignature=10620458 mRequestedReadyTimerValue=22 mMsNetworkCapability=ByteVector(size=3 data: e5 60 0c)
  MsRaCapability[GSM_E]=( GPRSMultislotClass=12 GPRSExtendedDynamicAllocationCapability=1 GERANFeaturePackage1=1)
  MsRaCapability[GSM_1800]=( GPRSMultislotClass=12 GPRSExtendedDynamicAllocationCapability=1 GERANFeaturePackage1=1)
  MsRaCapability[GSM_850]=( GPRSMultislotClass=12 GPRSExtendedDynamicAllocationCapability=1 GERANFeaturePackage1=1)
 MS#1,TLLI=ab28e958 (TLLI=0xab28e958) ConnID=-1 (-1) [0x7f13a4031230]
 10:34:54.6:SGSN: Received RA Update Req on  MS#1,TLLI=ab28e958 (TLLI=0xab28e958) ConnID=-1 (-1) [0x7f13a4031230]
 10:34:54.6:SGSN: Connection allocated to MS#1,TLLI=ab28e958 (TLLI=0xab28e958) ConnID=8193 (8193) [0x7f13a4031230]
 10:34:54.6:SGSN: Sending IdentityRequest mIdentityType=1 mForceToStandby=0 MS#1,TLLI=ab28e958 (TLLI=0xab28e958) ConnID=-2 (-2) [0x7f13a4031230] frame(first20)=ByteVector(size=3 data: 08 15 01)
 10:34:54.6:SGSN: Creating 'IdentityRequest' PDU with TLLI=0xab28e958,0x0 for  MS#1,TLLI=ab28e958
 10:34:55.1:LLC: llcWriteLowSide sapi=1
 10:34:55.1:LLC: UI::llcProcess
 10:34:55.1:LLC: LlcEntityGmm lleUplinkData
 10:34:55.1:SGSN: Received IdentityResponse mobileId= IMSI=xxxxxxxxxxxxx MS#1,TLLI=ab28e958 (TLLI=0xab28e958) ConnID=-2 (-2) [0x7f13a4031230]
 10:34:55.1:SGSN: Allocated new GMM info for MS#1,TLLI=ab28e958 (TLLI=0xab28e958) imsi=xxxxxxxxxxxxx ConnID=-2 (-2) [0x7f13a4031230]
 10:34:55.1:SGSN: Created SgsnInfo: (TLLI=0xc00af001) ConnID=-1 (-1) [0x7f13a4033f90]
 10:34:55.1:SGSN: Changing TLLI to MS#1,TLLI=ab28e958,c00af001 (TLLI=0xc00af001) imsi=xxxxxxxxxxxxx ConnID=-2 (-2) [0x7f13a4033f90]
 10:34:55.1:SGSN: adjusting connection MS#1,TLLI=ab28e958,c00af001 (TLLI=0xab28e958) imsi=xxxxxxxxxxxxx ConnID=-2 (-2) [0x7f13a4031230]
 10:34:55.1:SGSN: Sending RoutingAreaUpdateAccept mUpdateResult=0 mForceToStandby=0 ptmsi=0xaf001 MSIdentity(mTmsi)=0x0 RAUpdateTimer=5400 RAUpdateIE=0x49 PdpContextStatusCurrent=PdpContextStatus=0,0 MS#1,TLLI=ab28e958,c00af001 (TLLI=0xab28e958) imsi=xxxxxxxxxxxxx ConnID=-2 (-2) [0x7f13a4031230] frame(first20)=ByteVector(size=14 data: 08 09 00 49 17 22 17 03 e8 00 18 05 f4 00 0a f0 01 32 02 00)
 10:34:55.1:SGSN: Creating 'RoutingAreaUpdateAccept' PDU with TLLI=0xab28e958,0xc00af001 for  MS#1,TLLI=ab28e958,c00af001
 10:35:09.7:LLC: llcWriteLowSide sapi=1
 10:35:09.7:LLC: UI::llcProcess
 10:35:09.7:LLC: LlcEntityGmm lleUplinkData
 10:35:09.7:SGSN: Received RoutingAreaUpdateRequest mUpdateType=0 mFollowOnRequestPending=0 mobileId=not present addtionalMobileId=not present drx=8192 tmsiStatus=0 pdpContextStatus=PdpContextStatus=0,0 mCypheringKeySequenceNumber=1 oldRaId=MCC=222 MNC=88f LAC=14506 RAC=0 mOldPtmsiSignature=10620458 mRequestedReadyTimerValue=22 mMsNetworkCapability=ByteVector(size=3 data: e5 60 0c)
  MsRaCapability[GSM_E]=( GPRSMultislotClass=12 GPRSExtendedDynamicAllocationCapability=1 GERANFeaturePackage1=1)
  MsRaCapability[GSM_1800]=( GPRSMultislotClass=12 GPRSExtendedDynamicAllocationCapability=1 GERANFeaturePackage1=1)
  MsRaCapability[GSM_850]=( GPRSMultislotClass=12 GPRSExtendedDynamicAllocationCapability=1 GERANFeaturePackage1=1)
 MS#1,TLLI=ab28e958,c00af001 (TLLI=0xab28e958) imsi=xxxxxxxxxxxxx ConnID=-2 (-2) [0x7f13a4031230]
 10:35:09.7:SGSN: Received RA Update Req on  MS#1,TLLI=ab28e958,c00af001 (TLLI=0xab28e958) imsi=xxxxxxxxxxxxx ConnID=-2 (-2) [0x7f13a4031230]
 10:35:09.7:SGSN: Sending RoutingAreaUpdateAccept mUpdateResult=0 mForceToStandby=0 ptmsi=0xaf001 MSIdentity(mTmsi)=0x0 RAUpdateTimer=5400 RAUpdateIE=0x49 PdpContextStatusCurrent=PdpContextStatus=0,0 MS#1,TLLI=ab28e958,c00af001 (TLLI=0xab28e958) imsi=xxxxxxxxxxxxx ConnID=-2 (-2) [0x7f13a4031230] frame(first20)=ByteVector(size=14 data: 08 09 00 49 17 22 17 03 e8 00 18 05 f4 00 0a f0 01 32 02 00)
 10:35:09.7:SGSN: Creating 'RoutingAreaUpdateAccept' PDU with TLLI=0xab28e958,0xc00af001 for  MS#1,TLLI=ab28e958,c00af001
 10:35:24.5:LLC: llcWriteLowSide sapi=1
 10:35:24.5:LLC: UI::llcProcess
 10:35:24.5:LLC: LlcEntityGmm lleUplinkData
 10:35:24.5:SGSN: Received RoutingAreaUpdateRequest mUpdateType=0 mFollowOnRequestPending=0 mobileId=not present addtionalMobileId=not present drx=8192 tmsiStatus=0 pdpContextStatus=PdpContextStatus=0,0 mCypheringKeySequenceNumber=1 oldRaId=MCC=222 MNC=88f LAC=14506 RAC=0 mOldPtmsiSignature=10620458 mRequestedReadyTimerValue=22 mMsNetworkCapability=ByteVector(size=3 data: e5 60 0c)
  MsRaCapability[GSM_E]=( GPRSMultislotClass=12 GPRSExtendedDynamicAllocationCapability=1 GERANFeaturePackage1=1)
  MsRaCapability[GSM_1800]=( GPRSMultislotClass=12 GPRSExtendedDynamicAllocationCapability=1 GERANFeaturePackage1=1)
  MsRaCapability[GSM_850]=( GPRSMultislotClass=12 GPRSExtendedDynamicAllocationCapability=1 GERANFeaturePackage1=1)
 MS#1,TLLI=ab28e958,c00af001 (TLLI=0xab28e958) imsi=xxxxxxxxxxxxx ConnID=-2 (-2) [0x7f13a4031230]
 10:35:24.5:SGSN: Received RA Update Req on ....
and it goes for ever, so the sgsn dosn't get the ROUTINGAREACOMPLETE.

I can see the same on wireshark :

Code: [Select]
No.     Time           Source                Destination           Protocol Length Info
 217200 157.586892     192.168.100.4         192.168.100.121       GPRS-LLC 120    SAPI: LLGMM, UI, protected, non-ciphered information, N(U) = 3(DTAP) (GMM) Routing Area Update Request

Frame 217200: 120 bytes on wire (960 bits), 120 bytes captured (960 bits) on interface 0
Ethernet II, Src: Dell_68:2d:ec (64:00:6a:68:2d:ec), Dst: Pegatron_69:33:65 (4c:72:b9:69:33:65)
Internet Protocol Version 4, Src: 192.168.100.4, Dst: 192.168.100.121
User Datagram Protocol, Src Port: 51771, Dst Port: 4729
GSM TAP Header, ARFCN: 0 (Uplink), TS: 255, Channel: UNKNOWN (255)
MS-SGSN LLC (Mobile Station - Serving GPRS Support Node Logical Link Control)  SAPI: GPRS Mobility Management
GSM A-I/F DTAP - Routing Area Update Request

No.     Time           Source                Destination           Protocol Length Info
 217202 157.589253     192.168.100.4         192.168.100.121       GPRS-LLC 67     SAPI: LLGMM, UI, protected, non-ciphered information, N(U) = 0(DTAP) (GMM) Identity Request

Frame 217202: 67 bytes on wire (536 bits), 67 bytes captured (536 bits) on interface 0
Ethernet II, Src: Dell_68:2d:ec (64:00:6a:68:2d:ec), Dst: Pegatron_69:33:65 (4c:72:b9:69:33:65)
Internet Protocol Version 4, Src: 192.168.100.4, Dst: 192.168.100.121
User Datagram Protocol, Src Port: 51771, Dst Port: 4729
GSM TAP Header, ARFCN: 0 (Downlink), TS: 255, Channel: UNKNOWN (255)
MS-SGSN LLC (Mobile Station - Serving GPRS Support Node Logical Link Control)  SAPI: GPRS Mobility Management
GSM A-I/F DTAP - Identity Request

No.     Time           Source                Destination           Protocol Length Info
 217244 158.048129     192.168.100.4         192.168.100.121       GPRS-LLC 75     SAPI: LLGMM, UI, protected, non-ciphered information, N(U) = 4(DTAP) (GMM) Identity Response

Frame 217244: 75 bytes on wire (600 bits), 75 bytes captured (600 bits) on interface 0
Ethernet II, Src: Dell_68:2d:ec (64:00:6a:68:2d:ec), Dst: Pegatron_69:33:65 (4c:72:b9:69:33:65)
Internet Protocol Version 4, Src: 192.168.100.4, Dst: 192.168.100.121
User Datagram Protocol, Src Port: 51771, Dst Port: 4729
GSM TAP Header, ARFCN: 0 (Uplink), TS: 255, Channel: UNKNOWN (255)
MS-SGSN LLC (Mobile Station - Serving GPRS Support Node Logical Link Control)  SAPI: GPRS Mobility Management
GSM A-I/F DTAP - Identity Response

No.     Time           Source                Destination           Protocol Length Info
 217245 158.048434     192.168.100.4         192.168.100.121       GPRS-LLC 85     SAPI: LLGMM, UI, protected, non-ciphered information, N(U) = 1(DTAP) (GMM) Routing Area Update Accept

Frame 217245: 85 bytes on wire (680 bits), 85 bytes captured (680 bits) on interface 0
Ethernet II, Src: Dell_68:2d:ec (64:00:6a:68:2d:ec), Dst: Pegatron_69:33:65 (4c:72:b9:69:33:65)
Internet Protocol Version 4, Src: 192.168.100.4, Dst: 192.168.100.121
User Datagram Protocol, Src Port: 51771, Dst Port: 4729
GSM TAP Header, ARFCN: 0 (Downlink), TS: 255, Channel: UNKNOWN (255)
MS-SGSN LLC (Mobile Station - Serving GPRS Support Node Logical Link Control)  SAPI: GPRS Mobility Management
GSM A-I/F DTAP - Routing Area Update Accept

No.     Time           Source                Destination           Protocol Length Info
 217496 172.623109     192.168.100.4         192.168.100.121       GPRS-LLC 120    SAPI: LLGMM, UI, protected, non-ciphered information, N(U) = 5(DTAP) (GMM) Routing Area Update Request

Frame 217496: 120 bytes on wire (960 bits), 120 bytes captured (960 bits) on interface 0
Ethernet II, Src: Dell_68:2d:ec (64:00:6a:68:2d:ec), Dst: Pegatron_69:33:65 (4c:72:b9:69:33:65)
Internet Protocol Version 4, Src: 192.168.100.4, Dst: 192.168.100.121
User Datagram Protocol, Src Port: 51771, Dst Port: 4729
GSM TAP Header, ARFCN: 0 (Uplink), TS: 255, Channel: UNKNOWN (255)
MS-SGSN LLC (Mobile Station - Serving GPRS Support Node Logical Link Control)  SAPI: GPRS Mobility Management
GSM A-I/F DTAP - Routing Area Update Request

No.     Time           Source                Destination           Protocol Length Info
 217497 172.623412     192.168.100.4         192.168.100.121       GPRS-LLC 85     SAPI: LLGMM, UI, protected, non-ciphered information, N(U) = 2(DTAP) (GMM) Routing Area Update Accept

Frame 217497: 85 bytes on wire (680 bits), 85 bytes captured (680 bits) on interface 0
Ethernet II, Src: Dell_68:2d:ec (64:00:6a:68:2d:ec), Dst: Pegatron_69:33:65 (4c:72:b9:69:33:65)
Internet Protocol Version 4, Src: 192.168.100.4, Dst: 192.168.100.121
User Datagram Protocol, Src Port: 51771, Dst Port: 4729
GSM TAP Header, ARFCN: 0 (Downlink), TS: 255, Channel: UNKNOWN (255)
MS-SGSN LLC (Mobile Station - Serving GPRS Support Node Logical Link Control)  SAPI: GPRS Mobility Management
GSM A-I/F DTAP - Routing Area Update Accept

No.     Time           Source                Destination           Protocol Length Info
 217784 187.462624     192.168.100.4         192.168.100.121       GPRS-LLC 120    SAPI: LLGMM, UI, protected, non-ciphered information, N(U) = 6(DTAP) (GMM) Routing Area Update Request

Frame 217784: 120 bytes on wire (960 bits), 120 bytes captured (960 bits) on interface 0
Ethernet II, Src: Dell_68:2d:ec (64:00:6a:68:2d:ec), Dst: Pegatron_69:33:65 (4c:72:b9:69:33:65)
Internet Protocol Version 4, Src: 192.168.100.4, Dst: 192.168.100.121
User Datagram Protocol, Src Port: 51771, Dst Port: 4729
GSM TAP Header, ARFCN: 0 (Uplink), TS: 255, Channel: UNKNOWN (255)
MS-SGSN LLC (Mobile Station - Serving GPRS Support Node Logical Link Control)  SAPI: GPRS Mobility Management
GSM A-I/F DTAP - Routing Area Update Request

No.     Time           Source                Destination           Protocol Length Info
 217785 187.462911     192.168.100.4         192.168.100.121       GPRS-LLC 85     SAPI: LLGMM, UI, protected, non-ciphered information, N(U) = 3(DTAP) (GMM) Routing Area Update Accept

Frame 217785: 85 bytes on wire (680 bits), 85 bytes captured (680 bits) on interface 0
Ethernet II, Src: Dell_68:2d:ec (64:00:6a:68:2d:ec), Dst: Pegatron_69:33:65 (4c:72:b9:69:33:65)
Internet Protocol Version 4, Src: 192.168.100.4, Dst: 192.168.100.121
User Datagram Protocol, Src Port: 51771, Dst Port: 4729
GSM TAP Header, ARFCN: 0 (Downlink), TS: 255, Channel: UNKNOWN (255)
MS-SGSN LLC (Mobile Station - Serving GPRS Support Node Logical Link Control)  SAPI: GPRS Mobility Management
GSM A-I/F DTAP - Routing Area Update Accept

The only differences i can see are :
Code: [Select]
MsRaCapability[GSM_E]=( GPRSMultislotClass=12 GPRSExtendedDynamicAllocationCapability=1 GERANFeaturePackage1=1)
 MsRaCapability[GSM_1800]=( GPRSMultislotClass=12 GPRSExtendedDynamicAllocationCapability=1 GERANFeaturePackage1=1)
 MsRaCapability[GSM_850]=( GPRSMultislotClass=12 GPRSExtendedDynamicAllocationCapability=1 GERANFeaturePackage1=1)
for the HONOR device and

Code: [Select]
MsRaCapability[GSM_E]=( GPRSMultislotClass=10 GPRSExtendedDynamicAllocationCapability=1)
 MsRaCapability[GSM_850]=( GPRSMultislotClass=10 GPRSExtendedDynamicAllocationCapability=1)
 MsRaCapability[GSM_1800]=( GPRSMultislotClass=10 GPRSExtendedDynamicAllocationCapability=1)
for the huawei device.

I thing that GPRSMultislotClass is not a problem but GERANFeaturePackage1 may be a problem cause searching in the source code i found only this:
Code: [Select]
// Extended dynamic mode means # channels up > # channels down.
bool MSInfo::msCanUseExtendedUplink()
{
// The Blackberry and iphone set the GeranFeaturePackI bit, but
// the danged Multitech modems truncate the MS capabilities before
// the GeranFeaturePackI bit, even though they do support extended uplink TBF
// They are multislot class 12, so if the MS multislot class > 10, assume ok.
return gL2MAC.macUplinkPersist > 0 && this->msIsRegistered()
&& (this->sgsnGetGeranFeaturePackI(this->msTlli) ||
    this->sgsnGetMultislotClass(this->msTlli) > 10);
}
here https://github.com/ctxis/yate-bts/blob/7386c0e28867304a76e1bc101b0fcc61aefc5c38/mbts/GPRS/MSInfo.cpp.


I have an embedded device and this doesn't work, like honor, the error is quite similar, no gprs connection but the loop is on AttachRequest :
Code: [Select]
16:56:05.8:GGSN logging to file /tmp/ggsn.log
 16:56:05.8:ip link set sgsntun0 up
 16:56:06.1:ip route add to 192.168.99.0/24 dev sgsntun0
 16:56:48.0:SGSN: Created SgsnInfo: MS#1,TLLI=7dbcf269 (TLLI=0x7dbcf269) ConnID=-1 (-1) [0x7f1f44030a90]
 16:56:48.0:LLC: llcWriteLowSide sapi=1
 16:56:48.0:LLC: XID frame received size=0 llcsapi=1
 16:56:48.0:LLC: Sending XID command:01FB
 16:56:48.0:SGSN: Creating 'xid cmd' PDU with TLLI=0x7dbcf269,0x0 for  MS#1,TLLI=7dbcf269
 16:56:48.0:LLC: llcWriteLowSide sapi=1
 16:56:48.0:LLC: UI::llcProcess
 16:56:48.0:LLC: LlcEntityGmm lleUplinkData
 16:56:48.0:SGSN: Received AttachRequest mAttachType=1 mobileId= IMSI=xxxxxxxxxxxxx addtionalMobileId=not present drx=8192 tmsiStatus=0 pdpContextStatus=PdpContextStatus=ff,ff mCypheringKeySequenceNumber=1 oldRaId=MCC=222 MNC=99f LAC=65534 RAC=0 mOldPtmsiSignature=0 mRequestedReadyTimerValue=22 mMsNetworkCapability=ByteVector(size=3 data: e5 60 0c)
  MsRaCapability[GSM_E]=( GPRSMultislotClass=12 GPRSExtendedDynamicAllocationCapability=1 GERANFeaturePackage1=1)
  MsRaCapability[GSM_1800]=( GPRSMultislotClass=12 GPRSExtendedDynamicAllocationCapability=1 GERANFeaturePackage1=1)
  MsRaCapability[GSM_850]=( GPRSMultislotClass=12 GPRSExtendedDynamicAllocationCapability=1 GERANFeaturePackage1=1)
 MS#1,TLLI=7dbcf269 (TLLI=0x7dbcf269) ConnID=-1 (-1) [0x7f1f44030a90]
 received buffer 080103E5600C11200008292299227016441922F299FFFE001B1953432B2596420040000CD89632100200006EC6319080100002001716
 16:56:48.0:SGSN: Allocated new GMM info for MS#1,TLLI=7dbcf269 (TLLI=0x7dbcf269) imsi=xxxxxxxxxxxxx ConnID=-1 (-1) [0x7f1f44030a90]
 16:56:48.0:SGSN: Created SgsnInfo: (TLLI=0xc0030001) ConnID=-1 (-1) [0x7f1f44032080]
 16:56:48.0:SGSN: Changing TLLI to MS#1,TLLI=7dbcf269,c0030001 (TLLI=0xc0030001) imsi=xxxxxxxxxxxxx ConnID=-1 (-1) [0x7f1f44032080]
 16:56:48.0:SGSN: Connection allocated to MS#1,TLLI=7dbcf269,c0030001 (TLLI=0x7dbcf269) imsi=xxxxxxxxxxxxx ConnID=8193 (8193) [0x7f1f44030a90]
 16:56:48.0:SGSN:
 16:56:48.0:SGSN: Sending AttachAccept mAttachResult=1 mPTmsi=0x30001 mForceToStandby=0 RAUpdateTimer=5400 RAUpdateIE=0x49 mobileId=not present MCC=nwy MNC=nwy LAC=1000 RAC=0 MS#1,TLLI=7dbcf269,c0030001 (TLLI=0x7dbcf269) imsi=xxxxxxxxxxxxx ConnID=-2 (-2) [0x7f1f44030a90] frame(first20)=ByteVector(size=12 data: 08 02 01 49 44 17 22 17 03 e8 00 18 05 f4 00 03 00 01)
 16:56:48.0:SGSN: Creating 'AttachAccept' PDU with TLLI=0x7dbcf269,0xc0030001 for  MS#1,TLLI=7dbcf269,c0030001
 16:57:02.8:LLC: llcWriteLowSide sapi=1
 16:57:02.8:LLC: UI::llcProcess
 16:57:02.8:LLC: LlcEntityGmm lleUplinkData
 16:57:02.8:SGSN: Received AttachRequest mAttachType=1 mobileId= IMSI=xxxxxxxxxxxxx addtionalMobileId=not present drx=8192 tmsiStatus=0 pdpContextStatus=PdpContextStatus=ff,ff mCypheringKeySequenceNumber=1 oldRaId=MCC=222 MNC=99f LAC=65534 RAC=0 mOldPtmsiSignature=0 mRequestedReadyTimerValue=22 mMsNetworkCapability=ByteVector(size=3 data: e5 60 0c)
  MsRaCapability[GSM_E]=( GPRSMultislotClass=12 GPRSExtendedDynamicAllocationCapability=1 GERANFeaturePackage1=1)
  MsRaCapability[GSM_1800]=( GPRSMultislotClass=12 GPRSExtendedDynamicAllocationCapability=1 GERANFeaturePackage1=1)
  MsRaCapability[GSM_850]=( GPRSMultislotClass=12 GPRSExtendedDynamicAllocationCapability=1 GERANFeaturePackage1=1)
 MS#1,TLLI=7dbcf269,c0030001 (TLLI=0x7dbcf269) imsi=xxxxxxxxxxxxx ConnID=-2 (-2) [0x7f1f44030a90]
 received buffer 080103E5600C11200008292299227016441922F299FFFE001B1953432B2596420040000CD89632100200006EC6319080100002001716
 16:57:02.8:SGSN: Sending AttachAccept mAttachResult=1 mPTmsi=0x30001 mForceToStandby=0 RAUpdateTimer=5400 RAUpdateIE=0x49 mobileId=not present MCC=nwy MNC=nwy LAC=1000 RAC=0 MS#1,TLLI=7dbcf269,c0030001 (TLLI=0x7dbcf269) imsi=xxxxxxxxxxxxx ConnID=-2 (-2) [0x7f1f44030a90] frame(first20)=ByteVector(size=12 data: 08 02 01 49 44 17 22 17 03 e8 00 18 05 f4 00 03 00 01)
 16:57:02.8:SGSN: Creating 'AttachAccept' PDU with TLLI=0x7dbcf269,0xc0030001 for  MS#1,TLLI=7dbcf269,c0030001
 16:57:02.8:SGSN:
 16:57:17.9:LLC: llcWriteLowSide sapi=1
 16:57:17.9:LLC: UI::llcProcess
 16:57:17.9:LLC: LlcEntityGmm lleUplinkData
 16:57:17.9:SGSN: Received AttachRequest mAttachType=1

and here i have the same class and GERAN feature of the honor
Code: [Select]
MsRaCapability[GSM_E]=( GPRSMultislotClass=12 GPRSExtendedDynamicAllocationCapability=1 GERANFeaturePackage1=1)
  MsRaCapability[GSM_1800]=( GPRSMultislotClass=12 GPRSExtendedDynamicAllocationCapability=1 GERANFeaturePackage1=1)
  MsRaCapability[GSM_850]=( GPRSMultislotClass=12 GPRSExtendedDynamicAllocationCapability=1 GERANFeaturePackage1=1)

I wanna get GPRS connection, so Stay tuned! :)

6
YateBTS / Re: Cant detect cellular network
« Last post by Lfsnoob on October 15, 2018, 07:02:48 AM »
Yes this is a clean install since I flashed the sd card for os raspbian stretch. Thats strange, that the old transceiver files are there because I did follow the install guide you sent me.

yate --version
Yate 6.1.1 devel1 r6325
7
YateBTS / Re: Cant detect cellular network
« Last post by Ioana Stanciu on October 15, 2018, 02:59:43 AM »
Is this a clean install (meaning you removed configuration files also)? I stil see the transciever configuration that disappeared 3 years ago.
Is the install from the official sources (using YATE SVN https://wiki.yatebts.com/index.php/Installing) as per the tutorials from the YateBTS wiki links?
Which is the YATE version ('yate --version' command in a terminal) ?

Also, there is an option to attach files to forum posts.
8
YateBTS / Re: Cant detect cellular network
« Last post by Lfsnoob on October 12, 2018, 09:06:42 PM »
9
YateBTS / Re: Cant detect cellular network
« Last post by Lfsnoob on October 12, 2018, 09:58:57 AM »
;Controls measurement reports and cell reselection mode (MS autonomous or under network control); should not be changed
;Interval allowed 0:3
;Defaults to 2.
NC.NetworkControlOrder=2

;Network Mode of Operation. See GSM 03.60 Section 6.3.3.1 and 24.008 4.7.1.6.
;Allowed values are 1, 2, 3 for modes I, II, III.
;Mode II (2) is recommended.
;Mode I implies combined routing updating procedures.
NMO=2

;Code contols GPRS packet access priorities allowed. See GSM04.08 table  10.5.76.
;0=Packet access not allowed in the cell,
;3=Packet access allowed for priority level 1,
;4=Packet access allowed for priority level 1 to 2,
;5=Packet access allowed for priority level 1 to 3,
;6=Packet access allowed for priority level 1 to 4
PRIORITY-ACCESS-THR=6

;Minimum value for RRBP reservations, range 0..3. Should normally be 0. A non-zero value gives the MS more time to respond to the RRBP request.
RRBP.Min=0

;Enable TBF Reassignment.
Reassign.Enable=yes

;Should be 0 for current transceiver or 1 for deprecated version of transceiver.
SendIdleFrames=no

;Port number of the SGSN required for GPRS service.
;This must match the port specified in the SGSN config file, currently osmo_sgsn.cfg.
SGSN.port=1920

;How long in milliseconds a GPRS channel is idle before being returned to the pool of channels.
;Also depends on Channels.Min.
;Currently the channel cannot be returned to the pool while there is any GPRS activity on any channel.
;Interval allowed 3000:6000(100)
;Defaults to 6000.
Timers.Channels.Idle=6000

;How long in seconds an MS is idle before the BTS forgets about it
;Interval allowed 300:900(10)
;Defaults to 600.
Timers.MS.Idle=600

;How long in milliseconds a TBF is non-responsive before the BTS kills it
;Interval allowed 3000:9000(100)
;Defaults to 6000.
Timers.MS.NonResponsive=6000

;Nonresponsive downlink TBF resource release timer, in milliseconds. See GSM04.60 Section 13
;Interval allowed 2500:7500(100)
;Defaults to 5000
Timers.T3169=5000

;Nonresponsive downlink TBF resource release timer, in milliseconds. See GSM04.60 Section 13
;Interval allowed 2500:7500(100)
;Defaults to 5000
Timers.T3191=5000

;Timer T3193 (in milliseconds) in the base station corresponds to T3192 in the MS, which is set by GPRS.CellOptions.T3192Code
;The T3193 value should be slightly longer than that specified by the T3192Code
;If 0, the BTS will fill in a default value based on T3192Code
;Interval allowed 0:5000(100)
;Defaults to 0
Timers.T3193=0

;Nonresponsive downlink TBF resource release timer, in milliseconds. See GSM04.60 Section 13
;Interval allowed 2500:7500(100)
;Defaults to 5000
Timers.T3195=5000


[sgsn]
;Add layer-3 messages to the GGSN.Logfile, if any.
Debug=no

;GPRS attached MS is implicitly detached in seconds
;Should be at least 240 seconds greater than SGSN.Timer.RAUpdate. 3GPP 24.008 11.2.2.
;Interval allowed 2000:4000(10).
;Defaults to 3480.
Timer.ImplicitDetach=3480

;How long an MS is idle before the SGSN forgets TLLI specific information. Interval allowed 300:900(10). Defaults to 600.
Timer.MS.Idle=600

;How often the MS reports into the SGSN when it is idle, in seconds.
;Also known as T3312, 3GPP 24.008 4.7.2.2.
;Setting to 0 or >12000 deactivates entirely, i.e., sets the timer to effective infinity.
;Note: to prevent GPRS Routing Area Updates you must set both this and GSM.Timer.T3212 to 0.
;Interval allowed 0:11160(2)
;Defaults to 3240.
Timer.RAUpdate=3240

;Also known as T3314, 3GPP 24.008 4.7.2.1
;Inactivity period required before MS may perform another routing area or cell update, in seconds. Interval allowed 30:90. Defaults to 44.
Timer.Ready=44


[ggsn]
;The list of DNS servers to be used by downstream clients.
;By default, DNS servers are taken from the host system.
;To override, specify a space-separated list of the DNS servers, in IP dotted notation, eg: 1.2.3.4 5.6.7.8.
;To use the host system DNS servers again, execute 'unconfig GGSN.DNS'
;DNS=

; 0=no firewall; 1=block MS attempted access to OpenBTS or other MS; 2=block all private IP addresses
;Defaults to 1.
Firewall.Enable=1

;Maximum size of an IP packet.Should normally be 1520
;Allowed value 1492:9000
IP.MaxPacketSize=1520

;How long IP addresses are reserved after a session ends. Allowed value 120:240.
IP.ReuseTimeout=180

;Toss duplicate TCP/IP packets to prevent unnecessary traffic on the radio.
IP.TossDuplicatePackets=no

;If specified, internet traffic is logged to this file e.g. ggsn.log
Logfile.Name=ggsn.log

;Base IP address assigned to MS.
MS.IP.Base=192.168.99.1

;Number of IP addresses to use for MS. Allowed values 1:254
;Defaults to 254
MS.IP.MaxCount=254

;A route address to be used for downstream clients.
;By default, OpenBTS manufactures this value from the GGSN.MS.IP.Base assuming a 24 bit mask
;To override, specify a route address in the form xxx.xxx.xxx.xxx/yy.
;The address must encompass all MS IP addresses. To use the auto-generated value again, execute 'unconfig GGSN.MS.IP.Route'
;MS.IP.Route=

;A shell script to be invoked when MS devices attach or create IP connections.
;By default, this feature is disabled.
;To enable, specify an absolute path to the script you wish to execute e.g. /usr/bin/ms-attach.sh.
;To disable again, execute 'unconfig GGSN.ShellScript'
;ShellScript=

;Tunnel device name for GGSN.
TunName=sgsntun


[control]
;Use very early assignment for speech call establishment.
;See GSM 04.08 Section 7.3.2 for a detailed explanation of assignment types.
;See GSM 04.08 Sections 9.1.8 and 10.5.2.4 for an explanation of the NECI bit.
;Some handsets exhibit bugs when VEA is used that can affect performance.
;If VEA is selected, [gsm_advanced] CellSelection.NECI should be set to 1.
;Defaults to yes.
VEA=yes

;Use the attach/detach procedure. This will make initial LUR more prompt.
;It will also cause an un-registration if the handset powers off and really heavy LUR loads in areas with spotty coverage.
;Defaults to yes.
LUR.AttachDetach=yes

;RSSI decrease amount. Decrease the RSSI by this amount to induce more power in the MS each time we fail to receive a response from it.
;Interval allowed: 1..3
;Defaults to 1
SACCHTimeout.BumpDown=1


[transceiver]
;Path to the transceiver relative to where MBTS is started.
;Should be one of: ./transceiver-bladerf ./transceiver-rad1 ./transceiver-usrp1 ./transceiver-uhd.
;Defaults to ./transceiver
Path=./transceiver

;Extra arguments to be passed by MBTS to the transceiver executable.
;Defaults to no arguments.
;Args=

;Minimum signal strength (in dB) of acceptable bursts.
;Bursts received at the physical layer below this threshold are ignored.
;Do not adjust without proper calibration.
;Interval allowed: -90..90
;Defaults to -63
MinimumRxRSSI=-63

;Master clock frequency adjustment. Fine-tuning adjustment for the transceiver master clock, roughly 170 Hz/step.
;Set at the factory, do not adjust without proper calibration.
;Interval allowed: 64..192
;Defaults to empty value. Radios provide their own calibrated default. To see current value run 'mbts trxfactory' after connecting to rmanager interface.
;RadioFrequencyOffset=

;Transmitter attenuation in dB.
;Hardware-specific gain adjustment for transmitter, matched to the amplifier.
;Do not adjust without proper calibration
;Interval allowed: 0..100
;Defaults to empty value. Radios provide their own calibrated default. To see current value run 'mbts trxfactory' after connecting to rmanager interface.
;TxAttenOffset=

;Transceiver read timeout in seconds.
;How long to wait during a read operation from the transceiver before giving up
;Interval allowed: 5..15
;Defaults to 10
Timeout.Clock=10


[tapping]
;Capture GSM signaling at L1/L2 interface via GSMTAP
;Do not leave tapping enabled after finishing troubleshooting.
;Defaults to no.
GSM=no

;Capture GPRS signaling and traffic at L1/L2 interface via GSMTAP.
;Do not leave tapping enabled after finishing troubleshooting
;Defaults to no
GPRS=no

;Target IP address for GSMTAP packets.
;The IP address of receiving Wireshark, if you use it for real time traces.
TargetIP=127.0.0.1


[test]
;Probability (0-100) of dropping any downlink frame to test robustness.
SimulatedFER.Downlink=0

; Probability (0-100) of dropping any uplink frame to test robustness.
SimulatedFER.Uplink=0

;Probability (0-100) of flipping a bit in any uplink frame to test robustness.
UplinkFuzzingRate=0


[ybts]
;BTS mode of operation. This setting will specify which Javascript script
;to load for the operation. Possible values are:
;    - nipc: loads script necessary for Network In a PC mode of operation
;    - roaming: loads script necessary for the voice roaming mode of operation
mode=nipc

;Interval, in milliseconds, to send heartbeat (PING) to MBTS application.
;Ping is sent only if idle, e.g. it is not sent if there are other signalling packets to be sent.
;This parameter is applied on reload.
;Allowed interval: 1000 .. 120000
;Defaults to 30000
heartbeat_ping=30000

;Interval, in milliseconds, to wait for heartbeat (PING) or any other signalling packets from mbts application
;MBTS will be restarted if this timer ellapses
;This parameter is applied on reload
;Minimum allowed value is heartbeat_ping plus 3000, it will be automatically adjusted
;Maximum allowed value is 180000
;Defaults to 60000.
heartbeat_timeout=60000

;Interval, in milliseconds, to wait for handshake from the MBTS application after it's started
;MBTS will be restart if this timer ellapses
;This parameter is applied on reload
;Allowed interval: 10000 .. 300000
;Defaults to 60000.
handshake_start=60000

;Maximum number of restart attempts
;When start counter reaches this value the entire Yate application will exit!
;The start index is reset each time the peer notifies radio up after handshake.
;This parameter is applied on reload.
;Defaults to 10, minimum allowed value is 3
max_restart=10

;Command used to run the MBTS application.
;Defaults to expansion of ${modulepath}/server/bts/mbts
peer_cmd=${modulepath}/server/bts/mbts

;Optional command line parameter for the MBTS application.
;Defaults to no parameter.
;peer_arg=

;Directory to change after forking the MBTS application.
;Defaults to expansion of ${modulepath}/server/bts
peer_dir=${modulepath}/server/bts

;Print sent/received messages to output if debug is at level 9.
;Allowed values are boolean values or string.
;If a non boolean value is specified message buffer will be shown.
;This parameter is applied on reload.
;Defaults to yes if empty or missing.
print_msg=yes

;Print sent/received messages data.
;This parameter is ignored if message print is disabled.
;Allowed values are boolean values or string.
;If a non boolean value is specified (empty string also) message data will be printed in a friendly way (e.g. XML data will be printed with children on separate lines).
;This parameter is applied on reload.
;Defaults to verbose.
print_msg_data=verbose

;Ask for IMEI when updating location.
;This parameter is applied on reload.
;Defaults to yes
imei_request=yes

;Interval, in seconds, to keep TMSIs.
;This interval should be enforced in the applications, not ybts.cpp
;This parameter is applied on reload.
;Allowed interval: 7200..2592000.
tmsi_expire=864000

;Disconnect (hangup) timeout interval in milliseconds.
;After sending Disconnect the call will wait for Release or Release Complete.
;Release will be sent on timer expiry.
;This parameter is applied on reload.
;Interval allowed: 20000..60000
;Defaults to 30000
t305=30000

;Release timeout interval in milliseconds (wait for Release Complete).
;Release will be sent on first expiry, call reference will be released on second expiry.
;This parameter is applied on reload.
;Interval allowed: 4000..20000
;Defaults to 5000
t308=5000

;Connect (answer) timeout interval in milliseconds (wait for Connect Ack)
;Call reference will be released on expiry
;This parameter is applied on reload
;Interval allowed: 4000..20000
;Defaults to 5000
t313=5000

;Interval, in milliseconds, to wait for a MT SMS to complete
;This interval includes paging if needed.
;This parameter can be overridden in the msg.execute message by a 'timeout' parameter.
;This parameter is applied on reload.
;Interval allowed: 5000..600000
;Defaults to 300000
sms.timeout=300000

;Timeout, in milliseconds, of USSD sessions.
;This parameter configures the overall USSD session duration.
;When timed out a session will be terminated.
;This parameter can be overridden in the msg.execute message by a 'timeout' parameter.
;This parameter is applied on reload.
;Minimum allowed value is 30000.
;Defaults to 600000 (10 minutes)
ussd.session_timeout=600000

;Specify in which way the XML will be passed along into Yate messages.
;Allowed values are:
;- string: pass the XML as a string
;- object: pass the XML as an object
;- both: pass the XML as a string and object
;This parameter is applied on reload
;Defaults to object.
export_xml_as=object


[security]
;Interval (in milliseconds) to wait for a response to authentication requests.
;Authentication will be aborted on timer expiry.
;This parameter is applied on reload.
;Interval allowed: 5000..3600000
;Defaults to 720000
t3260=720000

;Authenticate MS on MT calls. This parameter is applied on reload. Defaults to 'no'.
auth.call=no

;Authenticate MS on MT SMS. This parameter is applied on reload. Defaults to 'no'.
auth.sms=no

;Authenticate MS on MT USSD. This parameter is applied on reload. Defaults to 'no'.
auth.ussd=no


[roaming]
;Expire time for registrations.
expires=3600

;String: ip:port where SIP requests are sent.
;It is REQUIRED to set reg_sip or nodes_sip.
;Example: reg_sip=192.168.1.245:5058
;reg_sip=

;json object: node => ip:port of each YateUCN server
;node, which is computed based on the TMSI received from the handset.
;This ensures that registrations are always sent to the same YateUCN server.Example: nodes_sip={"123":"192.168.1.245:5058","101":"192.168.1.176:5059"}
;nodes_sip=

;Int: Number of bits to use for
;the Non Access Stratum (NAS) Node Selection Function (NNSF).
nnsf_bits=8

;string: ip:port for the local SIP listener.
;Unless otherwise configured, this is the IP of the machine
;where YateBTS is installed.
;Example: my_sip=198.168.1.168
;my_sip=

;String: unique number that identies the cell in the national database
;Associated to each base station by the network operator.
;gstn_location=

;If possible decode and send the SMS as text/plain SIP MESSAGE body.
;By default the binary type application/vnd.3gpp.sms is used.
text_sms=no


[handover]
;Globally enable handover functions.
;Default is enabled.
enable=yes

;Comma separated list of neighbor SIP addresses.
;Each neighbor will be periodically queried for target handover availability.
;Example: neighbors=10.0.0.1, 10.0.0.2, 10.0.0.3:5065.
;Default is empty.
;neighbors=

;Text to place in the Reason SIP header.
;An empty or boolean false value disables the Reason header.
;Default: GSM;text="Handover".
reason=GSM;text="Handover"


[logging]
; This section controls the logging levels of MBTS.
; Level: keyword: Default logging level of MBTS.
; Valid values are: EMERG, ALERT, CRIT, ERR, WARNING, NOTICE, INFO, DEBUG.
; Defaults to NOTICE.
;Level=NOTICE
10
YateBTS / Re: Cant detect cellular network
« Last post by Lfsnoob on October 12, 2018, 09:58:42 AM »
After flashing my SDCard to a Raspbian Stretch for a clean install, I managed to build yate and yate bts. However, the results are the same. Here is my new build:
  bladeRF-cli version:        1.4.0-0.2016.06-1+b2
  libbladeRF version:         1.7.2-0.2016.06-1+b2

  Firmware version:           2.0.0
  FPGA version:               0.1.2

heres the new config files:
cat /usr/local/etc/yate/ybts.conf
[gsm]
;The GSM operating band.
;Valid values are 850 (GSM850), 900 (PGSM900), 1800 (DCS1800) and 1900 (PCS1900).
;For non-multiband units, this value is dictated by the hardware and should not be changed.
Radio.Band=900

;The C0 ARFCN. Also the base ARFCN for a multi-ARFCN configuration.Valid values depend on the selected Radio.Band.
;  GSM850: 128..251.
;  EGSM900: 0..124 or 975..1023.
;  DSC1800: 512..885.
;  PCS1900: 512..810.
;THERE IS NO DEFAULT, YOU MUST SET A VALUE HERE!
Radio.C0=0

;Mobile country code, must be three digits.
;The value 001 is reserved for for test networks.
;Defaults to 001 (Test Network)
Identity.MCC=001

;Mobile network code, two or three digits.
;The value 01 is usual for test networks with MCC 001.
;Defaults to 01 (Test Network, only in association with Identity.MCC=001)
Identity.MNC=01

;Location area code, 16 bits, values 0xFFxx are reserved.
;For multi-BTS networks, assign a unique LAC to each BTS unit.
;Interval allowed: 0..65280.
;Defaults to 1000 (arbitrary)
Identity.LAC=1000

;Cell ID, 16 bits, should be unique.
;Interval allowed: 0..65535.
;Defaults to 10 (arbitrary)
Identity.CI=10

;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.
;Interval allowed: 0..7.
;Defaults to 2 (arbitrary).
Identity.BSIC.BCC=2

;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.
;Interval allowed: 0..7. Defaults to 0.
Identity.BSIC.NCC=0

;Network short name, displayed on some phones.
;Optional but must be defined if you also want the network to send time-of-day.
;Defaults to YateBTS.
Identity.ShortName=thisdoesnotwork

;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.
;Interval allowed: 0..80. Defaults to 10 (-10dB)
Radio.PowerManager.MaxAttenDB=35

;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.
;Interval allowed: 0..80, must be less or equal to Radio.PowerManager.MaxAttenDB.
;Defaults to  0(dB) (maximum).
Radio.PowerManager.MinAttenDB=35


[gsm_advanced]
;Number of Combination-I timeslots to configure.
;The C-I slot carries a single full-rate TCH, used for speech calling.
;Interval allowed: 0..100. Default value: 7(all timeslots of a single ARFCN)
Channels.NumC1s=7

;Number of Combination-VII timeslots to configure.
;The C-VII slot carries 8 SDCCHs, useful to handle high registration loads, SMS or USSD.
;If C0T0 is C-IV, you must have at least one C-VII also.
;Interval allowed: 0..100.
;Defaults to 0(timeslots).
Channels.NumC7s=0

;Allocate C-I slots first, starting at C0T1.
;Defaults to no (allocate C-VII slots first).
Channels.C1sFirst=no

;Number of SDCCHs to reserve for non-LUR operations.
;This can be used to force LUR transactions into a lower priority.
;Interval allowed: 0..10.
;Defaults to 0(SDCCHs)
Channels.SDCCHReserve=0

;Maximum number of access grants to be queued for transmission on AGCH before declaring congestion.
;Interval allowed: 3..8.
;Defaults to 5
CCCH.AGCH.QMax=5

;CCCH configuration type.
;Values allowed: 1 (C-V beacon) or 2 (C-IV beacon).
;Defaults to 1.
CCCH.CCCH-CONF=1

;Seconds before declaring a physical link dead.
;Interval allowed: 10..20.
;Defaults to 15
CellOptions.RADIO-LINK-TIMEOUT=15

;Cell Reselection Hysteresis.
;See GSM 04.08 10.5.2.4, Table 10.5.23 for encoding, Hysteresis is 2N dB.
;Interval allowed: 0..7 (corresponds to 0..14 dB).
;Defaults to 3
CellSelection.CELL-RESELECT-HYSTERESIS=3

;Cell selection parameters.
;See GSM 04.08 10.5.2.4.,Table 10.5.23 for encoding, Hysteresis is 2N dB.
;Interval allowed: 0..7 (corresponds to 0..14 dB).
;Defaults to 0.
CellSelection.MS-TXPWR-MAX-CCH=0

;An 8-bit mask of allowed NCCs.
;Unless you are coordinating with another carrier use -1 which allows to select your own NCC.
;Valid values: 0..255 or -1.
;Defaults to -1 (allow your own NCC only)
CellSelection.NCCsPermitted=-1

;New Establishment Causes support.
;See GSM 04.08 10.5.2.4, Table 10.5.23 and 04.08 9.1.8, Table 9.9.
;This must be set to 1 if you want to support Very Early Assignment
;Check VEA description for details from Control tab.
;Valid values: 0..1
;Defaults to 1
CellSelection.NECI=1

;Cell selection parameters.
;See GSM 04.08 10.5.2.4 for details.
;Interval allowed: 0..63.
;Defaults to 0.
CellSelection.RXLEV-ACCESS-MIN=0

;Probability of a bit getting toggled in a control channel burst for cracking protection.
;Interval allowed: 0.0 - 1.0.
;Defauls to 0
Cipher.CCHBER=0.0

;Encrypt traffic between phone and BTS.
;Defaults to no.
Cipher.Encrypt=no

;Probability of a random neighbor being added to SI5 for cracking protection.
;Interval allowed: 0.0 - 1.0.
;Defauls to 0.
Cipher.RandomNeighbor=0.0

;Scramble filler in layer 2 for cracking protection.
;Defaults to no.
Cipher.ScrambleFiller=no

;Ignore GPRS messages on GSM control channels.
;Value is number of consecutive messages to ignore.
;Interval allowed: 3..8.
;Defaults to 5
Control.GPRSMaxIgnore=5

;Handover determination holdoff time after channel establishment, allows the MS RSSI value to stabilize. 2000 to 7000 ms, default 5000.
Handover.InitialHoldoff=5000

;Handover determination holdoff time after a previous attempt. 750 to 7000 ms, default 3000.
Handover.RepeatHoldoff=3000

;Do not handover if downlink RSSI is above this level (in dBm), regardless of power difference.
;Allowed values -100:-50.
Handover.LocalRSSIMin=-80

;A neighbor downlink signal must be this much stronger (in dB) than this downlink signal for handover to occur.
;Allowed values 5:20.
Handover.ThresholdDelta=10

;Damping value for MS power control loop.
;Interval allowed: 25..75. Defaults to 50.
MS.Power.Damping=50

;Maximum commanded MS power level in dBm.
;Interval allowed: 5..100
;Defaults to 33
MS.Power.Max=33

;Minimum commanded MS power level in dBm.
;Interval allowed: 5..100
;Defaults to 5
MS.Power.Min=5

;Damping value for timing advance control loop.
;Interval allowed: 25..75
;Defaults to 50
MS.TA.Damping=50

;Maximum allowed timing advance in symbol periods.
;One symbol period of round-trip delay is about 0.55 km of distance.
;RACH bursts with delays greater than this are ignored.
;Can be used to limit service range.
;Interval allowed: 1..62.
;Defaults to 62 (maximum range)
MS.TA.Max=62

;Maximum allowed speech buffering latency.
;It is expressed in 20ms frames.
;Frames will be dropped if the jitter is larger than this delay.
;Interval allowed: 1..5.
;Defaults to 2.
MaxSpeechLatency=2

;Maximum number of neighbors to send to handset in a neighbor list in BCCH.
;Interval allowed:1..10.
;Defaults to 8.
Neighbors.NumToSend=8

;Maximum number of repeats of the Physical Information Message during handover procedure, GSM 04.08 11.1.3.
;Interval allowed: 1..10
;Defaults to 5
Ny1=5

;Integer: Access Class flags.
;This is the raw parameter sent on BCCH, see GSM 04.08 10.5.2.29 for encoding.
;DO NOT ALTER THIS UNLESS YOU ARE A REAL OPERATOR!
;Interval allowed: 0..65535 (16 bits, 0x0000..0xffff).
;Defaults to 0x0400 (No emergency services access).
RACH.AC=0x0400

;Maximum RACH retransmission attempts.
;This is the raw parameter sent on BCCH, see GSM 04.08 10.5.2.29 for encoding
;Interval allowed: 0..3 (encodes to 1..7 retransmissions)
;Defaults to 1 (2 retransmissions)
RACH.MaxRetrans=1

;Parameter to spread RACH busts over time.
;This is the raw parameter sent on BCCH, see GSM 04.08 10.5.2.29 for encoding.
;Interval allowed: 0..15 (encodes to 3..50 slots)
;Defaults to 14 (32 slots)
RACH.TxInteger=14

;The number of ARFCNs to use.
;The ARFCN set will be C0, C0+2, C0+4, ...Interval allowed: 1..10
;Defaults to 1 (single ARFCN unit)
Radio.ARFCNs=1

;Expected worst-case delay spread
;Expressed in symbol periods, roughly 3.7 us or 1.1 km per unit.
;This parameter is dependent on the terrain type in the installation area.
;Typical values: 1 -> open terrain, small coverage, 4 -> large coverage area.
;This parameter has a large effect on computational requirements of the software radio.
;Interval allowed: 1..4.
;Defaults to 2.
Radio.MaxExpectedDelaySpread=2

;Does the Radio type require the full BSIC.
;Defaults to no.
Radio.NeedBSIC=no

;Number of samples averaged by the output power control loop
;Interval allowed: 5..20
;Defaults to 10
Radio.PowerManager.NumSamples=10

;Power manager control loop master period, in milliseconds
;Interval allowed: 4500..7500
;Defaults to 6000
Radio.PowerManager.Period=6000

;Sample period for the output power control loopm in milliseconds
;Interval allowed: 1500..2500
;Defaults to 2000
Radio.PowerManager.SamplePeriod=2000

;Target value for T3122, the random access hold-off timer, for the power control loop.
;Interval allowed: 3750..6250.
;Defaults to 5000
Radio.PowerManager.TargetT3122=5000

;Target uplink RSSI for MS power control loop
;Expressed in dB wrt to receiver's A/D convertor full scale
;Should be 6-10 dB above the noise floor (see the 'mbts noise' command)
;Interval allowed: -75..-25
;Defaults to -50
Radio.RSSITarget=-61

;Receiver gain setting in dB
;Ideal value is dictated by the hardware; 47 dB for RAD1, less for USRPs
;Interval allowed: 0..75
;Defaults to empty value. Radios provide their own calibrated default. To see current value run 'mbts trxfactory' after connecting to rmanager interface.
;Radio.RxGain=

;Tell the phone to show the country name based on MCC
;Defaults to no
ShowCountry=no

;Handover timeout in milliseconds, GSM 04.08 11.1.2
;This is the timeout for a handset to sieze a channel during handover.
;Allowed: 2500:7500(100)
;Defaults to 5000
Timer.T3103=5000

;Milliseconds for handset to respond to physical information.GSM 04.08 11.1.2.
;Interval allowed 25:75(5).
;Defaults to 50
Timer.T3105=50

;Paging timer T3113 in milliseconds.
;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.
;Allowed interval 5000:15000(500).
;Defaults to 10000
Timer.T3113=10000

;Maximum allowed value for T3122, the RACH holdoff timer, in millseconds.
;Allowed interval 127500:382500(1000).
;It is not required to be a factor of 1000.
;Defaults to 255000.
Timer.T3122Max=255000

;Minimum allowed value for T3122, the RACH holdoff timer, in milliseconds.
;Allowed interval 1000:3000(100).
;Defaults to 2000
Timer.T3122Min=2000

;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.
;Allowed interval 0:1530(6)
;Defaults to 24.
Timer.T3212=24


[gprs]
;Advertise GPRS in C0T0 beacon and start service on demand.
;See also Channels.* in [gprs_advanced] for how many channels are reserved.
;Defauts to yes.
Enable=no

;GPRS Routing Area Code, advertised in the C0T0 beacon.
;Interval allowed: 0..255
;Defaults to 0 (arbitrary)
RAC=0

;GPRS Routing Area Color as advertised in the C0T0 beacon
;Interval allowed: 0..7
;Defaults to 0 (arbitrary)
RA_COLOUR=0


[gprs_advanced]
;Toggle GPRS debugging. Defaults to no.
Debug=no

;MS power control parameter, unitless, in steps of 0.1, so a parameter of 5 is an alpha value of 0.5.
;Determines sensitivity of handset to variations in downlink RSSI.
;Valid range is 0...10 for alpha values of 0.0 ... 1.0. See GSM 05.08 10.2.1.
MS.Power.Alpha=10

;MS power control parameter, in 2 dB steps.
;Determines baseline of handset uplink power relative to downlink RSSI
;The optimum value will tend to be lower for BTS units with higher power output
;Valid range is 0...31 for gamma values of 0...62 dB. See GSM 05.08 10.2.1.
MS.Power.Gamma=31

;MS power control parameter; see GSM 05.08 10.2.1.
;Valid range is 0...25.
MS.Power.T_AVG_T=15

;MS power control parameter; see GSM 05.08 10.2.1.
;Valid range is 0...25
;Defaults to 15.
MS.Power.T_AVG_W=15

;Maximum number of channels used for a single MS in downlink
;Valid range is 0...10
;Defaults to 3.
Multislot.Max.Downlink=3

;Maximum number of channels used for a single MS in uplink
;Valid range is 0...10. Defaults to 2.
Multislot.Max.Uplink=2

;List of allowed GPRS downlink codecs 1..4 for CS-1..CS-4.
;Currently, only 1 and 4 are supported e.g. 14.
Codecs.Downlink=14

;List of allowed GPRS uplink codecs 1..4 for CS-1..CS-4.
;Currently, only 1 and 4 are supported e.g. 14.
Codecs.Uplink=14

;How often to send keep-alive messages for persistent TBFs in milliseconds; must be long enough to avoid simultaneous in-flight duplicates, and short enough that MS gets one every 5 seconds.
;Allowed interval 200:5000(100)
;Defauts to 300
Uplink.KeepAlive=300

;After completion, uplink TBFs are held open for this time in milliseconds
;If non-zero, must be greater than GPRS.Uplink.KeepAlive
;This is broadcast in the beacon and it cannot be changed once BTS is started
;Allowed interval 0:6000(100)
;Defauts to 4000.
Uplink.Persist=4000

;When the first poll is sent for a downlink tbf, measured in blocks sent.
;Allowed values 5:15
;Defauts to 10
TBF.Downlink.Poll1=10

;Allow MS to request another uplink assignment at end up of uplink TBF. See GSM 4.60 9.2.3.4
;Defauts to yes.
TBF.EST=yes

;How long to try before giving up on a TBF
;Allowed interval 20000:40000
;Defauts to 30000
TBF.Expire=30000

;How many expired TBF structs to retain; they can be viewed with gprs list tbf -x
;Allowed interval 15:25
TBF.KeepExpiredCount=20

;If 0, no tbf retry, otherwise if a tbf fails it will be retried with this codec, numbered 1..4.
TBF.Retry=1

;Number of advance blocks to use in the CCCH reservation.
;Allowed interval 5:15
;Defaults to 10.
advanceblocks=10

;Timer 3168 in the MS controls the wait time after sending a Packet Resource Request to initiate a TBF before giving up or reattempting a Packet Access Procedure, which may imply sending a new RACH.
;This code is broadcast to the MS in the C0T0 beacon in the GPRS Cell Options IE. See GSM 04.60 12.24.
;Range 0..7 to represent 0.5sec to 4sec in 0.5sec steps.
CellOptions.T3168Code=5

;Timer 3192 in the MS specifies the time MS continues to listen on PDCH after all downlink TBFs are finished, and is used to reduce unnecessary RACH traffic.
;This code is broadcast to the MS in the C0T0 beacon in the GPRS Cell Options IE.
;The value must be one of the codes described in GSM 04.60 12.24.
;Value 0 implies 500msec
;2 implies 1500msec
;3 imples 0msec.
CellOptions.T3192Code=0

;If the initial unlink signal strength is less than this amount in DB GPRS uses a lower bandwidth but more robust encoding CS-1.
;This value should normally be GSM.Radio.RSSITarget + 10 dB.
;Interval allowed -65:-15
;Defaults to -40.
ChannelCodingControl.RSSI=-40

;The GPRS channel is considered congested if the desired bandwidth exceeds available bandwidth by this amount, specified in percent
;Interval allowed 100:300(5)
;Defaults to 200.
Channels.Congestion.Threshold=200

;How long in seconds GPRS congestion exceeds the Congestion
;Threshold before we attempt to allocate another channel for GPRS
;Interval allowed 30:90(5)
;Defaults to 60.
Channels.Congestion.Timer=60

;Minimum number of channels allocated for GPRS service on ARFCN C0.
;Interval allowed 0:7.
;Defaults to 3.
Channels.Min.C0=3

;Minimum number of channels allocated for GPRS service on ARFCNs other than C0
;Interval allowed 0:100
;Defaults to 0.
Channels.Min.CN=0

;Maximum number of channels allocated for GPRS service.
;Interval allowed 0:10.
;Defaults to 4.
Channels.Max=4

;Maximum number of assign messages sent.
;Interval allowed 5:15
;Defaults to 10
Counters.Assign=10

;Counts unused USF responses to detect nonresponsive MS. Should be > 8. See GSM04.60 sec 13.
;Interval allowed 8:32
;Defaults to 20
Counters.N3101=20

;Counts ACK/NACK attempts to detect nonresponsive MS. See GSM04.60 sec 13
;Interval allowed 4:12
;Defaults to 8.
Counters.N3103=8

;Counts unused RRBP responses to detect nonresponsive MS. See GSM04.60 sec 13
;Interval allowed 6:18
;Defaults to 12
Counters.N3105=12

;Maximum number of reassign messages sent
;Interval allowed 3:9
;Defaults to 6
Counters.Reassign=6

;Maximum number of TBF release messages sent
;Interval allowed 3:8
;Defaults to 5
Counters.TbfRelease=5

;How often to send keep-alive messages for persistent TBFs in milliseconds
;must be long enough to avoid simultaneous in-flight duplicates, and short enough that MS gets one every 5 seconds.
;GSM 5.08 10.2.2 indicates MS must get a block every 360ms.
;Interval allowed 200:5000(100)
;Defaults to 300
Downlink.KeepAlive=300

;After completion, downlink TBFs are held open for this time in milliseconds
;If non-zero, must be greater than GPRS.Downlink.KeepAlive.
Downlink.Persist=0

;Enable recognition of local TLLI.
LocalTLLI.Enable=yes

;How many expired MS structs to retain; they can be viewed with gprs list ms -x.
;Interval allowed 10:30
;Defaults to 20
MS.KeepExpiredCount=20
Pages: [1] 2 3 ... 10