Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Tom

Pages: [1]
1
YateBTS / Connecting YateBTS to FreeSwitch
« on: February 11, 2017, 11:07:27 AM »
I have currently set up YateBTS as an extension in FreeSwitch and can call from YateBTS anyone in FreeSwitch however when a voip phone from freeswitch calls the number of the extension YateBTS it does not work because freeswitch does not know which yatebts phone to send the call to.  How do I setup the Sip To: header from freeswitch so I can select which internal number to call?

2
YateBTS / Re: GPRS not working
« on: February 11, 2017, 06:58:31 AM »
Have you configured your iptables correctly?

3
YateBTS / YateBTS Excessive TOA Errors
« on: February 04, 2017, 02:51:45 PM »
I have had a working YateBTS setup for a month now, haven't used it in 2 weeks but today when I turned it on the handsets could connect but on the iPhones it said "No Service" on the top bar.
In the verbose logs it spams excessive TOA errors:
The version of YateBTS is from here: https://blog.strcpy.info/2016/04/21/building-a-portable-gsm-bts-using-bladerf-raspberry-and-yatebts-the-definitive-guide/

Heres the logs on max verbosity:
http://pastebin.com/UdrrNQ1K

And heres my bladeRF cli version:
Code: [Select]
root@openbts-VirtualBox:/home/openbts# bladeRF-cli -i
bladeRF> version

  bladeRF-cli version:        1.4.0-git-unknown
  libbladeRF version:         1.7.2-git-unknown

  Firmware version:           1.9.1
  FPGA version:               0.1.2

bladeRF>

Any idea what I am doing wrong?

EDIT: After further investigation this issue appears to go away when the band is changed to GSM900 (Previously was GSM850)

4
YateBTS / Re: How do i clear the online subscribers list
« on: January 07, 2017, 03:06:11 AM »
How do I decrease the time required for yate to remove a disconnected phone from the network?

5
YateBTS / BladeRF getting hot
« on: January 05, 2017, 06:28:09 AM »
After getting YateBTS running the BladeRF gets hot, especially on the metal part over the radio circuits, is this an issue and does it need cooling or is it a software issue?
The bladeRF is connected to GSM 900/1800 antennas with a little spiral in them.  (The ones you buy for your car with the magnetic base)
And hot I mean hot to touch, it wont burn you but unpleasant to touch

Also, to increase the GPRS Speed, will increasing the Max Downlink+ Uplinks help?  Do these correspond to timeslots and do they only use TCH timeslots?  Like I have my BTS setup with a C0, a C7 and the other 6 are TCH, so does this mean I only have 6 GPRS channels or can GPRS also use the C7 and the C0?

6
YateBTS / Re: RX Timestamp jumped
« on: January 04, 2017, 04:37:53 PM »
Turns out YateBTS is incompatible with VMs.  For future users reading this don't bother trying.

I managed to get it working finally! (with GPRS too!)
http://i.imgur.com/lxzWhUv.png

However GPRS only works on local webpages on my local network, it does not load anything from the internet?
Why could that be?

EDIT: It seems to have fixed itself about a half an hour after I fixed iptables NAT MASQUERADE on the command line.  Maybe the MSes only update their GPRS settings once in forever lol

7
YateBTS / Re: RX Timestamp jumped
« on: January 04, 2017, 10:30:32 AM »
Is my setup otherwise correct?  Can I somehow write my virtual hard disk to a real hard drive so I don't have to do it all over again?
Exactly how time-sensitive is YateBTS? Like milliseconds, microseconds?

8
YateBTS / Re: RX Timestamp jumped
« on: January 04, 2017, 09:50:39 AM »
I don't have a real machine with ubuntu

9
YateBTS / Re: RX Timestamp jumped
« on: January 04, 2017, 09:45:57 AM »
Please increase the debug level:
yate -s -vvvvv
Is this good enough?
http://pastebin.com/YNar2Usu

