Do you realize that calling a busy number and detecting a busy tone are COMPLETELY different things, your calling on sip, most likely you will not ever get a busy tone to detect but a sip response code when you try to call.

Mike

On Dec 30, 2008, at 1:45 AM, Baskar wrote:

Hi Michael Jerris,

I will explain what i am currently doing :
I don't understand 

Step 1: From the xlite phone I have dialed a number and we were on the conversation with one extension (1007 is my extension and my mobile No 9841799874)

Step 2: From the freeswitch console I am executing a javascript file with tone detect like the one below,

My JavaScript :

session1 = new Session();

session1.originate(session1,"{ignore_early_media=false}sofia/internal/1003@172.20.201.67");

session1.execute("tone_detect","busy 480,620 r +30 transfer '1000' 3");

session1.execute("bridge", "sofia/default/9841799874@172.20.191.228");

session1.execute("transfer", "9841799874");

session1.hangup;

            In the above script and in step1 the telephone numbers are same; since the script is not detecting that the phone number is busy.
 

Hi Michael S Collins,

            Please let me know the script, so that it would be helpful for me.

Thanks for the Reply,


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