Holger Hans Peter Freyther
fc5b9011a1
callagent: The Callagent semaphore protects the transaction list.
2011-06-24 20:08:22 +02:00
Holger Hans Peter Freyther
f365e989db
mgcp: Create a MGCP CallAgent in the MSC.
2011-06-23 23:03:02 +02:00
Holger Hans Peter Freyther
20af7ec751
bsc: Remove unused code from the project
2011-06-23 22:57:00 +02:00
Holger Hans Peter Freyther
303ea0908e
bsc: Make each BSC connection have a MGCPDSTrunk with the peer
2011-06-23 22:49:41 +02:00
Holger Hans Peter Freyther
7dd329388c
bsc: Change order to make sure config and msc are assigned before
...
Make sure that #config and #msc are assigned before creating
all the other instances in socket:.
2011-06-23 21:47:23 +02:00
Holger Hans Peter Freyther
bb35a0b1a6
sccp: Remove unused variable in the SCCPHandler
...
This appears to was meant to be used by the SCCP ref generation
2011-06-23 21:27:43 +02:00
Holger Hans Peter Freyther
6f367cde58
callagent: Print the transaction identifier and MGCP verb
...
Improve the log messages by printing the transaction identifer
and the MGCP verb/command.
2011-06-23 17:57:12 +02:00
Holger Hans Peter Freyther
82da2de559
callagent: Test the success path of MGCPTransaction
2011-06-23 17:50:41 +02:00
Holger Hans Peter Freyther
eb7736c08d
callagent: Make it possible to change the timeout values
2011-06-23 17:50:41 +02:00
Holger Hans Peter Freyther
32fbdfb446
callagent: Add tests fro CRCX creation and timeout handling of transactions
2011-06-23 17:50:41 +02:00
Holger Hans Peter Freyther
c545f0a10a
callagent: Allow to bind the UDP port to a different port
2011-06-23 17:50:40 +02:00
Holger Hans Peter Freyther
19367695eb
callagent: Move to the Osmo.TimerScheduler for timeout and retransmit handling
...
Move to the Osmo.TimerScheduler to schedule the removal, expiration
and retransmit.
2011-06-23 17:50:40 +02:00
Holger Hans Peter Freyther
b083d7e557
mgcp: Some very simple MGCPTransaction/CRCX command test
2011-06-23 17:50:40 +02:00
Holger Hans Peter Freyther
0cb46592b8
bsc: Cancel transactions without forwarding exceptions from here
2011-06-22 20:36:29 +02:00
Holger Hans Peter Freyther
dc184dd1ac
sccp: Improve the log messages and pick the SCCP(srcref:...) format
2011-06-22 20:21:47 +02:00
Holger Hans Peter Freyther
ce92f7afd5
sccp: Only send the release by timer if not in release mode.
2011-06-22 20:18:51 +02:00
Holger Hans Peter Freyther
b23662828c
sccp: Specify which connection will be taken down
2011-06-22 19:43:22 +02:00
Holger Hans Peter Freyther
cfae3fca95
sccp: Stop the t_int timer as well
2011-06-22 19:38:27 +02:00
Holger Hans Peter Freyther
15896e05e2
sccp: Implement SCCP IT sending and handling
2011-06-22 18:15:36 +02:00
Holger Hans Peter Freyther
15a382c883
sccp: Implement SCCInactivityTest creation and test it
2011-06-22 18:11:34 +02:00
Holger Hans Peter Freyther
8716b76293
sccp: Restart the T(iar), T(ias) on I/O.
2011-06-22 17:23:10 +02:00
Holger Hans Peter Freyther
95f4c07cc9
sccp: Attempt to add timeout handling to the SCCP Connection.
...
Rename SCCPConnectionBase to SCCPConnectionState and subclass
to add timer handling on top of the State. The IT sending is
not implemented properly yet.
2011-06-22 17:00:05 +02:00
Holger Hans Peter Freyther
8fd1c00968
timer: Ignore already removed timers
2011-06-22 16:59:33 +02:00
Holger Hans Peter Freyther
4570878f9a
timer: Add the initial version of the timer code
...
The code comes from the OsmoGSM repository but didn't have a
lot of history.
2011-06-22 15:21:09 +02:00
Holger Hans Peter Freyther
7256ab993a
timer: Remove the code from here and move to a new core package
...
Create a new OsmoCore package which core non network related
functionality that will be useful for everything.
2011-06-22 14:56:00 +02:00
Holger Hans Peter Freyther
08badd4ece
timer: Provide a singleton to access the scheduler
2011-06-22 11:51:32 +02:00
Holger Hans Peter Freyther
e314f4a324
timer: Introduce a very simple TimerScheduler...
2011-06-22 11:45:55 +02:00
Holger Hans Peter Freyther
5935cc373e
bsc: Open a new transaction, clarify locking, test release
2011-06-21 22:02:49 +02:00
Holger Hans Peter Freyther
c374b1934d
sccp: Make sure that data is dispatched with the lock
...
This will make sure that the lock will always be held.
2011-06-21 21:47:09 +02:00
Holger Hans Peter Freyther
99d66ec76d
sccp: Confirm a connection before sending the data
...
If we don't do it like this, we dispatch the data which might
send a RLSD... which would be send before there is a CC.
2011-06-21 21:47:09 +02:00
Holger Hans Peter Freyther
0543c8622d
sccp: Introduce a per SCCP connection lock
...
We need to deal with state changes from multiple Processes.
2011-06-21 21:47:09 +02:00
Holger Hans Peter Freyther
07985da54b
sccp: Document the shortcomings of the SCCP code
2011-06-21 21:47:09 +02:00
Holger Hans Peter Freyther
dbea609d06
sccp: Reorder functions, document, explain what kind of locking is used
2011-06-21 21:47:07 +02:00
Holger Hans Peter Freyther
eda5c4bd08
sccp: Move the state transition into a central place
2011-06-21 21:46:51 +02:00
Holger Hans Peter Freyther
bd2acafc8e
sccp: Introduce a new state for the initial state
2011-06-21 21:46:51 +02:00
Holger Hans Peter Freyther
8f526dea2d
sccp: Log the exception using the logException target
2011-06-21 21:46:49 +02:00
Holger Hans Peter Freyther
0b981c486d
gsm: Work more on dispatching incoming messages.
2011-06-20 21:41:53 +02:00
Holger Hans Peter Freyther
222bd7c47a
gsm0408: Work on dispatching things for the BSC connection
2011-06-20 18:53:01 +02:00
Holger Hans Peter Freyther
9b3cf91901
call: Work on call control and transactions
2011-06-20 14:06:20 +02:00
Holger Hans Peter Freyther
6f37808cc1
misc: Remove unused code, log exceptions with logException
2011-06-20 14:05:26 +02:00
Holger Hans Peter Freyther
e3cc57ffcd
sccp: Document the SCCPConnectionBase a bit better
...
Use proper categories, order the code according to the categories
2011-06-20 09:57:45 +02:00
Holger Hans Peter Freyther
99841c28a6
ipa: Open the connection and then wait for the completion
2011-06-20 09:45:43 +02:00
Holger Hans Peter Freyther
91244510c6
ipa: Remove the unused semaphore from the IPAConfig
2011-06-20 09:45:22 +02:00
Holger Hans Peter Freyther
4457adffb2
termination: When writing is failing attempt to clean things as well
2011-06-20 09:44:55 +02:00
Holger Hans Peter Freyther
ef1482477d
misc: Add some docs how the objects should play together
2011-06-19 19:32:30 +02:00
Holger Hans Peter Freyther
3dc78ed029
bsc: Close unknown connections, misc clean ups
2011-06-19 19:05:48 +02:00
Holger Hans Peter Freyther
9aa42d4969
sccp: Run each terminate in a block with exception recording.
2011-06-18 14:55:31 +02:00
Holger Hans Peter Freyther
d547380eb9
sccp: Update to new OsmoGSM.SCCPHandler to not have a process
...
The SCCP connection is not meant to be a process anymore but one
could still build the next/nextPut: on top of it but we will be
keeping the state around.
2011-06-18 14:50:18 +02:00
Holger Hans Peter Freyther
527a29ced2
sccp: Big structural change of how we handle SCCP connection
...
GSMConnection is the base class it will have
- ProcedureBase (probably be renamed to TransactionBase)
hanging off it, there is the concept of the main transaction
that has started this connection. It is mostly there for having
an easy way to judge if this connection was a success and the
only time this soft phone will have multiple transactions is
when we get MT-SMS while doing something else.
This is not fully tested due the lack of free internet access
the KEF airport.
2011-06-16 16:23:19 +02:00
Holger Hans Peter Freyther
19aee3e755
sccp: Introduce a method to remove all SCCP requests
...
E.g. when the underlying link has vanished we need to
clean things up. Trigger this here. This should go through
the normal termination cleanups.
2011-06-16 02:05:44 +02:00