Fixed MSN option and handling
This commit is contained in:
parent
234f18cb43
commit
eb9b40c260
|
@ -206,6 +206,7 @@ void setup_ind(call_t *call, uint32_t pid, struct l3_msg *l3m)
|
|||
while (m) {
|
||||
if (!strcmp(callerid, m->msn))
|
||||
break;
|
||||
m = m->next;
|
||||
}
|
||||
/* not found, so we use first MSN */
|
||||
if (!m) {
|
||||
|
@ -1597,6 +1598,7 @@ void setup_req(call_t *call, osmo_cc_msg_t *msg)
|
|||
while (m) {
|
||||
if (!strcmp(dialing, m->msn))
|
||||
break;
|
||||
m = m->next;
|
||||
}
|
||||
/* not found, so we use first MSN */
|
||||
if (!m) {
|
||||
|
|
|
@ -204,7 +204,7 @@ static int handle_options(int short_option, int argi, char **argv)
|
|||
case '0':
|
||||
ptp = 1;
|
||||
break;
|
||||
case 'm':
|
||||
case 'M':
|
||||
isdn_add_msn(isdn_ep, argv[argi]);
|
||||
break;
|
||||
case '1':
|
||||
|
|
Loading…
Reference in New Issue