[Freeswitch-users] busy tone detection

Gopal krishnan saigop at gmail.com
Thu Oct 16 05:53:24 PDT 2008


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,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20081016/3af84944/attachment-0002.html 


More information about the FreeSWITCH-users mailing list