提交 397bf1bf authored 作者: Anthony Minessale's avatar Anthony Minessale

change dingaling to break everybody

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1318 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 1349bbff
...@@ -254,6 +254,7 @@ debug => 0 ...@@ -254,6 +254,7 @@ debug => 0
codec_prefs => PCMU codec_prefs => PCMU
; *NOTE* your resource (after the /) MUST contain the string "talk" (upper or lower case is ok) ; *NOTE* your resource (after the /) MUST contain the string "talk" (upper or lower case is ok)
; *NOTE* as of May 2 2006 you must set auto-login => true if you want to be able to auto-login on startup
[interface] [interface]
name => google name => google
...@@ -262,6 +263,7 @@ codec_prefs => PCMU ...@@ -262,6 +263,7 @@ codec_prefs => PCMU
dialplan => demo dialplan => demo
message => Jingle all the way message => Jingle all the way
rtp-ip => 0.0.0.0 rtp-ip => 0.0.0.0
auto-login => true
; or ; ; or ;
;rtp-ip => my_lan_ip ;rtp-ip => my_lan_ip
;ext-rtp-ip => stun:stun.server.com ;ext-rtp-ip => stun:stun.server.com
......
...@@ -1186,6 +1186,11 @@ void ldl_handle_run(ldl_handle_t *handle) ...@@ -1186,6 +1186,11 @@ void ldl_handle_run(ldl_handle_t *handle)
ldl_clear_flag(handle, LDL_FLAG_RUNNING); ldl_clear_flag(handle, LDL_FLAG_RUNNING);
} }
void ldl_handle_stop(ldl_handle_t *handle)
{
ldl_clear_flag(handle, LDL_FLAG_RUNNING);
}
ldl_status ldl_handle_destroy(ldl_handle_t **handle) ldl_status ldl_handle_destroy(ldl_handle_t **handle)
{ {
apr_pool_t *pool = (*handle)->pool; apr_pool_t *pool = (*handle)->pool;
......
...@@ -383,6 +383,13 @@ ldl_status ldl_handle_init(ldl_handle_t **handle, ...@@ -383,6 +383,13 @@ ldl_status ldl_handle_init(ldl_handle_t **handle,
*/ */
void ldl_handle_run(ldl_handle_t *handle); void ldl_handle_run(ldl_handle_t *handle);
/*!
\brief Stop a libDingaLing handle
\param handle the Dingaling handle to stop
*/
void ldl_handle_stop(ldl_handle_t *handle);
/*! /*!
\brief Destroy a libDingaLing handle \brief Destroy a libDingaLing handle
\param handle the Dingaling handle to destroy \param handle the Dingaling handle to destroy
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论