Commit Graph

115 Commits

Author SHA1 Message Date
Michael Iedema 478339817a - ignoring some stuff
git-svn-id: http://wush.net/svn/range/software/public/smqueue/trunk@6497 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-09-18 09:03:33 +00:00
Kurtis Heimerl 26a62e3885 smq sync
git-svn-id: http://wush.net/svn/range/software/public/smqueue/trunk@6167 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-08-14 00:10:46 +00:00
Kurtis Heimerl a1c3fcd55d added conflicts to control, do not install public/private concurrently!
git-svn-id: http://wush.net/svn/range/software/public/smqueue/trunk@5905 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-07-09 07:29:50 +00:00
Kurtis Heimerl d456fb81a7 OpenBTS working now
git-svn-id: http://wush.net/svn/range/software/public/smqueue/trunk@5903 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-07-09 05:14:42 +00:00
Kurtis Heimerl 53c948e76a sipauthserve working now
git-svn-id: http://wush.net/svn/range/software/public/smqueue/trunk@5902 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-07-09 05:14:34 +00:00
Kurtis Heimerl 60dccb5a58 smqueue working
git-svn-id: http://wush.net/svn/range/software/public/smqueue/trunk@5901 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-07-09 05:14:27 +00:00
Kurtis Heimerl 9432a4bca9 fixed some compatibility issues
git-svn-id: http://wush.net/svn/range/software/public/smqueue/trunk@5900 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-07-09 05:14:09 +00:00
Kurtis Heimerl 8d2a3c174a Debian package support for sipauthserve
git-svn-id: http://wush.net/svn/range/software/public/smqueue/trunk@5897 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-07-07 07:37:09 +00:00
Kurtis Heimerl a7da53ad06 smq debian packaging files
git-svn-id: http://wush.net/svn/range/software/public/smqueue/trunk@5896 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-07-07 07:37:02 +00:00
Kurtis Heimerl e39d28df38 adding WAL forcing and another missing config
git-svn-id: http://wush.net/svn/range/software/public/smqueue/trunk@5704 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-06-13 00:24:22 +00:00
Kurtis Heimerl 30fa512953 no longer saves non MESSAGEs in the backup db
git-svn-id: http://wush.net/svn/range/software/public/smqueue/trunk@5681 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-06-06 06:05:12 +00:00
Kurtis Heimerl 657fcd67c9 fixed some replay issues
git-svn-id: http://wush.net/svn/range/software/public/smqueue/trunk@5680 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-06-06 06:05:08 +00:00
Kurtis Heimerl 39e835cfbe whoops, microseconds
git-svn-id: http://wush.net/svn/range/software/public/smqueue/trunk@5679 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-06-06 06:05:03 +00:00
Kurtis Heimerl 8e53ad531b now disk backups time out
git-svn-id: http://wush.net/svn/range/software/public/smqueue/trunk@5678 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-06-06 06:04:55 +00:00
Kurtis Heimerl 1a89ff9baf Change to makefile.common to support git externals script
git-svn-id: http://wush.net/svn/range/software/public/smqueue/trunk@5670 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-06-05 00:22:54 +00:00
Kurtis Heimerl 3854bb4165 SR now working
git-svn-id: http://wush.net/svn/range/software/public/smqueue/trunk@5667 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-06-04 21:24:25 +00:00
Kurtis Heimerl 6aa3069abc and finally SR is moving to externals
git-svn-id: http://wush.net/svn/range/software/public/smqueue/trunk@5665 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-06-04 21:19:54 +00:00
Kurtis Heimerl 49534e7d83 common libs working
git-svn-id: http://wush.net/svn/range/software/public/smqueue/trunk@5664 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-06-04 21:19:32 +00:00
Kurtis Heimerl 18c1fd7ed8 removing CommonLibs
git-svn-id: http://wush.net/svn/range/software/public/smqueue/trunk@5663 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-06-04 21:15:59 +00:00
Kurtis Heimerl c0009c3f99 sqlite3 external working
git-svn-id: http://wush.net/svn/range/software/public/smqueue/trunk@5662 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-06-04 21:15:21 +00:00
Kurtis Heimerl e342a97efa testing svn externals in smq, trunk will be broken for a few commits
git-svn-id: http://wush.net/svn/range/software/public/smqueue/trunk@5661 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-06-04 21:08:12 +00:00
Kurtis Heimerl 74e84aa2e4 Complete Configuration sync. While testing, I discovered what I think is a race condition: getStr("SIP.SMSC") returned another config key ("GSM.MS.TA.Damping") which I assume is a race condition in the config cache. However, I've been unable to replicate the issue and I think it may resolve itself quickly (as these things are successfully cached)
git-svn-id: http://wush.net/svn/range/software/public/smqueue/trunk@5656 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-05-31 21:47:42 +00:00
Kurtis Heimerl edebe820df r4347 in commercial:
Fix shortcode checking. Make more efficient.

