[Freeswitch-users] (no subject)

Sam lakersman2006 at yahoo.com
Tue Aug 2 23:30:37 MSD 2011


MC,

Here is the link to the console/ sip trace log http://pastebin.freeswitch.org/16945



________________________________
From: Michael Collins <msc at freeswitch.org>
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
Sent: Tuesday, August 2, 2011 12:16 PM
Subject: Re: [Freeswitch-users] (no subject)


Get a console log w/ siptrace and drop it into pastebin.freeswitch.org. Be sure to use "FreeSWITCH Log" as the syntax highlighting. Usually the logs will have ample information to help determine what is happening.

-MC


On Tue, Aug 2, 2011 at 10:43 AM, Sam <lakersman2006 at yahoo.com> wrote:

I am writing a perl script to bridge a call and need to be able to pass back any early media to the caller so I have set "ignore_early_media=false". My problem is that when I am getting early media and then the call finishes, the app seems to be calling the bridge app again to make a new call, even though I have no loops programmed into the script. I have set "hangup_after_bridge=true" but that does not help. Any help would be greatly appreciated.
>
>
>
>
>
>###################################My code#############################################
>
>#!/usr/bin/perl -w
>
>our $session;
>
>my $ringback_tone = "%(2000,4000,440,480)";    #US RINGBACK TONE
>
>if ($session->ready ()) 
>{      
>    #set
 bridge settings
>    $session->execute("set", "ringback=$ringback_tone");    #set the ringback tone type
>    $session->execute("set", "instant_ringback=true");    #set to ring instantly
>    $session->execute("set", "ignore_early_media=false");    #set to NOT ignore early media
>    $session->execute("set", "call_timeout=20");        #only works if "ignore_early_media=true"
>    $session->execute("set", "bridge_answer_timeout=20");                                                                 
>    $session->execute("set",
 "progress_timeout=15");
>    $session->execute("set", "continue_on_fail=false");
>    $session->execute("set", "hangup_after_bridge=true"); 
>    $session->execute("set", "bridge_pre_execute_bleg_app=info"); 
>    $session->execute("bridge", "sofia/gateway/carrier1/5214498052059");
>    $session->hangup();
>}
>_______________________________________________
>Join us at ClueCon 2011, Aug 9-11, Chicago
>http://www.cluecon.com 877-7-4ACLUE
>
>FreeSWITCH-users mailing list
>FreeSWITCH-users at lists.freeswitch.org
>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>http://www.freeswitch.org
>
>

_______________________________________________
Join us at ClueCon 2011, Aug 9-11, Chicago
http://www.cluecon.com 877-7-4ACLUE

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110802/8172c411/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list