laforge
/
openbts-osmo
Archived
1
0
Fork 0
Commit Graph

37 Commits

Author SHA1 Message Date
Ivan Kluchnikov 20ea06422d Merge commit 'USSD' 2011-08-22 16:52:29 +04:00
Thomas Tsou 3ea07de75c Merge branch 'sms-split'
* sms-split:
  smqueue: Add SMSC short code to smqueue.config.example
  Checking in forgotten smsc.cpp and smsc.h files.
  Ignore User-Data-Header in SMS TPDU when decoding text in TLUserData::encode7bit().
  Transparently pass TP-UHDI (User-Data-Header-Indicator) from SMS-SUBMIT to SMS-DELIVER.
  Slightly cleaner output in TLUserData::write().
  Log contents of a message instead of its memory addresss in SMS::parseTPDU().
  Use decoded text from original message in bounce and e-mail messages.
  More readable bounce message.
  Maximum SMS length is 160 symbols in default alphabet.
  Avoid duplication of "IMSI" in SC.Register.Msg.
  Set Log.Alarms.* values in smqueue config.
  Make "from" address for bounce messages configurable.
  Move most of the SMS processing to smqueue (initial check-in).
  Better documentation and error reporting for ThreadSemaphore.
  Implementation of Semaphore.
  Implemented "trans" CLI command to list all active transacions.
2011-06-21 19:02:10 -07:00
Thomas Tsou f6ed307167 control: use braces with conditions and logging macros
Removes warnings and may prevent future clumsy mistakes.

Signed-off-by: Thomas Tsou <ttsou@vt.edu>
2011-06-21 17:49:29 -07:00
Alexander Chemeris d54e4d82fd Move most of the SMS processing to smqueue (initial check-in).
Idea is to make OpenBTS as dumb as possible. It should forward all received SMS messages' RPDU to SMSC (smqueue) and vice versa. All actual message decoding and processing is to be done in smqueue.
2011-06-21 15:30:44 -07:00
Alexander Chemeris 2ab4ca6648 Implemented "trans" CLI command to list all active transacions. 2011-06-21 15:30:29 -07:00
Florian Wolff 6a8641438a gsm: fix for "L3 RR GPRS Suspension Request" error
Certain phones with GPRS capabilities will fail to
initiate calls with the following error. No call output
will be present in the Asterisk log.

1265648543.0255 INFO 3073350512 GSML3Message.cpp:162:parseL3: L3 recv RR GPRS Suspension Request
1265648543.0257 NOTICE 3073350512 DCCHDispatch.cpp:144:DCCHDispatcher: UnexpectedMessage

The issue and patch were discussed on the openbts-discuss
mailing list.

"David is right that openBTS does not emit any GPRS beacon,
so the behaviour is triggered from mobile station which
believe that there has been some GPRS before (i.e. in it's
old location area).

Unfortunately openBTS does not simply ignore this L3 RR
GPRS Suspension Request, instead a expected message flow
sequence (i.e. during call setup) is terminated with an
exception.

However we created a small patch against openbts-2.5.3
Lacassine to really ignore the L3 message. Feel free to
distribute it upstream to the community."

The author of the patch is >> Florian.Wolff@Siemens.com <<

According to his statement, O2 XDA Orbit and Motorola
Milestone are working fine with those changes. They had
the same problems before as with the iPhone.

Reported-by: Michael Folz <michael.folz@fh-kl.de>
Signed-off-by: Thomas Tsou <ttsou@vt.edu>
2011-05-31 16:01:00 -07:00
Alexander Chemeris 422848f5c1 control: Save IMEI in TMSI table for informational purposes.
So yes, now you should be able to identify all those annoying iPhones.

(cherry picked from commit e09c0b87d2ecbb5df713c020b814e3a8f371a9d4)
2010-12-21 18:09:31 +03:00
Alexander Chemeris 25cef9ef96 control: Use std::string in TransactionEntry to ctore messaging payload.
Originally there was a fixed-size char array, which didn't allow to work with long hex strings.

(cherry picked from commit fdc6fc85f9f431438ef7279975c2f7c230cb4aa5)
2010-12-21 18:06:31 +03:00
Alexander Chemeris 889d45eb22 Better safety checks in TMSIRecord::load().
This also avoids "corrupt TMSI file" message on empty file.

