summaryrefslogtreecommitdiffstats
path: root/src/modem.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modem.c')
-rw-r--r--src/modem.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modem.c b/src/modem.c
index ef79b20..e3d3cec 100644
--- a/src/modem.c
+++ b/src/modem.c
@@ -132,7 +132,7 @@ struct modem *modem_open(const char *dev) {
m->child_pid = -1;
m->child_buffio = NULL;
- m->listen_msn = "46";
+ m->listen_msn = "41264179"; // "46";
m->tabentry = NULL;
if (modem_reopen(m) < 0)
@@ -552,6 +552,7 @@ static int modem_input_ready_cb(struct buffio *b, void *user) {
m->command_index++;
if (m->command_index >= INIT_AT_COMMANDS) {
+ daemon_log(LOG_INFO, "Listening on '%s'.", m->listen_msn);
daemon_log(LOG_INFO, "Modem successfully initialised, waiting for calls.");
m->state = MODEM_STATE_CALLER_NUMBER_EXPECT;
modem_timeout(m, 0);