Thanks for the mail. I tried in this format to detect the busy signal but I cant.
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,