diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-09-19 23:31:45 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-09-19 23:31:45 +0200 |
commit | 2facdb7943b0db040ebb874f65dd68ab74a8a498 (patch) | |
tree | 04e0aff384b9fa49fee9bf7df841ad5ae260c0db | |
parent | 0008960d880b1a880d5ef84191a63138a63cf26e (diff) |
msc: Do not run ping/pong timers by default
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.
-rw-r--r-- | src/msc_conn.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/msc_conn.c b/src/msc_conn.c index 0e61dd3..452d408 100644 --- a/src/msc_conn.c +++ b/src/msc_conn.c @@ -550,6 +550,7 @@ struct msc_connection *msc_connection_create(struct bsc_data *bsc, int mgcp) msc->msc_link_down = 1; /* handle the timeout */ + msc->ping_time = -1; msc->ping_timeout.cb = msc_ping_timeout; msc->ping_timeout.data = msc; msc->pong_timeout.cb = msc_pong_timeout; |