Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] uuid_broadcast hang and start after the call hangup


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
d.mordovin at crestwav...
Guest





PostPosted: Tue Jun 01, 2021 3:14 pm    Post subject: [Freeswitch-users] uuid_broadcast hang and start after the c Reply with quote

Hello
I have LUA script which start a call (new session generated)
Code here

new_session = freeswitch.Session(destination);

if (new_session:ready()) then
new_session_disp = new_session:getVariable("endpoint_disposition");
while(new_session:ready() and new_session_disp ~= "ANSWER") do
<------>new_session_disp = new_session:getVariable("endpoint_disposition");
end
api = freeswitch.API();
api:executeString("bgapi uuid_park " .. tostring(new_session.uuid));
end



On answer event I park the call and script finished.
I see single active call. Listing below.

freeswitch@freeswitch43> 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
3aa3a274-c23d-11eb-9150-e74dc4cdb20a,outbound,2021-05-31 18:22:59,1622485379,sofia/external/1000,CS_PARK,,0000000000,,1000,,,,ACTIVE,Outbound Call,1000,,3aa3a274-c23d-11eb-9150-e74dc4cdb20a,freeswitch43,,,,,,,,,,,,,,,,,,,,,,

1 total.



After all I execute command from cli:

Command looks like:
uuid_broadcast 3aa3a274-c23d-11eb-9a50-e74dc4cdb20a lua::’next-script.lua' both

In logs I see, command was sent to FS success, but not executed!
Moveover, after call hangup, FS start execution of command but can’t coz call in terminate state.

2021-05-31 18:23:30.312133 [NOTICE] sofia.c:1079 Hangup sofia/external/1000 [CS_PARK] [NORMAL_CLEARING]
2021-05-31 18:23:30.312133 [DEBUG] switch_ivr.c:625 sofia/external/1000 Command Execute lua(next-script.lua)
2021-05-31 18:23:30.312133 [DEBUG] switch_core_session.c:2668 sofia/external/1000 ZOMBIE EXEC lua(next-script.lua)
EXECUTE sofia/external/1000 lua(next-script.lua)


What/why is ZOMBIE EXEC ?

Could someone help me to find reason of strange behavior FS?

Looks like the uuid_broadcast command stay in queueu and wait something… and start after call has hangup.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services