libmobile: Minor fixes
This commit is contained in:
parent
8c0a25f3b0
commit
6650631b4f
|
@ -709,9 +709,10 @@ void ll_msg_cb(osmo_cc_endpoint_t __attribute__((unused)) *ep, uint32_t callref,
|
||||||
|
|
||||||
/* caller id */
|
/* caller id */
|
||||||
rc = osmo_cc_get_ie_calling(msg, 0, &type, &plan, &present, &screen, caller_id, sizeof(caller_id));
|
rc = osmo_cc_get_ie_calling(msg, 0, &type, &plan, &present, &screen, caller_id, sizeof(caller_id));
|
||||||
if (rc < 0)
|
if (rc < 0) {
|
||||||
caller_type = TYPE_NOTAVAIL;
|
caller_type = TYPE_NOTAVAIL;
|
||||||
else {
|
caller_id[0] = '\0';
|
||||||
|
} else {
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case OSMO_CC_TYPE_INTERNATIONAL:
|
case OSMO_CC_TYPE_INTERNATIONAL:
|
||||||
caller_type = TYPE_INTERNATIONAL;
|
caller_type = TYPE_INTERNATIONAL;
|
||||||
|
|
|
@ -66,8 +66,8 @@ typedef struct console {
|
||||||
uint32_t callref;
|
uint32_t callref;
|
||||||
enum console_state state;
|
enum console_state state;
|
||||||
int disc_cause; /* cause that has been sent by transceiver instance for release */
|
int disc_cause; /* cause that has been sent by transceiver instance for release */
|
||||||
char station_id[16];
|
char station_id[33];
|
||||||
char dialing[16];
|
char dialing[33];
|
||||||
char audiodev[64]; /* headphone interface, if used */
|
char audiodev[64]; /* headphone interface, if used */
|
||||||
int samplerate; /* sample rate of headphone interface */
|
int samplerate; /* sample rate of headphone interface */
|
||||||
void *sound; /* headphone interface */
|
void *sound; /* headphone interface */
|
||||||
|
|
Loading…
Reference in New Issue