[Freeswitch-users] Call is not cleared after hangup

Jinserk Baik jinserk.baik at gmail.com
Thu Oct 5 18:26:04 UTC 2017


Hi all,

I'm making a very simple freeswitch 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.

I'm using the latest freeswitch 1.8 f26ba42360f15463c5b65d6cb0367b95ba307901
Here is the log. I've replaced the server ip as BB.BB.BB.BB and the client
ip as AA.AA.AA.AA.


2017-10-05 13:18:19.508489 [INFO] switch_core.c:2442
FreeSWITCH Version 1.8.0+git~20170814T222640Z~f26ba42360~64bit (git f26ba42
2017-08-14 22:26:40Z 64bit)

FreeSWITCH Started
Max Sessions [1000]
Session Rate [30]
SQL [Enabled]
2017-10-05 13:18:19.509110 [INFO] mod_fsmux.c:173 show calls

0 total.

2017-10-05 13:18:19.509136 [INFO] mod_fsmux.c:178 conference list
+OK No active conferences.

recv 908 bytes from udp/[AA.AA.AA.AA]:5060 at 13:18:20.495288:
   ------------------------------------------------------------------------
   INVITE sip:28 at BB.BB.BB.BB:5062 SIP/2.0
   From: <sip:010001103 at AA.AA.AA.AA
:5060;transport=UDP>;tag=4dcbcc8-7f000001-13c4-15d31-2c2bf08a-15d31
   To: <sip:28 at BB.BB.BB.BB:5062>
   Call-ID: 4e34100-7f000001-13c4-15d31-510bd4d5-15d31 at AA.AA.AA.AA
   CSeq: 1 INVITE
   Via: SIP/2.0/UDP AA.AA.AA.AA:5060;branch=z9hG4bK-15d31-55407c5-6920019f
   Max-Forwards: 70
   Supported: 100rel,replaces
   Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, PRACK, REFER,
REGISTER
   User-Agent: ADTRAN_Total_Access_924e_2nd_Gen/R11.10.7.HA.E
   Contact: <sip:010001103 at AA.AA.AA.AA:5060;transport=UDP>
   Content-Type: application/sdp
   Content-Length: 279

   v=0
   o=- 1507227330 1 IN IP4 AA.AA.AA.AA
   s=-
   c=IN IP4 AA.AA.AA.AA
   t=0 0
   m=audio 12828 RTP/AVP 18 0 8 101
   a=silenceSupp:off - - - -
   a=rtpmap:18 G729/8000
   a=fmtp:18 annexb=no
   a=rtpmap:0 PCMU/8000
   a=rtpmap:8 PCMA/8000
   a=rtpmap:101 telephone-event/8000
   a=fmtp:101 0-15
   ------------------------------------------------------------------------
2017-10-05 13:18:20.488235 [NOTICE] switch_channel.c:1104 New Channel
sofia/internal/010001103 at AA.AA.AA.AA:5060
[36e9ea37-5d94-439a-97be-c3d490db12d6]
2017-10-05 13:18:20.488235 [INFO] mod_dialplan_xml.c:637 Processing
010001103 <010001103>->28 in context public
send 409 bytes to udp/[AA.AA.AA.AA]:5060 at 13:18:20.496593:
   ------------------------------------------------------------------------
   SIP/2.0 100 Trying
   Via: SIP/2.0/UDP AA.AA.AA.AA:5060;branch=z9hG4bK-15d31-55407c5-6920019f
   From: <sip:010001103 at AA.AA.AA.AA
:5060;transport=UDP>;tag=4dcbcc8-7f000001-13c4-15d31-2c2bf08a-15d31
   To: <sip:28 at BB.BB.BB.BB:5062>
   Call-ID: 4e34100-7f000001-13c4-15d31-510bd4d5-15d31 at AA.AA.AA.AA
   CSeq: 1 INVITE
   User-Agent:
FreeSWITCH-mod_sofia/1.8.0+git~20170814T222640Z~f26ba42360~64bit
   Content-Length: 0

   ------------------------------------------------------------------------
