mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 01:26:58 +00:00
Fix DTMF for outbound calls, default settings on startup and dialplan correctly set. We must be ready to go and really test this thing.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16350 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -237,6 +237,7 @@ switch_status_t FSHost::processBlegEvent(switch_event_t * event, QString buuid)
|
||||
{
|
||||
case SWITCH_EVENT_CHANNEL_ANSWER:
|
||||
{
|
||||
/* When do we get here? */
|
||||
emit answered(call);
|
||||
break;
|
||||
}
|
||||
@@ -254,7 +255,11 @@ switch_status_t FSHost::processBlegEvent(switch_event_t * event, QString buuid)
|
||||
call.data()->setState(FSCOMM_CALL_STATE_RINGING);
|
||||
emit ringing(call);
|
||||
}
|
||||
//printEventHeaders(event);
|
||||
else if (QString(switch_event_get_header_nil(event, "Answer-State")) == "answered")
|
||||
{
|
||||
call.data()->setState(FSCOMM_CALL_STATE_ANSWERED);
|
||||
emit answered(call);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user