(cherry picked from commit 8ce5b5ec29deb53a72c81139a1fd768db52f60aa)
2010-12-21 17:49:24 +03:00
Alexander Chemeris fc81223045 Fix a bunch of typos.
(cherry picked from commits 2da5a28a07, 6cddd36139. 7852c1e572abbc9fee2548a58e377cfbb3eff46d, f85d5b3f528ba19c598cbe77bad2566920bf9dd4, 0f8766a506f25118f732cca10fe44a1c9a0ace6a, 26adfe2d158e6a80d50b4e247c1539b5a07add9f)
2010-12-21 16:58:05 +03:00
Sylvain Munaut 50006e364d build: Remove all files autogenerated by autoreconf
Best practice is to not include those in repositories but only
in tar.gz dist tarball.

autoreconf -i will regenerate them

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-11-30 23:58:50 +01:00
Alexander Chemeris 62a2d77ccc Better code for MOUSSDController(). 2010-11-01 14:57:22 +03:00
Alexander Chemeris ce66ecb51d Some more changes. 2010-11-01 14:57:22 +03:00
Alexander Chemeris 94523e388a USSD SIP handler initial implementation.
It works for basic requests, but needs more tsting for timeouts and other exceptional cases.
2010-11-01 14:57:22 +03:00
Alexander Chemeris bf4c962d41 Implement another flavor of TransactionTable::find() with mobile ID and service type. 2010-11-01 14:57:22 +03:00
Alexander Chemeris aeedcc50b6 Print USSDData pointer when printing TransactionEntry. 2010-11-01 14:57:22 +03:00
Alexander Chemeris a2298288fe Other USSD code beautification and fixes. 2010-11-01 14:57:22 +03:00
Alexander Chemeris 9f707665ba Better result reporting for waitUSSDData() and postUSSDData(). 2010-11-01 14:57:22 +03:00
Alexander Chemeris 9c542926ac Always initialize mUSSDData in a transaction. 2010-11-01 14:57:22 +03:00
Alexander Chemeris c288b250b6 Remove second USSDHandler constructor. 2010-11-01 14:57:22 +03:00
Alexander Chemeris 00b1810997 Store mobile IMSI instead of TMSI in MOUSSD transaction. 2010-11-01 14:57:22 +03:00
Alexander Chemeris 77d380565b Send correct text string with USSD release message. 2010-11-01 14:57:22 +03:00
Alexander Chemeris 86b066da63 Fix comments typos and code formating. 2010-11-01 14:57:22 +03:00
Alexander Chemeris 7d9b0497bc Added MO-USSD handlers map to config.
Now you can configure which request will go to which handler.
2010-11-01 14:57:22 +03:00
Alexander Chemeris 58821a8f74 Add comments anf better formating to USSDHandler::postUSSDData(). 2010-11-01 14:57:21 +03:00
Alexander Chemeris dd366df4f4 BUGFIX: Forgotten parentheses in USSDHandler::postUSSDData(). 2010-11-01 14:57:21 +03:00
Alexander Chemeris 7f5fbdb906 Create a constant for max USSD message length and make continuation string configurable. 2010-11-01 14:57:21 +03:00
Alexander Chemeris b39dc1bc78 Fix license header in USSD-specific files to AGPLv3. 2010-11-01 14:57:21 +03:00
Alexander Chemeris 216ade372c Merge 'achemeris/pending' into 'USSD' 2010-11-01 14:29:14 +03:00
Alexander Chemeris 6cddd36139 Typos in comments fixed. 2010-09-29 10:47:29 +04:00
Alexander Chemeris 2da5a28a07 Typos in comments and debug logs fixed. 2010-08-18 21:59:08 +04:00
Alexander Chemeris ae0def5cc7 Implemented "trans" CLI command to list all active transacions. 2010-08-18 21:59:07 +04:00
Ivan Kluchnikov 3889999846 Initial USSD support commit. 2010-08-10 17:04:04 +04:00
David A. Burgess 3a8fd4fac1 Another fix to the copyright notice header. 2010-07-16 17:09:09 -07:00
David A. Burgess fa179f74b7 Change license to AGPLv3. 2010-07-04 15:28:06 -07:00
David A. Burgess 5294b893b1 Added comment referencing the SMS spec. 2010-07-02 18:18:49 -07:00
David A. Burgess ecbaf97509 Initial import of OpenBTS 2.6 for a new public trunk. 2010-05-23 19:42:16 -07:00