2017-10-05 13:18:20.488235 [INFO] switch_core_session.c:2710 Sending early
media
2017-10-05 13:18:20.488235 [NOTICE] sofia_media.c:92 Pre-Answer
sofia/internal/010001103 at AA.AA.AA.AA:5060!
send 1063 bytes to udp/[AA.AA.AA.AA]:5060 at 13:18:20.500198:
   ------------------------------------------------------------------------
   SIP/2.0 183 Session Progress
   Via: SIP/2.0/UDP AA.AA.AA.AA:5060;branch=z9hG4bK-15d31-55407c5-6920019f
   From: <sip:010001103 at AA.AA.AA.AA
:5060;transport=UDP>;tag=4dcbcc8-7f000001-13c4-15d31-2c2bf08a-15d31
   To: <sip:28 at BB.BB.BB.BB:5062>;tag=U7c55U2Sva2pS
   Call-ID: 4e34100-7f000001-13c4-15d31-510bd4d5-15d31 at AA.AA.AA.AA
   CSeq: 1 INVITE
   Contact: <sip:28 at BB.BB.BB.BB:5062;transport=udp>
   User-Agent:
FreeSWITCH-mod_sofia/1.8.0+git~20170814T222640Z~f26ba42360~64bit
   Accept: application/sdp
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REFER,
NOTIFY
   Supported: timer, path, replaces
   Allow-Events: talk, hold, conference, refer
   Content-Type: application/sdp
   Content-Disposition: session
   Content-Length: 247
   Remote-Party-ID: "28" <sip:28 at BB.BB.BB.BB
>;party=calling;privacy=off;screen=no

   v=0
   o=FreeSWITCH 1507203578 1507203579 IN IP4 BB.BB.BB.BB
   s=FreeSWITCH
   c=IN IP4 BB.BB.BB.BB
   t=0 0
   m=audio 23922 RTP/AVP 0 101
   a=rtpmap:0 PCMU/8000
   a=rtpmap:101 telephone-event/8000
   a=fmtp:101 0-16
   a=silenceSupp:off - - - -
   a=ptime:20
   ------------------------------------------------------------------------
send 1032 bytes to udp/[AA.AA.AA.AA]:5060 at 13:18:20.500315:
   ------------------------------------------------------------------------
   SIP/2.0 200 OK
   Via: SIP/2.0/UDP AA.AA.AA.AA:5060;branch=z9hG4bK-15d31-55407c5-6920019f
   From: <sip:010001103 at AA.AA.AA.AA
:5060;transport=UDP>;tag=4dcbcc8-7f000001-13c4-15d31-2c2bf08a-15d31
   To: <sip:28 at BB.BB.BB.BB:5062>;tag=U7c55U2Sva2pS
   Call-ID: 4e34100-7f000001-13c4-15d31-510bd4d5-15d31 at AA.AA.AA.AA
2017-10-05 13:18:20.488235 [NOTICE] mod_conference.c:1835 Channel
[sofia/internal/010001103 at AA.AA.AA.AA:5060] has been answered
   CSeq: 1 INVITE
   Contact: <sip:28 at BB.BB.BB.BB:5062;transport=udp>;isfocus
   User-Agent:
FreeSWITCH-mod_sofia/1.8.0+git~20170814T222640Z~f26ba42360~64bit
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REFER,
NOTIFY
   Supported: timer, path, replaces
   Allow-Events: talk, hold, conference, refer
   Content-Type: application/sdp
   Content-Disposition: session
   Content-Length: 247
   Remote-Party-ID: "28" <sip:28 at BB.BB.BB.BB
>;party=calling;privacy=off;screen=no

   v=0
   o=FreeSWITCH 1507203578 1507203579 IN IP4 BB.BB.BB.BB
   s=FreeSWITCH
   c=IN IP4 BB.BB.BB.BB
   t=0 0
   m=audio 23922 RTP/AVP 0 101
   a=rtpmap:0 PCMU/8000
   a=rtpmap:101 telephone-event/8000
   a=fmtp:101 0-16
   a=silenceSupp:off - - - -
   a=ptime:20
   ------------------------------------------------------------------------
2017-10-05 13:18:20.488235 [NOTICE] mod_fsmux.c:75 event: channel_answer
36e9ea37-5d94-439a-97be-c3d490db12d6
2017-10-05 13:18:20.508222 [INFO] switch_ivr_async.c:215 Digit parser
mod_conference: Setting realm to 'conf'
2017-10-05 13:18:20.508222 [INFO] mod_fsmux.c:168 runtime is working
2017-10-05 13:18:20.508222 [INFO] mod_fsmux.c:173 show calls