10
YateBTS / Re: RX Timestamp jumped
« on: January 04, 2017, 08:50:18 AM »
Can you post a log from ybts start (device init)?
Code: [Select]
mbts/TransceiverRAD1# yate -s
Supervisor (21594) is starting
Yate (21595) is starting Wed Jan  4 17:00:09 2017
Loaded module CdrBuild
Loaded module Call Forker
Loaded module Analyzer
Loaded module Javascript
Loaded module iSAC floating point - based on WebRTC iSAC library version 4.3.0 (SPL version 1.2.0)
Loaded module ToneDetector
Loaded module ToneGen
Loaded module iLBC - based on WebRTC iLBC library version 1.1.1
Loaded module PBX
Loaded module RManager
Loaded module YRTP
Loaded module YSOCKS
Loaded module CdrCombine
Loaded module GVoice
Loaded module ExtModule
Loaded module iLBC - based on iLBC reference library
Loaded module MsgSniffer
Loaded module DumbChannel
Loaded module File Transfer
Loaded module Call Generator
Loaded module Conference
Loaded module YIAX
Loaded module RegexRoute
Loaded module MUX
Loaded module WaveFile
Loaded module YSTUN
Loaded module MOH
Loaded module CdrFile
Loaded module FileInfo
Loaded module YJingle
Loaded module SIP Channel
Loaded module GSM - based on libgsm-1.0.10
Loaded module Late Router
Loaded module Monitoring
Loaded module Analog Channel
Loaded module Accounts from file
Loaded module MGCP-GW
Loaded module Clustering
Loaded module Radius client
Loaded module SNMP Agent
Loaded module GSM Transceiver
Loaded module Cache
Loaded module Presence
Loaded module SIP Features
Loaded module CCongestion
Loaded module YBTS
Loaded module Cpu
Loaded module Subscriptions
Loaded module PBX for database
Loaded module MGCP-CA
Loaded module Signalling Channel
Loaded module Users Management
Loaded module Event Logs
Loaded module Queues Notify
Loaded module Heartbeat
Loaded module SigTransport
Loaded module Call Parking
Loaded module CallCounters
Loaded module Register for database
Loaded module DbWave
Loaded module Queues
Loaded module Cisco SM
Loaded module Registration from file
Loaded module MRCP
Loaded module Analog Detector
Loaded module Jabber Server Features
Loaded module Jabber Server
Loaded module DummyRadio
Loaded module BladeRF using libusb 1.0.17.10830 desc='http://libusbx.org'
Initializing plugins
Initializing module BladeRF
Initializing module DummyRadio
Initializing module Jabber Server
Initializing module Jabber Server Features
Initializing module Analog Detector
Initializing module Cisco SM
Initializing module DbWave
Initializing module SigTransport
Initializing module Event Logs
Initializing module MGCP Call Agent
Initializing module Subscriptions
Initializing module Cpu
Initializing module Clustering
Initializing module CdrFile
Initializing module MUX
Initializing module YSOCKS
Initializing module Javascript
Initializing module CdrBuild
Initializing module Call Forker
Initializing module Analyzer
Initializing module iSAC
Initializing module ToneDetector
Initializing module ToneGen
Initializing module iLBC webrtc
Initializing module PBX
Initializing module RManager
Initializing module YRTP
Initializing module CdrCombine
Initializing module GVoice
Initializing module ExtModule
Initializing module MsgSniffer
Initializing module DumbChannel
DumbChannel initialized
Initializing module File Transfer
Initializing module Call Generator
Initializing module Conference
Initializing module YIAX
2017-01-04_17:00:09.789125 <iaxengine:WARN> Failed to bind socket on ':4569' - trying a random port. 98: 'Address already in use' [0x115ca10]
Initializing module RegexRoute
Initializing module WaveFile
Initializing module YSTUN
Initializing module MOH
Initializing module FileInfo
Initializing module YJingle
Initializing module SIP Channel
Initializing module Late Router
2017-01-04_17:00:09.810702 <sip:WARN> Listener(UDP,'general') unable to bind on :5060 - trying a random port. 98 'Address already in use'
Initializing module Monitoring
Initializing module Analog Channel
Initializing module Accounts from file
Initializing module MGCP Gateway
Initializing module Radius client
Initializing module SNMP Agent
Initializing module GSM Transceiver
Initializing module Cache
Initializing module Presence
Initializing module SIP Features
Initializing module CCongestion
Initializing module YBTS
Initializing module PBX for database
Initializing module Signalling Channel
Initializing module Users Management
Initializing module Queues Notify
Initializing module Call Parking
Initializing module Register for database
Initializing module Queues for database
Initializing module Register from file
Initializing module MrcpSpeech
Initialization complete
2017-01-04_17:00:09.987874 <nib:CONF> Please configure country code. See subscribers.conf or use the NIB web interface
Yate engine is initialized and starting up on openbts-VirtualBox
MBTS connected to YBTS
Yate-BTS MBTS Component
Copyright 2008, 2009, 2010 Free Software Foundation, Inc.
Copyright 2010 Kestrel Signal Processing, Inc.
Copyright 2011, 2012, 2013 Range Networks, Inc.
Copyright 2013, 2014 Null Team Impex SRL
Copyright 2014 Legba, Inc.
"OpenBTS" is a registered trademark of Range Networks, Inc.

