[Freeswitch-users] how to determine who is hangup the call
zigurds
teqx at yahoo.com
Wed Jun 10 06:05:03 PDT 2009
Hi,
How to determine from channel events, that are sent through event_socket,
what party have terminated the call? If I call for example from 103 to 104
and in first time 104 hang up, but in second time 103 hang up, in both cases
CHANNEL_HANGUP is sent at first to 104:
Event-Name: CHANNEL_HANGUP
Core-UUID: 8729f181-3325-4373-8030-537bc090e9d3
...
Event-Date-Timestamp: 1244634602734687
Event-Calling-File: switch_core_state_machine.c
Event-Calling-Function: switch_core_session_run
Event-Calling-Line-Number: 469
Hangup-Cause: NORMAL_CLEARING
Channel-State: CS_HANGUP
Channel-State-Number: 10
Channel-Name: sofia/Test/104
Unique-ID: 17cdd5b7-8949-44d4-bbb9-5d17a713811c
Call-Direction: outbound
Presence-Call-Direction: outbound
Answer-State: answered
...
Thanks,
Zigurds
--
View this message in context: http://www.nabble.com/how-to-determine-who-is-hangup-the-call-tp23961888p23961888.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.
More information about the FreeSWITCH-users
mailing list