0 total.

2017-10-05 13:18:20.508222 [INFO] mod_fsmux.c:178 conference list
+OK Conference 36e9ea37-5d94-439a-97be-c3d490db12d6 (1 member rate: 8000
flags:
running|answered|bridge_to|dynamic|exit_sound|enter_sound|json_status)
1;sofia/internal/010001103 at AA.AA.AA.AA
:5060;36e9ea37-5d94-439a-97be-c3d490db12d6;010001103;010001103;hear|speak;0;0;100

2017-10-05 13:18:20.508222 [NOTICE] mod_fsmux.c:184 call uuid:
36e9ea37-5d94-439a-97be-c3d490db12d6, count: 1
recv 622 bytes from udp/[AA.AA.AA.AA]:5060 at 13:18:20.514950:
   ------------------------------------------------------------------------
   ACK sip:28 at BB.BB.BB.BB:5062;transport=udp SIP/2.0
   From: <sip:010001103 at AA.AA.AA.AA
:5060;transport=UDP>;tag=4dcbcc8-7f000001-13c4-15d31-2c2bf08a-15d31
   To: <sip:28 at BB.BB.BB.BB:5062>;tag=U7c55U2Sva2pS
   Call-ID: 4e34100-7f000001-13c4-15d31-510bd4d5-15d31 at AA.AA.AA.AA
   CSeq: 1 ACK
   Via: SIP/2.0/UDP AA.AA.AA.AA:5060;branch=z9hG4bK-15d31-55407d9-43fc6205
   Max-Forwards: 70
   Supported: 100rel,replaces
   Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, PRACK, REFER,
REGISTER
   User-Agent: ADTRAN_Total_Access_924e_2nd_Gen/R11.10.7.HA.E
   Contact: <sip:010001103 at AA.AA.AA.AA:5060;transport=UDP>
   Content-Length: 0

   ------------------------------------------------------------------------
2017-10-05 13:18:21.508236 [INFO] mod_fsmux.c:168 runtime is working
2017-10-05 13:18:21.508236 [INFO] mod_fsmux.c:173 show calls
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
36e9ea37-5d94-439a-97be-c3d490db12d6,inbound,2017-10-05
13:18:20,1507227500,sofia/internal/010001103 at AA.AA.AA.AA
:5060,CS_EXECUTE,010001103,010001103,AA.AA.AA.AA,28,,,,ACTIVE,,,,,
jbaik-dev.icsolutions.com,,,,,,,,,,,,,,,,,,,,,,

1 total.

2017-10-05 13:18:21.508236 [INFO] mod_fsmux.c:178 conference list
+OK Conference 36e9ea37-5d94-439a-97be-c3d490db12d6 (1 member rate: 8000
flags:
running|answered|bridge_to|dynamic|exit_sound|enter_sound|json_status)
1;sofia/internal/010001103 at AA.AA.AA.AA
:5060;36e9ea37-5d94-439a-97be-c3d490db12d6;010001103;010001103;hear|speak|talking|floor|vid-floor;0;0;100

2017-10-05 13:18:21.508236 [NOTICE] mod_fsmux.c:184 call uuid:
36e9ea37-5d94-439a-97be-c3d490db12d6, count: 2
2017-10-05 13:18:22.508247 [INFO] mod_fsmux.c:168 runtime is working
2017-10-05 13:18:22.508247 [INFO] mod_fsmux.c:173 show calls
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
36e9ea37-5d94-439a-97be-c3d490db12d6,inbound,2017-10-05
13:18:20,1507227500,sofia/internal/010001103 at AA.AA.AA.AA
:5060,CS_EXECUTE,010001103,010001103,AA.AA.AA.AA,28,,,,ACTIVE,,,,,
jbaik-dev.icsolutions.com,,,,,,,,,,,,,,,,,,,,,,

1 total.

2017-10-05 13:18:22.508247 [INFO] mod_fsmux.c:178 conference list
+OK Conference 36e9ea37-5d94-439a-97be-c3d490db12d6 (1 member rate: 8000
flags:
running|answered|bridge_to|dynamic|exit_sound|enter_sound|json_status)
1;sofia/internal/010001103 at AA.AA.AA.AA
:5060;36e9ea37-5d94-439a-97be-c3d490db12d6;010001103;010001103;hear|speak|floor|vid-floor;0;0;100

