提交 12504aa2 authored 作者: Mike Jerris's avatar Mike Jerris

Merge pull request #99 in FS/freeswitch from…

Merge pull request #99 in FS/freeswitch from ~BRIAN/freeswitch-brian:bugfix/FS-6961-mod_erlang_event-add-call-uuid-to to master

* commit '89f3f5e2':
  FS-6961: [mod_erlang_event]: Add call UUID to call_hangup message
......@@ -757,7 +757,10 @@ static switch_status_t check_attached_sessions(listener_t *listener, int *msgs_s
sp->uuid_str, switch_channel_state_name(sp->channel_state));
ei_x_new_with_version(&ebuf);
ei_x_encode_tuple_header(&ebuf, 2);
ei_x_encode_atom(&ebuf, "call_hangup");
_ei_x_encode_string(&ebuf, sp->uuid_str);
switch_mutex_lock(listener->sock_mutex);
ei_sendto(listener->ec, listener->sockfd, &sp->process, &ebuf);
(*msgs_sent)++;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论