On Wed, Dec 24, 2008 at 3:23 AM, Baskar <yudha2...@gmail.com> wrote: > *Hi, > > This is my JavaScript for tone detect > > session1 = new Session(); > session1.originate(session1, "{ignore_early_media=false}sofia/default/ > 39841799...@172.20.191.228"); > session1.execute("tone_detect", "test 400,25 r +1 hangup 'normal_clearing' > 1");*
Is the combination of 400Hz and 25Hz the correct busy tone for your country? Also, the +1 means "check for tone for +1 second into the future" Most likely you want something like +30 so that the tone detect will be active long enough to hear something! > * > session1.execute("bridge", "sofia/default/39841799...@172.20.191.228"); > session1.execute("transfer", "39841799874"); > > But Tone Detect does not work at all Did i work wrongly, correct me where > i am wrong > > Another question : > > In api tone detect command i got api parameters like this > > api tone_detect,Start Tone Detection on a channel,<uuid> <key> <tone_spec> > [<flags> <timeout> <app> <args> <hits>] > > In that I want to know what is <tone_spec> ....* <tone_spec> is talking about the combination of frequencies to listen for. In your example, the tone spec is "400,25" Hope that information helped! -MC (mercutioviz) * > I did not see any details in wiki.freeswitch site can any what should be > passed in tone_spec*. > > *-- > Warm Regards, > N.Baskar* > > > _______________________________________________ > 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 > >
_______________________________________________ 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