2017-10-05 13:18:22.508247 [NOTICE] mod_fsmux.c:184 call uuid:
36e9ea37-5d94-439a-97be-c3d490db12d6, count: 3
2017-10-05 13:18:23.508238 [INFO] mod_fsmux.c:168 runtime is working
2017-10-05 13:18:23.508238 [INFO] mod_fsmux.c:173 show calls
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
36e9ea37-5d94-439a-97be-c3d490db12d6,inbound,2017-10-05
13:18:20,1507227500,sofia/internal/010001103 at AA.AA.AA.AA
:5060,CS_EXECUTE,010001103,010001103,AA.AA.AA.AA,28,,,,ACTIVE,,,,,
jbaik-dev.icsolutions.com,,,,,,,,,,,,,,,,,,,,,,

1 total.

2017-10-05 13:18:23.508238 [INFO] mod_fsmux.c:178 conference list
+OK Conference 36e9ea37-5d94-439a-97be-c3d490db12d6 (1 member rate: 8000
flags:
running|answered|bridge_to|dynamic|exit_sound|enter_sound|json_status)
1;sofia/internal/010001103 at AA.AA.AA.AA
:5060;36e9ea37-5d94-439a-97be-c3d490db12d6;010001103;010001103;hear|speak|floor|vid-floor;0;0;100

2017-10-05 13:18:23.508238 [NOTICE] mod_fsmux.c:184 call uuid:
36e9ea37-5d94-439a-97be-c3d490db12d6, count: 4
2017-10-05 13:18:24.508234 [INFO] mod_fsmux.c:168 runtime is working
2017-10-05 13:18:24.508234 [INFO] mod_fsmux.c:173 show calls
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
36e9ea37-5d94-439a-97be-c3d490db12d6,inbound,2017-10-05
13:18:20,1507227500,sofia/internal/010001103 at AA.AA.AA.AA
:5060,CS_EXECUTE,010001103,010001103,AA.AA.AA.AA,28,,,,ACTIVE,,,,,
jbaik-dev.icsolutions.com,,,,,,,,,,,,,,,,,,,,,,

1 total.

2017-10-05 13:18:24.508234 [INFO] mod_fsmux.c:178 conference list
+OK Conference 36e9ea37-5d94-439a-97be-c3d490db12d6 (1 member rate: 8000
flags:
running|answered|bridge_to|dynamic|exit_sound|enter_sound|json_status)
1;sofia/internal/010001103 at AA.AA.AA.AA
:5060;36e9ea37-5d94-439a-97be-c3d490db12d6;010001103;010001103;hear|speak|floor|vid-floor;0;0;100

2017-10-05 13:18:24.508234 [NOTICE] mod_fsmux.c:184 call uuid:
36e9ea37-5d94-439a-97be-c3d490db12d6, count: 5
2017-10-05 13:18:25.508238 [INFO] mod_fsmux.c:168 runtime is working
2017-10-05 13:18:25.508238 [INFO] mod_fsmux.c:173 show calls
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
36e9ea37-5d94-439a-97be-c3d490db12d6,inbound,2017-10-05
13:18:20,1507227500,sofia/internal/010001103 at AA.AA.AA.AA
:5060,CS_EXECUTE,010001103,010001103,AA.AA.AA.AA,28,,,,ACTIVE,,,,,
jbaik-dev.icsolutions.com,,,,,,,,,,,,,,,,,,,,,,

1 total.

2017-10-05 13:18:25.508238 [INFO] mod_fsmux.c:178 conference list
+OK Conference 36e9ea37-5d94-439a-97be-c3d490db12d6 (1 member rate: 8000
flags:
running|answered|bridge_to|dynamic|exit_sound|enter_sound|json_status)
1;sofia/internal/010001103 at AA.AA.AA.AA
:5060;36e9ea37-5d94-439a-97be-c3d490db12d6;010001103;010001103;hear|speak|floor|vid-floor;0;0;100