Contributors:
  SC Null Team Impex SRL:
    Paul Chitescu
  Legba, Inc.
    David Burgess
  Range Networks, Inc.:
    David Burgess, Harvind Samra, Donald Kirker, Doug Brown,
    Pat Thompson, Kurtis Heimerl
  Kestrel Signal Processing, Inc.:
    David Burgess, Harvind Samra, Raffi Sevlian, Roshan Baliga
  GNU Radio:
    Johnathan Corgan
  Others:
    Anne Kwong, Jacob Appelbaum, Joshua Lackey, Alon Levy
    Alexander Chemeris, Alberto Escudero-Pascual
Incorporated L/GPL libraries and components:
  libusb, LGPL 2.1, various copyright holders, www.libusb.org
Incorporated BSD/MIT-style libraries and components:
  A5/1 Pedagogical Implementation, Simplified BSD License,
    Copyright 1998-1999 Marc Briceno, Ian Goldberg, and David Wagner
Incorporated public domain libraries and components:
  sqlite3, released to public domain 15 Sept 2001, www.sqlite.org


This program comes with ABSOLUTELY NO WARRANTY.

Use of this software may be subject to other legal restrictions,
including patent licensing and radio spectrum licensing.
All users of this software are expected to comply with applicable
regulations and laws.  See the LEGAL file in the source code for
more information.

Release 5.0.1 formal build date Jan  4 2017 rev
Starting MBTS...
MBTS ready
2017-01-04_17:00:18.016270 <bladerf/1:WARN> RX: timestamp jumped by 1235 to 10835522 in buffer 6/8 [0x7fefb0000eb0]
2017-01-04_17:00:18.018166 <bladerf/1:WARN> RX: timestamp jumped by 17540 to 10838773 in buffer 6/8 [0x7fefb0000eb0]
2017-01-04_17:00:18.021987 <bladerf/1:WARN> RX: timestamp jumped by 1168 to 10858329 in buffer 6/8 [0x7fefb0000eb0]
2017-01-04_17:00:18.026745 <bladerf/1:WARN> RX: timestamp jumped by 1238 to 10861513 in buffer 6/8 [0x7fefb0000eb0]

Here is my bladeRF version command:
Code: [Select]
bladeRF> bladeRF> ^Croot@openbts-VirtualBox:/home/openbts# bladeRF-cli -i
bladeRF> version

  bladeRF-cli version:        1.4.0-git-unknown
  libbladeRF version:         1.7.2-git-unknown

  Firmware version:           1.9.1
  FPGA version:               0.1.2

