gotta start tone_detect right after originate and before bridge.

On Thu, Oct 16, 2008 at 7:53 AM, Gopal krishnan <[EMAIL PROTECTED]> wrote:

> Hi,
>   Thanks for the mail. I tried in this format to detect the busy signal but
> I cant.
> I am using javascript file like,
>
> session1 = new Session();
>
> session1.originate(session1,"{ignore_early_media=true}sofia/internal/"+argv[0]+",30");
> session1.execute("bridge", "sofia/default/"+argv[1]+"@172.20.176.254");
> session1.execute("transfer", argv[1]);
>
> function on_event(new_session, type, event_obj, user_data)
> {
>            if (type == "event")
>            {
>                    console_log("notice", "Event: " + event_obj.serialize()
> + "\n");
>            }
> }
> session1.execute("tone_detect","busy 480,620 r");
> session1.streamFile("/usr/local/freeswitch/sounds/music/8000/danza-espanola-op-37-h-142-xii-arabesca.wav",
> on_event);
> //session1.execute("stop_tone_detect");
>
> but i cant able to detect the tone.
>
>
> --
> Thank you  with regards,
> Gopal,
>
>
> _______________________________________________
> 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
>
>


-- 
Anthony Minessale II

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

AIM: anthm
MSN:[EMAIL PROTECTED] <[EMAIL PROTECTED]>
GTALK/JABBER/PAYPAL:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:[EMAIL PROTECTED] <[EMAIL PROTECTED]>
iax:[EMAIL PROTECTED]/888
googletalk:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
pstn:213-799-1400
_______________________________________________
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

Reply via email to