mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-13 12:40:17 +00:00
Merge pull request #99 in FS/freeswitch from ~BRIAN/freeswitch-brian:bugfix/FS-6961-mod_erlang_event-add-call-uuid-to to master
* commit '89f3f5e2986d24800e40064f9966675389f5f8a0': FS-6961: [mod_erlang_event]: Add call UUID to call_hangup message
This commit is contained in:
commit
12504aa210
@ -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)++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user