Hello everyone,

I have just met a problem. When I record a sound with the following Record application :

record(filename.format [|silence] [|maxduration] [|option])

For example: record (filename:wav, 0, 5,)

How can I detect if there is a sound or not, because I want to do a condition gotoif (.....) if there is no sound  detected.

Is not the silence considered as a noise?
If somebody met once this problem to help me.

Best regards !!!

Mamadou NGOM

Ingénieur Télécommunications & Réseaux

Mobile: 06 72 45 23 03

Skype: Mamadou Numericap

NumeriCap – SAS au capital de 30.000,00€ - RCS de Toulon N° 530188432 – TVA FR 485301188432 – APE6110Z - ARCEP N°13/0015.
siège social : « le Galaxie C » 526 avenue Maréchal de Lattre de Tassigny 83000 Toulon. mail: [email protected]
Centre d’exploitation : « Résidence les Coquières » 11 avenue Joseph Fallen - 13400 Aubagne – Tel :04.42.73.88.52 

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to