Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[Freeswitch-users] socket_resume + bridge + att_xfer


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
fernando at softov.com.br
Guest





PostPosted: Mon Mar 14, 2016 11:12 pm    Post subject: [Freeswitch-users] socket_resume + bridge + att_xfer Reply with quote

Hi, i'm using dialplan socket (outbound), until now it's ok.

But sometimes if my daemon crash (i'm working on it) the call still active.


Searching i found socket_resume

"If this variable is set to true, the dialplan will resume execution with the next action after the call to the socket application. This can be used for example to allow you to do something intelligent in the dialplan if your IVR application gets killed in an unclean way. If there is a bridge active when the disconnect happens, it is killed. To do this from your application after the socket is already connected, issue the resume command."


So i make
<action application="set" data="socket_resume=true"/>
<action application="socket" data="127.0.0.1:3012 async full"/>
<action application="hangup"/>

Now, when i make a bridge (A -> B), and make a att_xfer (B -> C), when B press 0 (tree_way), A hangup.

If i remove socket_resume, it's OK (A+B+C), but if i kill my daemon (simulate a crash), the call still ACTIVE.

Is there another way to do that?
There is something I'm missing?
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