From abade7af88843abc041144fcbfcc525e65a66e94 Mon Sep 17 00:00:00 2001 From: Holger Freyther Date: Mon, 29 Dec 2008 06:42:15 +0000 Subject: [PATCH] Initiate a call once we have a channel assigned --- include/openbsc/gsm_04_08.h | 1 + src/bsc_hack.c | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/include/openbsc/gsm_04_08.h b/include/openbsc/gsm_04_08.h index 081e869ef..24cfd6c0c 100644 --- a/include/openbsc/gsm_04_08.h +++ b/include/openbsc/gsm_04_08.h @@ -343,6 +343,7 @@ struct gsm_bts; int gsm0408_rcvmsg(struct msgb *msg); void gsm0408_generate_lai(struct gsm48_loc_area_id *lai48, u_int16_t mcc, u_int16_t mnc, u_int16_t lac); +int gsm48_cc_tx_setup(struct gsm_lchan *lchan); enum gsm_chan_t get_ctype_by_chreq(struct gsm_bts *bts, u_int8_t ra); enum gsm_chreq_reason_t get_reason_by_chreq(struct gsm_bts *bts, u_int8_t ra); diff --git a/src/bsc_hack.c b/src/bsc_hack.c index 6091b5dbe..0087de277 100644 --- a/src/bsc_hack.c +++ b/src/bsc_hack.c @@ -860,6 +860,11 @@ static void bsc_hack_channel_response(struct gsm_lchan *lchan, int ack) llist_del(&station->entry); free(station); + + /* + * start a call + */ + gsm48_cc_tx_setup(lchan); } else { /* * give up and go to the next channel