2017-10-05 13:18:25.508238 [NOTICE] mod_fsmux.c:184 call uuid:
36e9ea37-5d94-439a-97be-c3d490db12d6, count: 6
2017-10-05 13:18:26.508225 [INFO] mod_fsmux.c:168 runtime is working
2017-10-05 13:18:26.508225 [INFO] mod_fsmux.c:173 show calls
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
36e9ea37-5d94-439a-97be-c3d490db12d6,inbound,2017-10-05
13:18:20,1507227500,sofia/internal/010001103 at AA.AA.AA.AA
:5060,CS_EXECUTE,010001103,010001103,AA.AA.AA.AA,28,,,,ACTIVE,,,,,
jbaik-dev.icsolutions.com,,,,,,,,,,,,,,,,,,,,,,

1 total.

2017-10-05 13:18:26.508225 [INFO] mod_fsmux.c:178 conference list
+OK Conference 36e9ea37-5d94-439a-97be-c3d490db12d6 (1 member rate: 8000
flags:
running|answered|bridge_to|dynamic|exit_sound|enter_sound|json_status)
1;sofia/internal/010001103 at AA.AA.AA.AA
:5060;36e9ea37-5d94-439a-97be-c3d490db12d6;010001103;010001103;hear|speak|floor|vid-floor;0;0;100

2017-10-05 13:18:26.508225 [NOTICE] mod_fsmux.c:184 call uuid:
36e9ea37-5d94-439a-97be-c3d490db12d6, count: 7
2017-10-05 13:18:27.508235 [INFO] mod_fsmux.c:168 runtime is working
2017-10-05 13:18:27.508235 [INFO] mod_fsmux.c:173 show calls
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
36e9ea37-5d94-439a-97be-c3d490db12d6,inbound,2017-10-05
13:18:20,1507227500,sofia/internal/010001103 at AA.AA.AA.AA
:5060,CS_EXECUTE,010001103,010001103,AA.AA.AA.AA,28,,,,ACTIVE,,,,,
jbaik-dev.icsolutions.com,,,,,,,,,,,,,,,,,,,,,,

1 total.

2017-10-05 13:18:27.508235 [INFO] mod_fsmux.c:178 conference list
+OK Conference 36e9ea37-5d94-439a-97be-c3d490db12d6 (1 member rate: 8000
flags:
running|answered|bridge_to|dynamic|exit_sound|enter_sound|json_status)
1;sofia/internal/010001103 at AA.AA.AA.AA
:5060;36e9ea37-5d94-439a-97be-c3d490db12d6;010001103;010001103;hear|speak|floor|vid-floor;0;0;100

2017-10-05 13:18:27.508235 [NOTICE] mod_fsmux.c:184 call uuid:
36e9ea37-5d94-439a-97be-c3d490db12d6, count: 8
2017-10-05 13:18:28.508234 [INFO] mod_fsmux.c:168 runtime is working
2017-10-05 13:18:28.508234 [INFO] mod_fsmux.c:173 show calls
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
36e9ea37-5d94-439a-97be-c3d490db12d6,inbound,2017-10-05
13:18:20,1507227500,sofia/internal/010001103 at AA.AA.AA.AA
:5060,CS_EXECUTE,010001103,010001103,AA.AA.AA.AA,28,,,,ACTIVE,,,,,
jbaik-dev.icsolutions.com,,,,,,,,,,,,,,,,,,,,,,

1 total.

2017-10-05 13:18:28.508234 [INFO] mod_fsmux.c:178 conference list
+OK Conference 36e9ea37-5d94-439a-97be-c3d490db12d6 (1 member rate: 8000
flags:
running|answered|bridge_to|dynamic|exit_sound|enter_sound|json_status)
1;sofia/internal/010001103 at AA.AA.AA.AA
:5060;36e9ea37-5d94-439a-97be-c3d490db12d6;010001103;010001103;hear|speak|floor|vid-floor;0;0;100

2017-10-05 13:18:28.508234 [NOTICE] mod_fsmux.c:184 call uuid:
36e9ea37-5d94-439a-97be-c3d490db12d6, count: 9
2017-10-05 13:18:29.508232 [INFO] mod_fsmux.c:168 runtime is working
2017-10-05 13:18:29.508232 [INFO] mod_fsmux.c:173 show calls
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
36e9ea37-5d94-439a-97be-c3d490db12d6,inbound,2017-10-05
13:18:20,1507227500,sofia/internal/010001103 at AA.AA.AA.AA
:5060,CS_EXECUTE,010001103,010001103,AA.AA.AA.AA,28,,,,ACTIVE,,,,,
jbaik-dev.icsolutions.com,,,,,,,,,,,,,,,,,,,,,,