git-svn-id: http://wush.net/svn/range/software/public/smqueue/trunk@5468 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-05-16 00:37:36 +00:00
Kurtis Heimerl 1f447f8846 few sql files needed modification as our patches are not lined up with each other
git-svn-id: http://wush.net/svn/range/software/public/smqueue/trunk@5403 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-05-10 06:41:07 +00:00
Kurtis Heimerl dc5fae9d9f r4808 in commercial:
Oooops! Do not make message *TO* the relay as from_relay.

git-svn-id: http://wush.net/svn/range/software/public/smqueue/trunk@5402 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-05-10 06:41:02 +00:00
Kurtis Heimerl 5b659e2607 r 4807 in commercial:
Prevent billing errors on non-PDU messages from the relay.

r 4761 in commercial:
Add support for billing messages when arriving with content type of plain text and not to smsc short code.

r4664 in commercial:
Add tariff column (along with total tariff) and service type column to CDR.

r4663 in commercial:
Merge billing feature branch to trunk.

git-svn-id: http://wush.net/svn/range/software/public/smqueue/trunk@5400 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-05-10 06:40:51 +00:00
Kurtis Heimerl 4b8bc965a5 Catch 486s as well as 480s
git-svn-id: http://wush.net/svn/range/software/public/smqueue/trunk@4921 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-02-18 09:09:30 +00:00
Kurtis Heimerl 48d79f0dc6 Synced sqlite3utils with private and fixed a small recursive bug in SIPEngine that was already fixed in private
git-svn-id: http://wush.net/svn/range/software/public/smqueue/trunk@4912 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-02-15 02:57:54 +00:00
Kurtis Heimerl 2394aeb816 formatting again
git-svn-id: http://wush.net/svn/range/software/public/smqueue/trunk@4903 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-02-09 06:48:23 +00:00
Kurtis Heimerl 418fb9e59d Small formatting issues
git-svn-id: http://wush.net/svn/range/software/public/smqueue/trunk@4902 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-02-09 06:47:45 +00:00
Kurtis Heimerl bf5457ea5c We now handle 480 Unavailable messages by waiting, rather than bouncing the message
git-svn-id: http://wush.net/svn/range/software/public/smqueue/trunk@4901 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-02-09 06:40:25 +00:00
Kurtis Heimerl 444a8e2108 we accidentally overwrote the sqlite3 bump from 3.6 -> 3.7. Reverting (and syncing) that
git-svn-id: http://wush.net/svn/range/software/public/smqueue/trunk@4682 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2012-12-27 07:24:40 +00:00
Kurtis Heimerl cb1bdd9b76 syncing commonlibs again
git-svn-id: http://wush.net/svn/range/software/public/smqueue/trunk@4677 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2012-12-22 08:47:59 +00:00
Kurtis Heimerl 89d0b956b1 A more robust way of converting SUBMIT to DELIVER mesages. So if something goes wrong inbetween we have less damage.
Signed-off-by: Kurtis Heimerl <kheimerl@cs.berkeley.edu>

git-svn-id: http://wush.net/svn/range/software/public/smqueue/trunk@4674 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2012-12-22 04:33:18 +00:00
Kurtis Heimerl f5e4c4de84 Fix short_msg::get_text() function to correcrtly handle both MS->SC and SC->MS cases.
Signed-off-by: Kurtis Heimerl <kheimerl@cs.berkeley.edu>

