mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 01:26:58 +00:00
make dingaling work with google voice inbound too
This commit is contained in:
committed by
Brian West
parent
5ce37cbed8
commit
4ee68141d7
@@ -2471,6 +2471,11 @@ int ldl_handle_running(ldl_handle_t *handle)
|
||||
}
|
||||
|
||||
|
||||
void ldl_session_set_gateway(ldl_session_t *session)
|
||||
{
|
||||
ldl_set_flag(session, LDL_FLAG_GATEWAY);
|
||||
}
|
||||
|
||||
int ldl_session_gateway(ldl_session_t *session)
|
||||
{
|
||||
return ldl_test_flag(session, LDL_FLAG_GATEWAY) ? 1 : 0;
|
||||
|
@@ -593,6 +593,7 @@ ldl_status ldl_handle_init(ldl_handle_t **handle,
|
||||
void ldl_handle_run(ldl_handle_t *handle);
|
||||
|
||||
int ldl_session_gateway(ldl_session_t *handle);
|
||||
void ldl_session_set_gateway(ldl_session_t *session);
|
||||
|
||||
/*!
|
||||
\brief Stop a libDingaLing handle
|
||||
|
Reference in New Issue
Block a user