aboutsummaryrefslogtreecommitdiffstats
path: root/src/msc_conn.c
AgeCommit message (Collapse)AuthorFilesLines
2012-12-16stp: Extract the MGCP forwarding code out of the msc_connectionHolger Hans Peter Freyther1-118/+9
For the ISUP/MGCP handling we will need the same code, extract it from the msc_connection. For the reading code callback is introduced that will pass the MGCP message to the higher layer.
2011-11-25msc: Only unregister the fd when we have a valid fdHolger Hans Peter Freyther1-3/+7
2011-09-19msc: Do not run ping/pong timers by defaultHolger Hans Peter Freyther1-0/+1
The current ping/pong timeout is 0 which means the MSC connection will be taken down almost immediately. Set it to -1 to disable sending pings and waiting for the pong.
2011-09-15cellmgr: Patch the MGCP messages and replace the domain nameHolger Hans Peter Freyther1-0/+2
Replace the domain name with a new name domain that can be configured via the VTY interface.
2011-09-15mgcp: Reset the local endpoint with the domain name configuredHolger Hans Peter Freyther1-6/+12
2011-05-08Adopt to recent libosmocore namespace changes and libosmogsmHarald Welte1-33/+34
2011-02-23msc: Remove unused method from the codeHolger Hans Peter Freyther1-7/+0
2011-02-22misc: Use llist_add_tail to add new links to the endHolger Hans Peter Freyther1-1/+1
2011-02-17ss7: Move the linkset up/down into the ss7_app, move some code aroundHolger Hans Peter Freyther1-1/+12
2011-02-17ss7: Create a SS7 application that is responsible for the routingHolger Hans Peter Freyther1-1/+0
2011-02-17msc: Move more state into the sccp_state.cHolger Hans Peter Freyther1-23/+0
2011-02-17msc: Move the nat handling into the sccp_state for nowHolger Hans Peter Freyther1-42/+1
2011-02-17msc: Move the MSC Connection into a new header fileHolger Hans Peter Freyther1-50/+87
This is in preparation of splitting the MSC part and the nat logic for the upcoming config rewriting.
2011-02-10msc: In forward_only mode never ask any of the connection tracking codeHolger Hans Peter Freyther1-3/+5
For the forward only code we never want to go through the other cases, make sure to always return.
2011-02-10bsc: Move the BSC<->MSC variables to a new struct.Holger Hans Peter Freyther1-119/+116
Move the MSC related information out of the bsc_data and update the code to use this BSC configuration. This is greatly cleaning up the code and in theory there might now be two BSC and two MSCs that one application can handle (minus the missing VTY config)
2011-01-21msc: Fix crash due pong timeout started from a msc resetHolger Hans Peter Freyther1-0/+10
This is fixing a crash that is caused by the MTP link going down/up and the main routines asking to send a reset to the MSC. The sending of a reset is triggering the ping/pong timeouts. In case there is no MSC connection we could crash.
2011-01-17mtp: Make the link_data be a child of the link_setHolger Hans Peter Freyther1-1/+1
Change the order of the link and linkset. The link will be below the linkset. This change should make it more easy to introduce multiple linksets.
2011-01-17mtp: Rename mtp_link to mtp_link_set as this is the linksetHolger Hans Peter Freyther1-3/+3
The link_udp is actually below the linkset. We need to get this right now and then can have multiple links.
2011-01-17mtp: Attempt to select the sls properly in the round robin fashionHolger Hans Peter Freyther1-1/+1
When we call the submit method with a SLS of -1 we will try to find the next SLS to do things in a round robin way.
2011-01-17msc: Remove the msc_clear_queue now that it is not neededHolger Hans Peter Freyther1-5/+0
2011-01-17sccp: Stop queueing messages between SLTM messagesHolger Hans Peter Freyther1-30/+0
Remove the queueing of messages that was added during a debugging session and should not be needed. This will simply bringing down the linkset.
2011-01-16license: Switch to the GNU AGPLv3 for this network serviceHolger Hans Peter Freyther1-7/+6
2010-11-16udt: Add a forward_only to the bsc struct and use it for the msc_connHolger Hans Peter Freyther1-0/+9
Simply forward everything, no need for inspecting things.
2010-11-16udt_relay: Add a forked copy of main to just relay messagesHolger Hans Peter Freyther1-2/+7
Do not run any of the header rewriting for messages. This will simply relay SCCP friends to the MTP library. Some work on msc_conn.c is needed to avoid calling most of it.
2010-10-08mtp: Store the mtp_link inside the connectionHolger Hans Peter Freyther1-2/+2
Prepare to have multiple links to the BSC.
2010-10-06ussd: Pass the bsc_data to have access to the USSD messageHolger Hans Peter Freyther1-1/+1
2010-10-06ussd: Create the hook where packages from the MSC pass byHolger Hans Peter Freyther1-0/+1
2010-10-06msc: Create a function to send or queue messages.Holger Hans Peter Freyther1-7/+16
2010-10-06ussd: Add the hook where we can capture the Location Updating RequestHolger Hans Peter Freyther1-0/+5
2010-10-01msc: Return an error if we close the fd1.0.2-Holger Hans Peter Freyther1-4/+7
2010-10-01msc: Stop the msc reconnect timer as well (possible bfd corruption fix)Holger Hans Peter Freyther1-0/+1
It appears that we run into a PING timeout before we have received the first message and then will try to close the connection tiwce. Stop the msc_timeout when we close down the connection.
2010-08-07msc: Separate the BSC and MSC link completly...Holger Hans Peter Freyther1-1/+12
Make the msc_conn responsible for creating the link to the core network and reopening it, make the BTS code just call the msc methods and the MSC will throw away data in case it can not be forwarded. This avoids a problem that we start a reconnect timer while we have a connection in progress and then add the same file descriptor twice. This is mostly a speculative fix to the problem.
2010-08-07msc: Manage the msc_link_down only in the msc_conn.cHolger Hans Peter Freyther1-0/+1
Only write to this property in the msc_conn context and not from within the main procedure.
2010-08-07msc: Rename closing to msc_link_downHolger Hans Peter Freyther1-2/+2
This is the indicator if the MSC is connected and authenticated or not. This name should be better than closing.
2010-08-07msc: Use the msc_close_connection routineHolger Hans Peter Freyther1-8/+1
Remove code duplication, the only difference is that the generic callback pointer is not reset. But as we have lost the connection we will go through the normnal connect again which will fix things.
2010-08-07msc: Make close_msc public, call it from main..Holger Hans Peter Freyther1-4/+4
We would have not stopped the timer, fix that by only having one function to close the connection to the msc.
2010-08-04Use libosmocore instead of the old temporary laF0rge1 lib..Holger Hans Peter Freyther1-2/+3
2010-07-31u_int8_t -> uint8_tHolger Hans Peter Freyther1-3/+3
2010-07-28Public release of the cellmgr_ng code to convert E1 to IPA SCCPHolger Hans Peter Freyther1-0/+594