git-svn-id: http://wush.net/svn/range/software/public/smqueue/trunk@4673 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2012-12-22 04:32:48 +00:00
Kurtis Heimerl 1e62322898 Log before doing anything in SMq::bounce_message().
Calls like get_text() may crash and thus it's better to log before calling it.

Signed-off-by: Kurtis Heimerl <kheimerl@cs.berkeley.edu>

git-svn-id: http://wush.net/svn/range/software/public/smqueue/trunk@4672 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2012-12-22 04:32:09 +00:00
Kurtis Heimerl b5ff57505d A TODO comment regarding handling of the incorrect handling of 480 Temporarily Unavailable response.
Signed-off-by: Kurtis Heimerl <kheimerl@cs.berkeley.edu>

git-svn-id: http://wush.net/svn/range/software/public/smqueue/trunk@4671 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2012-12-22 04:31:32 +00:00
Kurtis Heimerl f48fd6af37 aannnddd reporting.{cpp,h}
git-svn-id: http://wush.net/svn/range/software/public/smqueue/trunk@4655 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2012-12-19 11:05:27 +00:00
Kurtis Heimerl b2384bf129 Forgot these files needed to be moved
git-svn-id: http://wush.net/svn/range/software/public/smqueue/trunk@4653 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2012-12-19 10:58:20 +00:00
Kurtis Heimerl 527a9632bb Syncing the CommonLibs, SMS and sqlite3 directories
git-svn-id: http://wush.net/svn/range/software/public/smqueue/trunk@4652 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2012-12-19 09:06:50 +00:00
Kurtis Heimerl 681d8f2662 Same as previous alexander patch, but applied to smqueue
git-svn-id: http://wush.net/svn/range/software/public/smqueue/trunk@4648 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2012-12-19 07:01:34 +00:00
Kurtis Heimerl c7c779cd33 small formatting stuff
git-svn-id: http://wush.net/svn/range/software/public/smqueue/trunk@4455 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2012-11-11 09:56:57 +00:00
Kurtis Heimerl aa196bcdc6 graciously handle missing displaynames by falling back to username
git-svn-id: http://wush.net/svn/range/software/public/smqueue/trunk@4454 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2012-11-11 09:47:41 +00:00
Kurtis Heimerl 54d35d4f95 Persistent stable storage for SMQ. Pretty much a hack, but messages are stored in a stable DB until we remove them from the sorted list. As such, if SMQ fails, they are reloaded into said list and reprocessed. This allows us to handle transient SMQ failures.
git-svn-id: http://wush.net/svn/range/software/public/smqueue/trunk@4453 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2012-11-11 07:57:56 +00:00
Kurtis Heimerl 7f840474c9 getting weird "this is not an IMSI stuff from smq
git-svn-id: http://wush.net/svn/range/software/public/smqueue/trunk@4446 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2012-11-10 04:15:34 +00:00
Kurtis Heimerl 6af600ff83 r4430 in commercial
Update SubscriberRegistry.

git-svn-id: http://wush.net/svn/range/software/public/smqueue/trunk@4443 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2012-11-09 22:15:42 +00:00
Kurtis Heimerl 90620b074b r4300 in commercial:
Adds configuration option for message retry timeout.

git-svn-id: http://wush.net/svn/range/software/public/smqueue/trunk@4442 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2012-11-09 22:14:25 +00:00
Kurtis Heimerl be3b768c89 r4278 in commercial:
Make sure that smsg->tl_message is not NULL when getting the TLPID.

git-svn-id: http://wush.net/svn/range/software/public/smqueue/trunk@4441 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2012-11-09 22:13:54 +00:00
Kurtis Heimerl d8207fcd5b removing that fucking email thing from smqueue. It causes so many issues
git-svn-id: http://wush.net/svn/range/software/public/smqueue/trunk@4074 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2012-09-06 21:37:38 +00:00
Kurtis Heimerl 72972c2727 David's sqlite3.7 switch. SMQ now supports write-ahead logging in the public release
git-svn-id: http://wush.net/svn/range/software/public/smqueue/trunk@4073 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2012-09-06 20:48:32 +00:00