Hi Michael,

     I have updated all the changes what u said, But still i did not get any tone detect in the script

session1 = new Session();
session1.originate(session1, "{ignore_early_media=True}sofia/default/39841799874@172.20.191.228");
session1.execute("tone_detect", "test 400 r +30 hangup 'normal_clearing' 3");
session1.execute("bridge", "sofia/default/39841799874@172.20.191.228");
session1.execute("transfer", "39841799874");

Still i did not know what is the error in the script or some thing else.please guide me to run this tone detect process.

I have tried through api command also i did not get any update.
I did not get any error also but the tone detect process is not working.

I have tried some combination's like this


api tone_detect 0b2eec58-cbb3-484e-bc60-e274a74337ca busy 400 r +30 transfer '1007 XML default' 3
Output:
Content-Type: api/response
Content-Length: 45
+OK Enabling tone detection 'test' '400' 'r'

api tone_detect 0b2eec58-cbb3-484e-bc60-e274a74337ca busy 400 r +30 transfer '1007' 3
Output:
Content-Type: api/response
Content-Length: 45
+OK Enabling tone detection 'test' '400' 'r'


api tone_detect 0b2eec58-cbb3-484e-bc60-e274a74337ca busy 400 r +30 transfer '1007@172.20.201.67' 3
Output:
Content-Type: api/response
Content-Length: 45
+OK Enabling tone detection 'test' '400' 'r'

api tone_detect 0b2eec58-cbb3-484e-bc60-e274a74337ca busy 400 r +1 hangup 'normal_clearing' 3

Output:
Content-Type: api/response
Content-Length: 45
+OK Enabling tone detection 'test' '400' 'r'

I get output == OK but no detect of tone.

"Is there any modules for tone detect to be enabled" please assist me, so that it is useful for me!

Thanks in Advance.
   
Warm Regards,
N.Baskar