1 total.

2017-10-05 13:18:29.508232 [INFO] mod_fsmux.c:178 conference list
+OK Conference 36e9ea37-5d94-439a-97be-c3d490db12d6 (1 member rate: 8000
flags:
running|answered|bridge_to|dynamic|exit_sound|enter_sound|json_status)
1;sofia/internal/010001103 at AA.AA.AA.AA
:5060;36e9ea37-5d94-439a-97be-c3d490db12d6;010001103;010001103;hear|speak|floor|vid-floor;0;0;100

2017-10-05 13:18:29.508232 [NOTICE] mod_fsmux.c:184 call uuid:
36e9ea37-5d94-439a-97be-c3d490db12d6, count: 10
2017-10-05 13:18:29.508232 [NOTICE] mod_fsmux.c:193 Hangup
sofia/internal/010001103 at AA.AA.AA.AA:5060 [CS_EXECUTE] [NORMAL_CLEARING]
2017-10-05 13:18:29.528232 [INFO] conference_loop.c:1635 Channel leaving
conference, cause: NORMAL_CLEARING
send 646 bytes to udp/[AA.AA.AA.AA]:5060 at 13:18:29.539020:
   ------------------------------------------------------------------------
   BYE sip:010001103 at AA.AA.AA.AA:5060;transport=UDP SIP/2.0
   Via: SIP/2.0/UDP BB.BB.BB.BB:5062;rport;branch=z9hG4bKUQmt9KNeg9yjN
   Max-Forwards: 70
   From: <sip:28 at BB.BB.BB.BB:5062>;tag=U7c55U2Sva2pS
   To: <sip:010001103 at AA.AA.AA.AA
:5060;transport=UDP>;tag=4dcbcc8-7f000001-13c4-15d31-2c2bf08a-15d31
   Call-ID: 4e34100-7f000001-13c4-15d31-510bd4d5-15d31 at AA.AA.AA.AA
   CSeq: 113277690 BYE
   User-Agent:
FreeSWITCH-mod_sofia/1.8.0+git~20170814T222640Z~f26ba42360~64bit
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REFER,
NOTIFY
   Supported: timer, path, replaces
   Reason: Q.850;cause=16;text="NORMAL_CLEARING"
   Content-Length: 0

   ------------------------------------------------------------------------
2017-10-05 13:18:29.528232 [NOTICE] mod_fsmux.c:95 event: channel_hangup
36e9ea37-5d94-439a-97be-c3d490db12d6
recv 519 bytes from udp/[AA.AA.AA.AA]:5060 at 13:18:29.543596:
   ------------------------------------------------------------------------
   SIP/2.0 200 OK
   From: <sip:28 at BB.BB.BB.BB:5062>;tag=U7c55U2Sva2pS
   To: <sip:010001103 at AA.AA.AA.AA
:5060;transport=UDP>;tag=4dcbcc8-7f000001-13c4-15d31-2c2bf08a-15d31
   Call-ID: 4e34100-7f000001-13c4-15d31-510bd4d5-15d31 at AA.AA.AA.AA
   CSeq: 113277690 BYE
   Via: SIP/2.0/UDP BB.BB.BB.BB:5062;rport=5062;branch=z9hG4bKUQmt9KNeg9yjN
   Supported: 100rel,replaces
   Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, PRACK, REFER,
REGISTER
   User-Agent: ADTRAN_Total_Access_924e_2nd_Gen/R11.10.7.HA.E
   Content-Length: 0

   ------------------------------------------------------------------------
2017-10-05 13:18:30.508246 [INFO] mod_fsmux.c:168 runtime is working
2017-10-05 13:18:30.508246 [INFO] mod_fsmux.c:173 show calls
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
36e9ea37-5d94-439a-97be-c3d490db12d6,inbound,2017-10-05
13:18:20,1507227500,sofia/internal/010001103 at AA.AA.AA.AA
:5060,CS_EXECUTE,010001103,010001103,AA.AA.AA.AA,28,,,,ACTIVE,,,,,
jbaik-dev.icsolutions.com,,,,,,,,,,,,,,,,,,,,,,

