If a mobile inscribes, show station ID on the console
If the console's station ID is not set, it will be automatically set when a call is made from the mobile phone or when it performs inscription to the network. (Only works for cellular networks with inscription support.)
This commit is contained in:
@@ -46,6 +46,7 @@
|
||||
#include "../liblogging/logging.h"
|
||||
#include "../libmobile/call.h"
|
||||
#include "../libmobile/cause.h"
|
||||
#include "../libmobile/console.h"
|
||||
#include <osmocom/cc/message.h>
|
||||
#include "amps.h"
|
||||
#include "dsp.h"
|
||||
@@ -862,6 +863,7 @@ _register:
|
||||
LOGP(DAMPS, LOGL_ERROR, "Failed to create transaction\n");
|
||||
return;
|
||||
}
|
||||
console_inscription(callerid);
|
||||
} else
|
||||
if (order == 13 && ordq == 3 && msg_type == 1) {
|
||||
LOGP_CHAN(DAMPS, LOGL_INFO, "Registration - Power Down %s (ESN = %s, %s, %s)\n", callerid, esn_to_string(esn), amps_scm(scm), amps_mpci(mpci));
|
||||
|
Reference in New Issue
Block a user