bladeRF>

Is the bladeRF not supported on USB 2.0, does it need USB3 maybe?

11
YateBTS / Re: RX Timestamp jumped
« on: January 04, 2017, 07:20:44 AM »
Code: [Select]
2017-01-04_15:22:46.424678 <bladerf/1:WARN> RX: timestamp jumped by 2702 to 155052500 in buffer 6/8 [0x7f92dc000eb0]
2017-01-04_15:22:46.428912 <bladerf/1:WARN> RX: timestamp jumped by 12042 to 155057218 in buffer 6/8 [0x7f92dc000eb0]
2017-01-04_15:22:46.443224 <bladerf/1:WARN> RX: timestamp jumped by 4845 to 155071276 in buffer 6/8 [0x7f92dc000eb0]
2017-01-04_15:22:46.446080 <bladerf/1:WARN> RX: timestamp jumped by 17790 to 155078137 in buffer 6/8 [0x7f92dc000eb0]
2017-01-04_15:22:46.451444 <bladerf/1:WARN> RX: timestamp jumped by 6905 to 155097943 in buffer 6/8 [0x7f92dc000eb0]
2017-01-04_15:22:46.461701 <bladerf/1:WARN> RX: timestamp jumped by 14758 to 155106864 in buffer 6/8 [0x7f92dc000eb0]
2017-01-04_15:22:46.468428 <bladerf/1:WARN> RX: timestamp jumped by 20303 to 155123638 in buffer 6/8 [0x7f92dc000eb0]
2017-01-04_15:22:46.472279 <bladerf/1:WARN> RX: timestamp jumped by 16475 to 155145957 in buffer 6/8 [0x7f92dc000eb0]
2017-01-04_15:22:46.478211 <bladerf/1:WARN> RX: timestamp jumped by 2557 to 155164448 in buffer 6/8 [0x7f92dc000eb0]
2017-01-04_15:22:46.490098 <bladerf/1:WARN> RX: timestamp jumped by 13831 to 155169021 in buffer 6/8 [0x7f92dc000eb0]
2017-01-04_15:22:46.501777 <bladerf/1:WARN> RX: timestamp jumped by 23004 to 155184868 in buffer 6/8 [0x7f92dc000eb0]
2017-01-04_15:22:46.512702 <bladerf/1:WARN> RX: timestamp jumped by 9351 to 155209888 in buffer 6/8 [0x7f92dc000eb0]
2017-01-04_15:22:46.555583 <bladerf/1:WARN> RX: timestamp jumped by 2749 to 155221255 in buffer 6/8 [0x7f92dc000eb0]
2017-01-04_15:22:46.572434 <bladerf/1:WARN> RX: timestamp jumped by 10051 to 155226020 in buffer 6/8 [0x7f92dc000eb0]
2017-01-04_15:22:46.574209 <bladerf/1:WARN> RX: timestamp jumped by 27151 to 155238087 in buffer 6/8 [0x7f92dc000eb0]
2017-01-04_15:22:46.578644 <bladerf/1:WARN> RX: timestamp jumped by 21715 to 155267254 in buffer 6/8 [0x7f92dc000eb0]
2017-01-04_15:22:46.582710 <bladerf/1:WARN> RX: timestamp jumped by 20725 to 155290985 in buffer 6/8 [0x7f92dc000eb0]
2017-01-04_15:22:46.586781 <bladerf/1:WARN> RX: timestamp jumped by 89777 to 155313726 in buffer 6/8 [0x7f92dc000eb0]
2017-01-04_15:22:46.592629 <bladerf/1:WARN> RX: timestamp jumped by 35205 to 155405519 in buffer 6/8 [0x7f92dc000eb0]
2017-01-04_15:22:46.596671 <bladerf/1:WARN> RX: timestamp jumped by 2253 to 155442740 in buffer 6/8 [0x7f92dc000eb0]
2017-01-04_15:22:46.601609 <bladerf/1:WARN> RX: timestamp jumped by 6736 to 155447009 in buffer 6/8 [0x7f92dc000eb0]
2017-01-04_15:22:46.602717 <bladerf/1:WARN> RX: timestamp jumped by 11118 to 155455761 in buffer 6/8 [0x7f92dc000eb0]
2017-01-04_15:22:46.609778 <bladerf/1:WARN> RX: timestamp jumped by 2905 to 155468895 in buffer 6/8 [0x7f92dc000eb0]
2017-01-04_15:22:46.615263 <bladerf/1:WARN> RX: timestamp jumped by 16764 to 155473816 in buffer 6/8 [0x7f92dc000eb0]
2017-01-04_15:22:46.617796 <bladerf/1:WARN> RX: timestamp jumped by 2472 to 155492596 in buffer 6/8 [0x7f92dc000eb0]
2017-01-04_15:22:46.620374 <bladerf/1:WARN> RX: timestamp jumped by 6406 to 155497084 in buffer 6/8 [0x7f92dc000eb0]
2017-01-04_15:22:46.629946 <bladerf/1:WARN> RX: timestamp jumped by 1569 to 155505506 in buffer 6/8 [0x7f92dc000eb0]
2017-01-04_15:22:46.631978 <bladerf/1:WARN> RX: timestamp jumped by 12899 to 155509091 in buffer 6/8 [0x7f92dc000eb0]
^C2017-01-04_15:22:46.636136 <bladerf/1:WARN> RX: timestamp jumped by 3399 to 155535927 in buffer 6/8 [0x7f92dc000eb0]
2017-01-04_15:22:46.642220 <bladerf/1:WARN> RX: timestamp jumped by 12465 to 155541342 in buffer 6/8 [0x7f92dc000eb0]

