if (newbc->nt) stop_bc_tones(ch);
ch->state=MISDN_CALLING;
-
+
return 0;
}
break;
case EVENT_PROCEEDING:
{
-
+ if (bc->channel)
+ update_name(ch->ast,bc->port,bc->channel);
+
if ( misdn_cap_is_speech(bc->capability) &&
misdn_inband_avail(bc) ) {
start_bc_tones(ch);
}
break;
case EVENT_PROGRESS:
+
+ if (bc->channel)
+ update_name(ch->ast,bc->port,bc->channel);
+
if (!bc->nt ) {
if ( misdn_cap_is_speech(bc->capability) &&
misdn_inband_avail(bc)
case EVENT_ALERTING:
{
+ if (bc->channel)
+ update_name(ch->ast,bc->port,bc->channel);
+
ch->state = MISDN_ALERTING;
ast_queue_control(ch->ast, AST_CONTROL_RINGING);