aboutsummaryrefslogtreecommitdiffstats
path: root/gsm_call_fsm.py
AgeCommit message (Collapse)AuthorFilesLines
2024-03-19port over ctypeslib2Harald Welte1-1/+1
After many years without ctypeslib maintenance, there's finally a ctypeslib2 for python3.x Instead of the crude gcc2xml hack it uses libclang to generate python directly from the C. Change-Id: I9efd56623ebeabef4317356a05484a620a3a91cc
2020-04-29GsmCallFsm: permit MNCC_REL_CNF in any stateHarald Welte1-1/+1
Depending on the type of failure in the MSC, MGW or BSC, we may expect MNCC_REL_CNF in any state. Closes: SYS#4832 Change-Id: I0d65da82fbcc48c8967a65b917ea14121bd941f3
2020-03-07mncc_mt_loadgen: Don't call GsmCallFsm() with rtp_bridge=TrueHarald Welte1-4/+0
rtp_bridge=True triggers the automatic transmission of a MNCC_RTP_CREATE when that call goes into ACTIVE state. We don't want this in the case of mncc_mt_loadgen, as we perform this at a much sooner point in time. Change-Id: I8816ccb8c7dce2958496c81a95f1a91bc33e772b
2020-03-07mncc_{test,mg_loadgen}.py: Add a manual call-release functionNeels Hofmeyr1-0/+10
Change-Id: I30265b765f03bd0485bdaa7d6be6d95ad678b0ee
2018-09-30*.py: use generic logging framework instead of print()Vadim Yanitskiy1-6/+9
Change-Id: I025ddae64e41319abac8e2cd2e266db83aea4a7b
2018-09-29*.py: use proper '#!/usr/bin/env' shebangVadim Yanitskiy1-1/+1
Using hard-coded paths in shebang is a bad idea, because on different systems Python interpreter can be installed in different places. See: https://mail.python.org/pipermail/tutor/2007-June/054816.html Change-Id: Ib729ece0c95254dc2b235f90eb731681df955bd1
2017-06-04Bearer capability not provided during MO call using mncc-python, which ↵Gerard Pinto1-3/+4
results in GSM IE error (96) invalid mandatory information sent by Network -> MS (mncc-python) Verified this error by GSMTAP using mncc-python interface OsmocomBB to network Proposed Changes: In case of MO call (_onmncc_setup_req) caller needs to provide bearer_cap speech version Added mncc.bearer_cap in mncc_sock.py based on codecs = GSM48.AllCodecs Added new field mncc.MNCC_F_BEARER_CAP in mncc.MNCC_SETUP_REQ, when call is initiated (MO) from MS -> network Change-Id: If77851b86111d62d82221a886ed2391179080cca
2015-12-05gsm_call_fsm: Less debug printf'sHarald Welte1-7/+0
2015-12-05Terminate CallConnector when both GsmCallFsm enter NULL state againHarald Welte1-0/+3
2015-12-05GsmCallFsm: Print current state in __str__Harald Welte1-1/+1
2015-12-05GsmCallFsm: Initialize calling/called during constructorHarald Welte1-0/+1
2015-12-05GsmCallFsm: Handle DTMF and HOLD requests from phonesHarald Welte1-0/+22
we don't want the FSM to terminate in case such requests are received.
2015-12-05GsmCallFsm: Implement __str__() and use itHarald Welte1-5/+8
2015-12-05gcm_call_fsm: Allow user to specify which codec(s) are to be usedHarald Welte1-7/+65
The user can submit a list of permitted codecs for a GsmCallFsm or GsmCallConnector. This list is ordered by priority (highest first), and the first matching codec is chosen. TODO: Proper error handling in case no matching codec is found
2015-12-05gsm_call_fsm: Implement classic MNCC_BRIDGE modeHarald Welte1-3/+20
In the classic MNCC_BRIDGE mode we ask the MSC to bridge the two traffic channels itself. This works for E1 as well as for RTP BTSs', and even accross mixed E1 and RTP environments.
2015-12-03gsm_call_fsm: Add get_callref method to GsmCallFsmHarald Welte1-0/+4
... and obtain the call references into the GsmCallConnector
2015-12-02add license headersHarald Welte1-4/+9
2015-12-01gsm_call_fsm: Connect the RTP streams of the two call legsHarald Welte1-12/+76
2015-12-01add mncc_rtp_msg() class for RTP messages on MNCC interfaceHarald Welte1-1/+1
2015-12-01gsm_call_fsm: transition from CONNECT_REQUEST state into ACTIVEHarald Welte1-0/+1
2015-12-01gsm_call_fsm: Gracefully handle MNCC_DISC_IND and send MNCC_REL_REQHarald Welte1-0/+6
2015-12-01gsm_call_fsm: print string representation of mncc_msgHarald Welte1-1/+1
2015-12-01gsm_call_fsm: Fix typo in handling of MNCC_ALERT_INDHarald Welte1-1/+1
2015-12-01gsm_call_fsm: accept MNCC_REL_IND in every state, contrary to specHarald Welte1-1/+1
2015-12-01gsm_call_fsm: fix transmission of MNCC_SETUP_COMPL_REQHarald Welte1-2/+2
2015-12-01Introduce GsmCallConnector() to connect two call legsHarald Welte1-3/+38
2015-12-01logging cleanupHarald Welte1-2/+1
2015-12-01gsm_call_fsm: stop() the actor when re-entering NULL stateHarald Welte1-0/+5
2015-12-01port mncc_test2 and gsm_call_fsm to pykka Actor frameworkHarald Welte1-36/+46
2015-12-01initial checkin of experiments with python and the MNCC interfaceHarald Welte1-0/+138