Pretty much just that, BladeRF x40 on USB 2.0 powered by USB
I followed instructions on https://blog.strcpy.info/2016/04/21/building-a-portable-gsm-bts-using-bladerf-raspberry-and-yatebts-the-definitive-guide/comment-page-1/#comment-140
but using Ubuntu 14

12
YateBTS / RX Timestamp jumped
« on: January 03, 2017, 07:09:48 PM »
I get the RX Timestamp jumped error spammed when I do yate -s and phones of course can not see it.
Any idea what is going on? Ubuntu 12 LTS and BladeRF with latest BladeRF-cli software

13
YateBTS / Re: GSM Identity Shortname
« on: November 17, 2016, 01:36:04 PM »
Can someone fix this, its a pretty crucial part?

14
YateBTS / Re: GSM Identity Shortname
« on: November 09, 2016, 03:26:02 PM »
I knew that it was not possible to transmit the name when listing networks however will Identity.Shortname work after the first LUR in Yate?

15
YateBTS / GSM Identity Shortname
« on: October 30, 2016, 02:37:22 PM »
Hello everyone,  I am interested in setting up some GSM BTS stuff for a project I am working on.  I tried 2 years ago with OpenBSC but ended up wasting 800 dollars in ip.access NanoBTS equipment because it did not work since whenever a MS connected to it it would throw a "Segmentation Fault".  This time I want to try the alternative, and because OpenBTS has not gotten an update in years I think development has moved on to YateBTS.

However because I live in Greece and it has been difficult to acquire the GSM license there are several limitations and one of those is I need to use a specific Shortnames for the network to distinguish it from the other operator's networks (in addition to having different MCC MNC and of course a free ARFCN!).  However I have been a little worried since I read somewhere that changing the GSM.Identity.Shortname does not work in YateBTS even if it works in OpenBTS.  Can someone with a working system confirm this in the Public Release?  I don't want to spend another 420$ on BladeRF equipment and not be able to use it because of legal issues.

Pages: [1]