1 total.

2017-10-05 13:18:30.508246 [INFO] mod_fsmux.c:178 conference list
+OK No active conferences.

2017-10-05 13:18:31.508234 [INFO] mod_fsmux.c:168 runtime is working
2017-10-05 13:18:31.508234 [INFO] mod_fsmux.c:173 show calls
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
36e9ea37-5d94-439a-97be-c3d490db12d6,inbound,2017-10-05
13:18:20,1507227500,sofia/internal/010001103 at AA.AA.AA.AA
:5060,CS_EXECUTE,010001103,010001103,AA.AA.AA.AA,28,,,,ACTIVE,,,,,
jbaik-dev.icsolutions.com,,,,,,,,,,,,,,,,,,,,,,

1 total.

2017-10-05 13:18:31.508234 [INFO] mod_fsmux.c:178 conference list
+OK No active conferences.

2017-10-05 13:18:32.508242 [INFO] mod_fsmux.c:168 runtime is working
2017-10-05 13:18:32.508242 [INFO] mod_fsmux.c:173 show calls
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
36e9ea37-5d94-439a-97be-c3d490db12d6,inbound,2017-10-05
13:18:20,1507227500,sofia/internal/010001103 at AA.AA.AA.AA
:5060,CS_EXECUTE,010001103,010001103,AA.AA.AA.AA,28,,,,ACTIVE,,,,,
jbaik-dev.icsolutions.com,,,,,,,,,,,,,,,,,,,,,,

1 total.

2017-10-05 13:18:32.508242 [INFO] mod_fsmux.c:178 conference list
+OK No active conferences.

2017-10-05 13:18:33.508234 [INFO] mod_fsmux.c:168 runtime is working
2017-10-05 13:18:33.508234 [INFO] mod_fsmux.c:173 show calls
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
36e9ea37-5d94-439a-97be-c3d490db12d6,inbound,2017-10-05
13:18:20,1507227500,sofia/internal/010001103 at AA.AA.AA.AA
:5060,CS_EXECUTE,010001103,010001103,AA.AA.AA.AA,28,,,,ACTIVE,,,,,
jbaik-dev.icsolutions.com,,,,,,,,,,,,,,,,,,,,,,

1 total.

2017-10-05 13:18:33.508234 [INFO] mod_fsmux.c:178 conference list
+OK No active conferences.

2017-10-05 13:18:34.508224 [INFO] mod_fsmux.c:168 runtime is working
2017-10-05 13:18:34.508224 [INFO] mod_fsmux.c:173 show calls
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
36e9ea37-5d94-439a-97be-c3d490db12d6,inbound,2017-10-05
13:18:20,1507227500,sofia/internal/010001103 at AA.AA.AA.AA
:5060,CS_EXECUTE,010001103,010001103,AA.AA.AA.AA,28,,,,ACTIVE,,,,,
jbaik-dev.icsolutions.com,,,,,,,,,,,,,,,,,,,,,,

1 total.

2017-10-05 13:18:34.508224 [INFO] mod_fsmux.c:178 conference list
+OK No active conferences.

2017-10-05 13:18:35.508246 [INFO] mod_fsmux.c:168 runtime is working
2017-10-05 13:18:35.508246 [INFO] mod_fsmux.c:173 show calls
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
36e9ea37-5d94-439a-97be-c3d490db12d6,inbound,2017-10-05
13:18:20,1507227500,sofia/internal/010001103 at AA.AA.AA.AA
:5060,CS_EXECUTE,010001103,010001103,AA.AA.AA.AA,28,,,,ACTIVE,,,,,
jbaik-dev.icsolutions.com,,,,,,,,,,,,,,,,,,,,,,

1 total.

2017-10-05 13:18:35.508246 [INFO] mod_fsmux.c:178 conference list
+OK No active conferences.

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.

Thank you in advance!

Jinserk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20171005/ac935773/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dummy.zip
Type: application/zip
Size: 250756 bytes
Desc: not available
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20171005/ac935773/attachment-0001.zip>


More information about the FreeSWITCH-users mailing list