Initiate a call once we have a channel assigned

This commit is contained in:
Holger Freyther 2008-12-29 06:42:15 +00:00
parent 4a1e87928c
commit abade7af88
2 changed files with 6 additions and 0 deletions

View File

@ -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);

View File

@ -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