Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[Freeswitch-users] post-hangup processing


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





PostPosted: Sat Sep 06, 2008 12:27 pm    Post subject: [Freeswitch-users] post-hangup processing Reply with quote

Hi,
I am new to freeswitch, and have successfully set it up with
mod_python, and put together some IVR dialogues.
It seems amazingly easy to use, however I have a question about
running post-processing after a hangup.
I would like to run some time-consuming post processing on the
recordings I make, after I hang up and I'm not sure how best to
approach this.
I would prefer not to use the async module as I am not so familiar
with twisted, and I note that at the moment I can hangup up the call
and have no problem processing the data I've recorded, however I also
note that if I don't hang up the call, my sip client stays on the line
until the processing finishes. I tried to send
session.hangup("1")
before I run the post processing commands, but this doesn't seem to
have any effect. It seems there must be a way to get around using
twisted, but maybe not?

Cheers

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
anthony.minessale at g...
Guest





PostPosted: Mon Sep 08, 2008 10:18 am    Post subject: [Freeswitch-users] post-hangup processing Reply with quote

When you call hangup from a script the message will not be sent until you exit the script because
the state change to hangup first requires that the script be finished.

The best approach is to connect a process to event_socket or monitor the CDR for the call data and do the post-processing from a separate dedicated post processing system.

you can set as many channel variables as you want from your script that will be available in the CDR.


On Sat, Sep 6, 2008 at 11:33 AM, Novak Joe <joes.mailing.lists@gmail.com (joes.mailing.lists@gmail.com)> wrote:
Quote:
Hi,
I am new to freeswitch, and have successfully set it up with
mod_python, and put together some IVR dialogues.
It seems amazingly easy to use, however I have a question about
running post-processing after a hangup.
I would like to run some time-consuming post processing on the
recordings I make, after I hang up and I'm not sure how best to
approach this.
I would prefer not to use the async module as I am not so familiar
with twisted, and I note that at the moment I can hangup up the call
and have no problem processing the data I've recorded, however I also
note that if I don't hang up the call, my sip client stays on the line
until the processing finishes. I tried to send
session.hangup("1")
before I run the post processing commands, but this doesn't seem to
have any effect. It seems there must be a way to get around using
twisted, but maybe not?

Cheers

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
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