<div dir="ltr"><div><div>Hi all,<br><br></div>I'm making a very simple <span class="gmail-il">freeswitch</span>
dummy module. It's simply make a conference in each incoming call, and hangup after 10 secs for each call. However, when I use switch_channel_hangup(), the conference was terminated but a zombie call record is remaining. <br></div><div><br></div><div>I'm using the latest freeswitch 1.8 f26ba42360f15463c5b65d6cb0367b95ba307901</div><div>Here is the log. I've replaced the server ip as <a href="http://BB.BB.BB.BB">BB.BB.BB.BB</a> and the client ip as AA.AA.AA.AA.</div><div><br></div><div><br></div><div><span style="font-family:monospace,monospace">2017-10-05 13:18:19.508489 [INFO] switch_core.c:2442 <br>FreeSWITCH Version 1.8.0+git~20170814T222640Z~f26ba42360~64bit (git f26ba42 2017-08-14 22:26:40Z 64bit)<br><br>FreeSWITCH Started<br>Max Sessions [1000]<br>Session Rate [30]<br>SQL [Enabled]<br>2017-10-05 13:18:19.509110 [INFO] mod_fsmux.c:173 show calls<br><br>0 total.<br><br>2017-10-05 13:18:19.509136 [INFO] mod_fsmux.c:178 conference list<br>+OK No active conferences.<br><br>recv 908 bytes from udp/[AA.AA.AA.AA]:5060 at 13:18:20.495288:<br> ------------------------------------------------------------------------<br> INVITE <a href="http://sip:28@BB.BB.BB.BB:5062">sip:28@BB.BB.BB.BB:5062</a> SIP/2.0<br> From: <sip:010001103@AA.AA.AA.AA:5060;transport=UDP>;tag=4dcbcc8-7f000001-13c4-15d31-2c2bf08a-15d31<br> To: <<a href="http://sip:28@BB.BB.BB.BB:5062">sip:28@BB.BB.BB.BB:5062</a>><br> Call-ID: 4e34100-7f000001-13c4-15d31-510bd4d5-15d31@AA.AA.AA.AA<br> CSeq: 1 INVITE<br> Via: SIP/2.0/UDP AA.AA.AA.AA:5060;branch=z9hG4bK-15d31-55407c5-6920019f<br> Max-Forwards: 70<br> Supported: 100rel,replaces<br> Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, PRACK, REFER, REGISTER<br> User-Agent: ADTRAN_Total_Access_924e_2nd_Gen/R11.10.7.HA.E<br> Contact: <sip:010001103@AA.AA.AA.AA:5060;transport=UDP><br> Content-Type: application/sdp<br> Content-Length: 279<br> <br> v=0<br> o=- 1507227330 1 IN IP4 AA.AA.AA.AA<br> s=-<br> c=IN IP4 AA.AA.AA.AA<br> t=0 0<br> m=audio 12828 RTP/AVP 18 0 8 101<br> a=silenceSupp:off - - - -<br> a=rtpmap:18 G729/8000<br> a=fmtp:18 annexb=no<br> a=rtpmap:0 PCMU/8000<br> a=rtpmap:8 PCMA/8000<br> a=rtpmap:101 telephone-event/8000<br> a=fmtp:101 0-15<br> ------------------------------------------------------------------------<br>2017-10-05 13:18:20.488235 [NOTICE] switch_channel.c:1104 New Channel sofia/internal/010001103@AA.AA.AA.AA:5060 [36e9ea37-5d94-439a-97be-c3d490db12d6]<br>2017-10-05 13:18:20.488235 [INFO] mod_dialplan_xml.c:637 Processing 010001103 <010001103>->28 in context public<br>send 409 bytes to udp/[AA.AA.AA.AA]:5060 at 13:18:20.496593:<br> ------------------------------------------------------------------------<br> SIP/2.0 100 Trying<br> Via: SIP/2.0/UDP AA.AA.AA.AA:5060;branch=z9hG4bK-15d31-55407c5-6920019f<br> From: <sip:010001103@AA.AA.AA.AA:5060;transport=UDP>;tag=4dcbcc8-7f000001-13c4-15d31-2c2bf08a-15d31<br> To: <<a href="http://sip:28@BB.BB.BB.BB:5062">sip:28@BB.BB.BB.BB:5062</a>><br> Call-ID: 4e34100-7f000001-13c4-15d31-510bd4d5-15d31@AA.AA.AA.AA<br> CSeq: 1 INVITE<br> User-Agent: FreeSWITCH-mod_sofia/1.8.0+git~20170814T222640Z~f26ba42360~64bit<br> Content-Length: 0<br> <br> ------------------------------------------------------------------------<br>2017-10-05 13:18:20.488235 [INFO] switch_core_session.c:2710 Sending early media<br>2017-10-05 13:18:20.488235 [NOTICE] sofia_media.c:92 Pre-Answer sofia/internal/010001103@AA.AA.AA.AA:5060!<br>send 1063 bytes to udp/[AA.AA.AA.AA]:5060 at 13:18:20.500198:<br> ------------------------------------------------------------------------<br> SIP/2.0 183 Session Progress<br> Via: SIP/2.0/UDP AA.AA.AA.AA:5060;branch=z9hG4bK-15d31-55407c5-6920019f<br> From: <sip:010001103@AA.AA.AA.AA:5060;transport=UDP>;tag=4dcbcc8-7f000001-13c4-15d31-2c2bf08a-15d31<br> To: <<a href="http://sip:28@BB.BB.BB.BB:5062">sip:28@BB.BB.BB.BB:5062</a>>;tag=U7c55U2Sva2pS<br> Call-ID: 4e34100-7f000001-13c4-15d31-510bd4d5-15d31@AA.AA.AA.AA<br> CSeq: 1 INVITE<br> Contact: <sip:28@BB.BB.BB.BB:5062;transport=udp><br> User-Agent: FreeSWITCH-mod_sofia/1.8.0+git~20170814T222640Z~f26ba42360~64bit<br> Accept: application/sdp<br> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REFER, NOTIFY<br> Supported: timer, path, replaces<br> Allow-Events: talk, hold, conference, refer<br> Content-Type: application/sdp<br> Content-Disposition: session<br> Content-Length: 247<br> Remote-Party-ID: "28" <<a href="mailto:sip%3A28@BB.BB.BB.BB">sip:28@BB.BB.BB.BB</a>>;party=calling;privacy=off;screen=no<br> <br> v=0<br> o=FreeSWITCH 1507203578 1507203579 IN IP4 <a href="http://BB.BB.BB.BB">BB.BB.BB.BB</a><br> s=FreeSWITCH<br> c=IN IP4 <a href="http://BB.BB.BB.BB">BB.BB.BB.BB</a><br> t=0 0<br> m=audio 23922 RTP/AVP 0 101<br> a=rtpmap:0 PCMU/8000<br> a=rtpmap:101 telephone-event/8000<br> a=fmtp:101 0-16<br> a=silenceSupp:off - - - -<br> a=ptime:20<br> ------------------------------------------------------------------------<br>send 1032 bytes to udp/[AA.AA.AA.AA]:5060 at 13:18:20.500315:<br> ------------------------------------------------------------------------<br> SIP/2.0 200 OK<br> Via: SIP/2.0/UDP AA.AA.AA.AA:5060;branch=z9hG4bK-15d31-55407c5-6920019f<br> From: <sip:010001103@AA.AA.AA.AA:5060;transport=UDP>;tag=4dcbcc8-7f000001-13c4-15d31-2c2bf08a-15d31<br> To: <<a href="http://sip:28@BB.BB.BB.BB:5062">sip:28@BB.BB.BB.BB:5062</a>>;tag=U7c55U2Sva2pS<br> Call-ID: 4e34100-7f000001-13c4-15d31-510bd4d5-15d31@AA.AA.AA.AA<br>2017-10-05 13:18:20.488235 [NOTICE] mod_conference.c:1835 Channel [sofia/internal/010001103@AA.AA.AA.AA:5060] has been answered<br> CSeq: 1 INVITE<br> Contact: <sip:28@BB.BB.BB.BB:5062;transport=udp>;isfocus<br> User-Agent: FreeSWITCH-mod_sofia/1.8.0+git~20170814T222640Z~f26ba42360~64bit<br> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REFER, NOTIFY<br> Supported: timer, path, replaces<br> Allow-Events: talk, hold, conference, refer<br> Content-Type: application/sdp<br> Content-Disposition: session<br> Content-Length: 247<br> Remote-Party-ID: "28" <<a href="mailto:sip%3A28@BB.BB.BB.BB">sip:28@BB.BB.BB.BB</a>>;party=calling;privacy=off;screen=no<br> <br> v=0<br> o=FreeSWITCH 1507203578 1507203579 IN IP4 <a href="http://BB.BB.BB.BB">BB.BB.BB.BB</a><br> s=FreeSWITCH<br> c=IN IP4 <a href="http://BB.BB.BB.BB">BB.BB.BB.BB</a><br> t=0 0<br> m=audio 23922 RTP/AVP 0 101<br> a=rtpmap:0 PCMU/8000<br> a=rtpmap:101 telephone-event/8000<br> a=fmtp:101 0-16<br> a=silenceSupp:off - - - -<br> a=ptime:20<br> ------------------------------------------------------------------------<br>2017-10-05 13:18:20.488235 [NOTICE] mod_fsmux.c:75 event: channel_answer 36e9ea37-5d94-439a-97be-c3d490db12d6<br>2017-10-05 13:18:20.508222 [INFO] switch_ivr_async.c:215 Digit parser mod_conference: Setting realm to 'conf'<br>2017-10-05 13:18:20.508222 [INFO] mod_fsmux.c:168 runtime is working<br>2017-10-05 13:18:20.508222 [INFO] mod_fsmux.c:173 show calls<br><br>0 total.<br><br>2017-10-05 13:18:20.508222 [INFO] mod_fsmux.c:178 conference list<br>+OK Conference 36e9ea37-5d94-439a-97be-c3d490db12d6 (1 member rate: 8000 flags: running|answered|bridge_to|dynamic|exit_sound|enter_sound|json_status)<br>1;sofia/internal/010001103@AA.AA.AA.AA:5060;36e9ea37-5d94-439a-97be-c3d490db12d6;010001103;010001103;hear|speak;0;0;100<br><br>2017-10-05 13:18:20.508222 [NOTICE] mod_fsmux.c:184 call uuid: 36e9ea37-5d94-439a-97be-c3d490db12d6, count: 1<br>recv 622 bytes from udp/[AA.AA.AA.AA]:5060 at 13:18:20.514950:<br> ------------------------------------------------------------------------<br> ACK sip:28@BB.BB.BB.BB:5062;transport=udp SIP/2.0<br> From: <sip:010001103@AA.AA.AA.AA:5060;transport=UDP>;tag=4dcbcc8-7f000001-13c4-15d31-2c2bf08a-15d31<br> To: <<a href="http://sip:28@BB.BB.BB.BB:5062">sip:28@BB.BB.BB.BB:5062</a>>;tag=U7c55U2Sva2pS<br> Call-ID: 4e34100-7f000001-13c4-15d31-510bd4d5-15d31@AA.AA.AA.AA<br> CSeq: 1 ACK<br> Via: SIP/2.0/UDP AA.AA.AA.AA:5060;branch=z9hG4bK-15d31-55407d9-43fc6205<br> Max-Forwards: 70<br> Supported: 100rel,replaces<br> Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, PRACK, REFER, REGISTER<br> User-Agent: ADTRAN_Total_Access_924e_2nd_Gen/R11.10.7.HA.E<br> Contact: <sip:010001103@AA.AA.AA.AA:5060;transport=UDP><br> Content-Length: 0<br> <br> ------------------------------------------------------------------------<br>2017-10-05 13:18:21.508236 [INFO] mod_fsmux.c:168 runtime is working<br>2017-10-05 13:18:21.508236 [INFO] mod_fsmux.c:173 show calls<br>uuid,direction,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,presence_id,presence_data,accountcode,callstate,callee_name,callee_num,callee_direction,call_uuid,hostname,sent_callee_name,sent_callee_num,b_uuid,b_direction,b_created,b_created_epoch,b_name,b_state,b_cid_name,b_cid_num,b_ip_addr,b_dest,b_presence_id,b_presence_data,b_accountcode,b_callstate,b_callee_name,b_callee_num,b_callee_direction,b_sent_callee_name,b_sent_callee_num,call_created_epoch<br>36e9ea37-5d94-439a-97be-c3d490db12d6,inbound,2017-10-05 13:18:20,1507227500,sofia/internal/010001103@AA.AA.AA.AA:5060,CS_EXECUTE,010001103,010001103,AA.AA.AA.AA,28,,,,ACTIVE,,,,,<a href="http://jbaik-dev.icsolutions.com">jbaik-dev.icsolutions.com</a>,,,,,,,,,,,,,,,,,,,,,,<br><br>1 total.<br><br>2017-10-05 13:18:21.508236 [INFO] mod_fsmux.c:178 conference list<br>+OK Conference 36e9ea37-5d94-439a-97be-c3d490db12d6 (1 member rate: 8000 flags: running|answered|bridge_to|dynamic|exit_sound|enter_sound|json_status)<br>1;sofia/internal/010001103@AA.AA.AA.AA:5060;36e9ea37-5d94-439a-97be-c3d490db12d6;010001103;010001103;hear|speak|talking|floor|vid-floor;0;0;100<br><br>2017-10-05 13:18:21.508236 [NOTICE] mod_fsmux.c:184 call uuid: 36e9ea37-5d94-439a-97be-c3d490db12d6, count: 2<br>2017-10-05 13:18:22.508247 [INFO] mod_fsmux.c:168 runtime is working<br>2017-10-05 13:18:22.508247 [INFO] mod_fsmux.c:173 show calls<br>uuid,direction,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,presence_id,presence_data,accountcode,callstate,callee_name,callee_num,callee_direction,call_uuid,hostname,sent_callee_name,sent_callee_num,b_uuid,b_direction,b_created,b_created_epoch,b_name,b_state,b_cid_name,b_cid_num,b_ip_addr,b_dest,b_presence_id,b_presence_data,b_accountcode,b_callstate,b_callee_name,b_callee_num,b_callee_direction,b_sent_callee_name,b_sent_callee_num,call_created_epoch<br>36e9ea37-5d94-439a-97be-c3d490db12d6,inbound,2017-10-05 13:18:20,1507227500,sofia/internal/010001103@AA.AA.AA.AA:5060,CS_EXECUTE,010001103,010001103,AA.AA.AA.AA,28,,,,ACTIVE,,,,,<a href="http://jbaik-dev.icsolutions.com">jbaik-dev.icsolutions.com</a>,,,,,,,,,,,,,,,,,,,,,,<br><br>1 total.<br><br>2017-10-05 13:18:22.508247 [INFO] mod_fsmux.c:178 conference list<br>+OK Conference 36e9ea37-5d94-439a-97be-c3d490db12d6 (1 member rate: 8000 flags: running|answered|bridge_to|dynamic|exit_sound|enter_sound|json_status)<br>1;sofia/internal/010001103@AA.AA.AA.AA:5060;36e9ea37-5d94-439a-97be-c3d490db12d6;010001103;010001103;hear|speak|floor|vid-floor;0;0;100<br><br>2017-10-05 13:18:22.508247 [NOTICE] mod_fsmux.c:184 call uuid: 36e9ea37-5d94-439a-97be-c3d490db12d6, count: 3<br>2017-10-05 13:18:23.508238 [INFO] mod_fsmux.c:168 runtime is working<br>2017-10-05 13:18:23.508238 [INFO] mod_fsmux.c:173 show calls<br>uuid,direction,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,presence_id,presence_data,accountcode,callstate,callee_name,callee_num,callee_direction,call_uuid,hostname,sent_callee_name,sent_callee_num,b_uuid,b_direction,b_created,b_created_epoch,b_name,b_state,b_cid_name,b_cid_num,b_ip_addr,b_dest,b_presence_id,b_presence_data,b_accountcode,b_callstate,b_callee_name,b_callee_num,b_callee_direction,b_sent_callee_name,b_sent_callee_num,call_created_epoch<br>36e9ea37-5d94-439a-97be-c3d490db12d6,inbound,2017-10-05 13:18:20,1507227500,sofia/internal/010001103@AA.AA.AA.AA:5060,CS_EXECUTE,010001103,010001103,AA.AA.AA.AA,28,,,,ACTIVE,,,,,<a href="http://jbaik-dev.icsolutions.com">jbaik-dev.icsolutions.com</a>,,,,,,,,,,,,,,,,,,,,,,<br><br>1 total.<br><br>2017-10-05 13:18:23.508238 [INFO] mod_fsmux.c:178 conference list<br>+OK Conference 36e9ea37-5d94-439a-97be-c3d490db12d6 (1 member rate: 8000 flags: running|answered|bridge_to|dynamic|exit_sound|enter_sound|json_status)<br>1;sofia/internal/010001103@AA.AA.AA.AA:5060;36e9ea37-5d94-439a-97be-c3d490db12d6;010001103;010001103;hear|speak|floor|vid-floor;0;0;100<br><br>2017-10-05 13:18:23.508238 [NOTICE] mod_fsmux.c:184 call uuid: 36e9ea37-5d94-439a-97be-c3d490db12d6, count: 4<br>2017-10-05 13:18:24.508234 [INFO] mod_fsmux.c:168 runtime is working<br>2017-10-05 13:18:24.508234 [INFO] mod_fsmux.c:173 show calls<br>uuid,direction,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,presence_id,presence_data,accountcode,callstate,callee_name,callee_num,callee_direction,call_uuid,hostname,sent_callee_name,sent_callee_num,b_uuid,b_direction,b_created,b_created_epoch,b_name,b_state,b_cid_name,b_cid_num,b_ip_addr,b_dest,b_presence_id,b_presence_data,b_accountcode,b_callstate,b_callee_name,b_callee_num,b_callee_direction,b_sent_callee_name,b_sent_callee_num,call_created_epoch<br>36e9ea37-5d94-439a-97be-c3d490db12d6,inbound,2017-10-05 13:18:20,1507227500,sofia/internal/010001103@AA.AA.AA.AA:5060,CS_EXECUTE,010001103,010001103,AA.AA.AA.AA,28,,,,ACTIVE,,,,,<a href="http://jbaik-dev.icsolutions.com">jbaik-dev.icsolutions.com</a>,,,,,,,,,,,,,,,,,,,,,,<br><br>1 total.<br><br>2017-10-05 13:18:24.508234 [INFO] mod_fsmux.c:178 conference list<br>+OK Conference 36e9ea37-5d94-439a-97be-c3d490db12d6 (1 member rate: 8000 flags: running|answered|bridge_to|dynamic|exit_sound|enter_sound|json_status)<br>1;sofia/internal/010001103@AA.AA.AA.AA:5060;36e9ea37-5d94-439a-97be-c3d490db12d6;010001103;010001103;hear|speak|floor|vid-floor;0;0;100<br><br>2017-10-05 13:18:24.508234 [NOTICE] mod_fsmux.c:184 call uuid: 36e9ea37-5d94-439a-97be-c3d490db12d6, count: 5<br>2017-10-05 13:18:25.508238 [INFO] mod_fsmux.c:168 runtime is working<br>2017-10-05 13:18:25.508238 [INFO] mod_fsmux.c:173 show calls<br>uuid,direction,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,presence_id,presence_data,accountcode,callstate,callee_name,callee_num,callee_direction,call_uuid,hostname,sent_callee_name,sent_callee_num,b_uuid,b_direction,b_created,b_created_epoch,b_name,b_state,b_cid_name,b_cid_num,b_ip_addr,b_dest,b_presence_id,b_presence_data,b_accountcode,b_callstate,b_callee_name,b_callee_num,b_callee_direction,b_sent_callee_name,b_sent_callee_num,call_created_epoch<br>36e9ea37-5d94-439a-97be-c3d490db12d6,inbound,2017-10-05 13:18:20,1507227500,sofia/internal/010001103@AA.AA.AA.AA:5060,CS_EXECUTE,010001103,010001103,AA.AA.AA.AA,28,,,,ACTIVE,,,,,<a href="http://jbaik-dev.icsolutions.com">jbaik-dev.icsolutions.com</a>,,,,,,,,,,,,,,,,,,,,,,<br><br>1 total.<br><br>2017-10-05 13:18:25.508238 [INFO] mod_fsmux.c:178 conference list<br>+OK Conference 36e9ea37-5d94-439a-97be-c3d490db12d6 (1 member rate: 8000 flags: running|answered|bridge_to|dynamic|exit_sound|enter_sound|json_status)<br>1;sofia/internal/010001103@AA.AA.AA.AA:5060;36e9ea37-5d94-439a-97be-c3d490db12d6;010001103;010001103;hear|speak|floor|vid-floor;0;0;100<br><br>2017-10-05 13:18:25.508238 [NOTICE] mod_fsmux.c:184 call uuid: 36e9ea37-5d94-439a-97be-c3d490db12d6, count: 6<br>2017-10-05 13:18:26.508225 [INFO] mod_fsmux.c:168 runtime is working<br>2017-10-05 13:18:26.508225 [INFO] mod_fsmux.c:173 show calls<br>uuid,direction,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,presence_id,presence_data,accountcode,callstate,callee_name,callee_num,callee_direction,call_uuid,hostname,sent_callee_name,sent_callee_num,b_uuid,b_direction,b_created,b_created_epoch,b_name,b_state,b_cid_name,b_cid_num,b_ip_addr,b_dest,b_presence_id,b_presence_data,b_accountcode,b_callstate,b_callee_name,b_callee_num,b_callee_direction,b_sent_callee_name,b_sent_callee_num,call_created_epoch<br>36e9ea37-5d94-439a-97be-c3d490db12d6,inbound,2017-10-05 13:18:20,1507227500,sofia/internal/010001103@AA.AA.AA.AA:5060,CS_EXECUTE,010001103,010001103,AA.AA.AA.AA,28,,,,ACTIVE,,,,,<a href="http://jbaik-dev.icsolutions.com">jbaik-dev.icsolutions.com</a>,,,,,,,,,,,,,,,,,,,,,,<br><br>1 total.<br><br>2017-10-05 13:18:26.508225 [INFO] mod_fsmux.c:178 conference list<br>+OK Conference 36e9ea37-5d94-439a-97be-c3d490db12d6 (1 member rate: 8000 flags: running|answered|bridge_to|dynamic|exit_sound|enter_sound|json_status)<br>1;sofia/internal/010001103@AA.AA.AA.AA:5060;36e9ea37-5d94-439a-97be-c3d490db12d6;010001103;010001103;hear|speak|floor|vid-floor;0;0;100<br><br>2017-10-05 13:18:26.508225 [NOTICE] mod_fsmux.c:184 call uuid: 36e9ea37-5d94-439a-97be-c3d490db12d6, count: 7<br>2017-10-05 13:18:27.508235 [INFO] mod_fsmux.c:168 runtime is working<br>2017-10-05 13:18:27.508235 [INFO] mod_fsmux.c:173 show calls<br>uuid,direction,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,presence_id,presence_data,accountcode,callstate,callee_name,callee_num,callee_direction,call_uuid,hostname,sent_callee_name,sent_callee_num,b_uuid,b_direction,b_created,b_created_epoch,b_name,b_state,b_cid_name,b_cid_num,b_ip_addr,b_dest,b_presence_id,b_presence_data,b_accountcode,b_callstate,b_callee_name,b_callee_num,b_callee_direction,b_sent_callee_name,b_sent_callee_num,call_created_epoch<br>36e9ea37-5d94-439a-97be-c3d490db12d6,inbound,2017-10-05 13:18:20,1507227500,sofia/internal/010001103@AA.AA.AA.AA:5060,CS_EXECUTE,010001103,010001103,AA.AA.AA.AA,28,,,,ACTIVE,,,,,<a href="http://jbaik-dev.icsolutions.com">jbaik-dev.icsolutions.com</a>,,,,,,,,,,,,,,,,,,,,,,<br><br>1 total.<br><br>2017-10-05 13:18:27.508235 [INFO] mod_fsmux.c:178 conference list<br>+OK Conference 36e9ea37-5d94-439a-97be-c3d490db12d6 (1 member rate: 8000 flags: running|answered|bridge_to|dynamic|exit_sound|enter_sound|json_status)<br>1;sofia/internal/010001103@AA.AA.AA.AA:5060;36e9ea37-5d94-439a-97be-c3d490db12d6;010001103;010001103;hear|speak|floor|vid-floor;0;0;100<br><br>2017-10-05 13:18:27.508235 [NOTICE] mod_fsmux.c:184 call uuid: 36e9ea37-5d94-439a-97be-c3d490db12d6, count: 8<br>2017-10-05 13:18:28.508234 [INFO] mod_fsmux.c:168 runtime is working<br>2017-10-05 13:18:28.508234 [INFO] mod_fsmux.c:173 show calls<br>uuid,direction,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,presence_id,presence_data,accountcode,callstate,callee_name,callee_num,callee_direction,call_uuid,hostname,sent_callee_name,sent_callee_num,b_uuid,b_direction,b_created,b_created_epoch,b_name,b_state,b_cid_name,b_cid_num,b_ip_addr,b_dest,b_presence_id,b_presence_data,b_accountcode,b_callstate,b_callee_name,b_callee_num,b_callee_direction,b_sent_callee_name,b_sent_callee_num,call_created_epoch<br>36e9ea37-5d94-439a-97be-c3d490db12d6,inbound,2017-10-05 13:18:20,1507227500,sofia/internal/010001103@AA.AA.AA.AA:5060,CS_EXECUTE,010001103,010001103,AA.AA.AA.AA,28,,,,ACTIVE,,,,,<a href="http://jbaik-dev.icsolutions.com">jbaik-dev.icsolutions.com</a>,,,,,,,,,,,,,,,,,,,,,,<br><br>1 total.<br><br>2017-10-05 13:18:28.508234 [INFO] mod_fsmux.c:178 conference list<br>+OK Conference 36e9ea37-5d94-439a-97be-c3d490db12d6 (1 member rate: 8000 flags: running|answered|bridge_to|dynamic|exit_sound|enter_sound|json_status)<br>1;sofia/internal/010001103@AA.AA.AA.AA:5060;36e9ea37-5d94-439a-97be-c3d490db12d6;010001103;010001103;hear|speak|floor|vid-floor;0;0;100<br><br>2017-10-05 13:18:28.508234 [NOTICE] mod_fsmux.c:184 call uuid: 36e9ea37-5d94-439a-97be-c3d490db12d6, count: 9<br>2017-10-05 13:18:29.508232 [INFO] mod_fsmux.c:168 runtime is working<br>2017-10-05 13:18:29.508232 [INFO] mod_fsmux.c:173 show calls<br>uuid,direction,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,presence_id,presence_data,accountcode,callstate,callee_name,callee_num,callee_direction,call_uuid,hostname,sent_callee_name,sent_callee_num,b_uuid,b_direction,b_created,b_created_epoch,b_name,b_state,b_cid_name,b_cid_num,b_ip_addr,b_dest,b_presence_id,b_presence_data,b_accountcode,b_callstate,b_callee_name,b_callee_num,b_callee_direction,b_sent_callee_name,b_sent_callee_num,call_created_epoch<br>36e9ea37-5d94-439a-97be-c3d490db12d6,inbound,2017-10-05 13:18:20,1507227500,sofia/internal/010001103@AA.AA.AA.AA:5060,CS_EXECUTE,010001103,010001103,AA.AA.AA.AA,28,,,,ACTIVE,,,,,<a href="http://jbaik-dev.icsolutions.com">jbaik-dev.icsolutions.com</a>,,,,,,,,,,,,,,,,,,,,,,<br><br>1 total.<br><br>2017-10-05 13:18:29.508232 [INFO] mod_fsmux.c:178 conference list<br>+OK Conference 36e9ea37-5d94-439a-97be-c3d490db12d6 (1 member rate: 8000 flags: running|answered|bridge_to|dynamic|exit_sound|enter_sound|json_status)<br>1;sofia/internal/010001103@AA.AA.AA.AA:5060;36e9ea37-5d94-439a-97be-c3d490db12d6;010001103;010001103;hear|speak|floor|vid-floor;0;0;100<br><br>2017-10-05 13:18:29.508232 [NOTICE] mod_fsmux.c:184 call uuid: 36e9ea37-5d94-439a-97be-c3d490db12d6, count: 10<br>2017-10-05 13:18:29.508232 [NOTICE] mod_fsmux.c:193 Hangup sofia/internal/010001103@AA.AA.AA.AA:5060 [CS_EXECUTE] [NORMAL_CLEARING]<br>2017-10-05 13:18:29.528232 [INFO] conference_loop.c:1635 Channel leaving conference, cause: NORMAL_CLEARING<br>send 646 bytes to udp/[AA.AA.AA.AA]:5060 at 13:18:29.539020:<br> ------------------------------------------------------------------------<br> BYE sip:010001103@AA.AA.AA.AA:5060;transport=UDP SIP/2.0<br> Via: SIP/2.0/UDP BB.BB.BB.BB:5062;rport;branch=z9hG4bKUQmt9KNeg9yjN<br> Max-Forwards: 70<br> From: <<a href="http://sip:28@BB.BB.BB.BB:5062">sip:28@BB.BB.BB.BB:5062</a>>;tag=U7c55U2Sva2pS<br> To: <sip:010001103@AA.AA.AA.AA:5060;transport=UDP>;tag=4dcbcc8-7f000001-13c4-15d31-2c2bf08a-15d31<br> Call-ID: 4e34100-7f000001-13c4-15d31-510bd4d5-15d31@AA.AA.AA.AA<br> CSeq: 113277690 BYE<br> User-Agent: FreeSWITCH-mod_sofia/1.8.0+git~20170814T222640Z~f26ba42360~64bit<br> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REFER, NOTIFY<br> Supported: timer, path, replaces<br> Reason: Q.850;cause=16;text="NORMAL_CLEARING"<br> Content-Length: 0<br> <br> ------------------------------------------------------------------------<br>2017-10-05 13:18:29.528232 [NOTICE] mod_fsmux.c:95 event: channel_hangup 36e9ea37-5d94-439a-97be-c3d490db12d6<br>recv 519 bytes from udp/[AA.AA.AA.AA]:5060 at 13:18:29.543596:<br> ------------------------------------------------------------------------<br> SIP/2.0 200 OK<br> From: <<a href="http://sip:28@BB.BB.BB.BB:5062">sip:28@BB.BB.BB.BB:5062</a>>;tag=U7c55U2Sva2pS<br> To: <sip:010001103@AA.AA.AA.AA:5060;transport=UDP>;tag=4dcbcc8-7f000001-13c4-15d31-2c2bf08a-15d31<br> Call-ID: 4e34100-7f000001-13c4-15d31-510bd4d5-15d31@AA.AA.AA.AA<br> CSeq: 113277690 BYE<br> Via: SIP/2.0/UDP BB.BB.BB.BB:5062;rport=5062;branch=z9hG4bKUQmt9KNeg9yjN<br> Supported: 100rel,replaces<br> Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, PRACK, REFER, REGISTER<br> User-Agent: ADTRAN_Total_Access_924e_2nd_Gen/R11.10.7.HA.E<br> Content-Length: 0<br> <br> ------------------------------------------------------------------------<br>2017-10-05 13:18:30.508246 [INFO] mod_fsmux.c:168 runtime is working<br>2017-10-05 13:18:30.508246 [INFO] mod_fsmux.c:173 show calls<br>uuid,direction,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,presence_id,presence_data,accountcode,callstate,callee_name,callee_num,callee_direction,call_uuid,hostname,sent_callee_name,sent_callee_num,b_uuid,b_direction,b_created,b_created_epoch,b_name,b_state,b_cid_name,b_cid_num,b_ip_addr,b_dest,b_presence_id,b_presence_data,b_accountcode,b_callstate,b_callee_name,b_callee_num,b_callee_direction,b_sent_callee_name,b_sent_callee_num,call_created_epoch<br>36e9ea37-5d94-439a-97be-c3d490db12d6,inbound,2017-10-05 13:18:20,1507227500,sofia/internal/010001103@AA.AA.AA.AA:5060,CS_EXECUTE,010001103,010001103,AA.AA.AA.AA,28,,,,ACTIVE,,,,,<a href="http://jbaik-dev.icsolutions.com">jbaik-dev.icsolutions.com</a>,,,,,,,,,,,,,,,,,,,,,,<br><br>1 total.<br><br>2017-10-05 13:18:30.508246 [INFO] mod_fsmux.c:178 conference list<br>+OK No active conferences.<br><br>2017-10-05 13:18:31.508234 [INFO] mod_fsmux.c:168 runtime is working<br>2017-10-05 13:18:31.508234 [INFO] mod_fsmux.c:173 show calls<br>uuid,direction,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,presence_id,presence_data,accountcode,callstate,callee_name,callee_num,callee_direction,call_uuid,hostname,sent_callee_name,sent_callee_num,b_uuid,b_direction,b_created,b_created_epoch,b_name,b_state,b_cid_name,b_cid_num,b_ip_addr,b_dest,b_presence_id,b_presence_data,b_accountcode,b_callstate,b_callee_name,b_callee_num,b_callee_direction,b_sent_callee_name,b_sent_callee_num,call_created_epoch<br>36e9ea37-5d94-439a-97be-c3d490db12d6,inbound,2017-10-05 13:18:20,1507227500,sofia/internal/010001103@AA.AA.AA.AA:5060,CS_EXECUTE,010001103,010001103,AA.AA.AA.AA,28,,,,ACTIVE,,,,,<a href="http://jbaik-dev.icsolutions.com">jbaik-dev.icsolutions.com</a>,,,,,,,,,,,,,,,,,,,,,,<br><br>1 total.<br><br>2017-10-05 13:18:31.508234 [INFO] mod_fsmux.c:178 conference list<br>+OK No active conferences.<br><br>2017-10-05 13:18:32.508242 [INFO] mod_fsmux.c:168 runtime is working<br>2017-10-05 13:18:32.508242 [INFO] mod_fsmux.c:173 show calls<br>uuid,direction,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,presence_id,presence_data,accountcode,callstate,callee_name,callee_num,callee_direction,call_uuid,hostname,sent_callee_name,sent_callee_num,b_uuid,b_direction,b_created,b_created_epoch,b_name,b_state,b_cid_name,b_cid_num,b_ip_addr,b_dest,b_presence_id,b_presence_data,b_accountcode,b_callstate,b_callee_name,b_callee_num,b_callee_direction,b_sent_callee_name,b_sent_callee_num,call_created_epoch<br>36e9ea37-5d94-439a-97be-c3d490db12d6,inbound,2017-10-05 13:18:20,1507227500,sofia/internal/010001103@AA.AA.AA.AA:5060,CS_EXECUTE,010001103,010001103,AA.AA.AA.AA,28,,,,ACTIVE,,,,,<a href="http://jbaik-dev.icsolutions.com">jbaik-dev.icsolutions.com</a>,,,,,,,,,,,,,,,,,,,,,,<br><br>1 total.<br><br>2017-10-05 13:18:32.508242 [INFO] mod_fsmux.c:178 conference list<br>+OK No active conferences.<br><br>2017-10-05 13:18:33.508234 [INFO] mod_fsmux.c:168 runtime is working<br>2017-10-05 13:18:33.508234 [INFO] mod_fsmux.c:173 show calls<br>uuid,direction,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,presence_id,presence_data,accountcode,callstate,callee_name,callee_num,callee_direction,call_uuid,hostname,sent_callee_name,sent_callee_num,b_uuid,b_direction,b_created,b_created_epoch,b_name,b_state,b_cid_name,b_cid_num,b_ip_addr,b_dest,b_presence_id,b_presence_data,b_accountcode,b_callstate,b_callee_name,b_callee_num,b_callee_direction,b_sent_callee_name,b_sent_callee_num,call_created_epoch<br>36e9ea37-5d94-439a-97be-c3d490db12d6,inbound,2017-10-05 13:18:20,1507227500,sofia/internal/010001103@AA.AA.AA.AA:5060,CS_EXECUTE,010001103,010001103,AA.AA.AA.AA,28,,,,ACTIVE,,,,,<a href="http://jbaik-dev.icsolutions.com">jbaik-dev.icsolutions.com</a>,,,,,,,,,,,,,,,,,,,,,,<br><br>1 total.<br><br>2017-10-05 13:18:33.508234 [INFO] mod_fsmux.c:178 conference list<br>+OK No active conferences.<br><br>2017-10-05 13:18:34.508224 [INFO] mod_fsmux.c:168 runtime is working<br>2017-10-05 13:18:34.508224 [INFO] mod_fsmux.c:173 show calls<br>uuid,direction,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,presence_id,presence_data,accountcode,callstate,callee_name,callee_num,callee_direction,call_uuid,hostname,sent_callee_name,sent_callee_num,b_uuid,b_direction,b_created,b_created_epoch,b_name,b_state,b_cid_name,b_cid_num,b_ip_addr,b_dest,b_presence_id,b_presence_data,b_accountcode,b_callstate,b_callee_name,b_callee_num,b_callee_direction,b_sent_callee_name,b_sent_callee_num,call_created_epoch<br>36e9ea37-5d94-439a-97be-c3d490db12d6,inbound,2017-10-05 13:18:20,1507227500,sofia/internal/010001103@AA.AA.AA.AA:5060,CS_EXECUTE,010001103,010001103,AA.AA.AA.AA,28,,,,ACTIVE,,,,,<a href="http://jbaik-dev.icsolutions.com">jbaik-dev.icsolutions.com</a>,,,,,,,,,,,,,,,,,,,,,,<br><br>1 total.<br><br>2017-10-05 13:18:34.508224 [INFO] mod_fsmux.c:178 conference list<br>+OK No active conferences.<br><br>2017-10-05 13:18:35.508246 [INFO] mod_fsmux.c:168 runtime is working<br>2017-10-05 13:18:35.508246 [INFO] mod_fsmux.c:173 show calls<br>uuid,direction,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,presence_id,presence_data,accountcode,callstate,callee_name,callee_num,callee_direction,call_uuid,hostname,sent_callee_name,sent_callee_num,b_uuid,b_direction,b_created,b_created_epoch,b_name,b_state,b_cid_name,b_cid_num,b_ip_addr,b_dest,b_presence_id,b_presence_data,b_accountcode,b_callstate,b_callee_name,b_callee_num,b_callee_direction,b_sent_callee_name,b_sent_callee_num,call_created_epoch<br>36e9ea37-5d94-439a-97be-c3d490db12d6,inbound,2017-10-05 13:18:20,1507227500,sofia/internal/010001103@AA.AA.AA.AA:5060,CS_EXECUTE,010001103,010001103,AA.AA.AA.AA,28,,,,ACTIVE,,,,,<a href="http://jbaik-dev.icsolutions.com">jbaik-dev.icsolutions.com</a>,,,,,,,,,,,,,,,,,,,,,,<br><br>1 total.<br><br>2017-10-05 13:18:35.508246 [INFO] mod_fsmux.c:178 conference list<br>+OK No active conferences.</span><br></div><div><br></div><div>If I use API and conference hup then the call is cleared, but I want to know why switch_channel_hangup() call is not clearing the call.</div><div><br></div><div>Thank you in advance!</div><div><br></div><div>Jinserk<br></div><div><br></div></div>