bsc: Initialize the MSC data parameters to a sane default

This commit is contained in:
Holger Hans Peter Freyther 2010-09-16 02:00:01 +08:00
parent 79f763fe91
commit 469692ca47
1 changed files with 5 additions and 0 deletions

View File

@ -313,6 +313,11 @@ struct gsm_network *gsm_network_init(u_int16_t country_code, u_int16_t network_c
net->mncc_recv = mncc_recv;
net->msc_data->msc_ip = talloc_strdup(net, "127.0.0.1");
net->msc_data->msc_port = 5000;
net->msc_data->ping_timeout = 20;
net->msc_data->pong_timeout = 5;
gsm_net_update_ctype(net);
return net;