[Freeswitch-users] busy tone detection

Anthony Minessale anthony.minessale at gmail.com
Thu Oct 16 06:12:06 PDT 2008


gotta start tone_detect right after originate and before bridge.


On Thu, Oct 16, 2008 at 7:53 AM, Gopal krishnan <saigop at gmail.com> 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 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
>
>


-- 
Anthony Minessale II

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

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20081016/c479927b/attachment-0002.html 


More information about the FreeSWITCH-users mailing list