Hello,
When i use mixmonitor() I manage not to detect still the silence. what a local channel. My asterisk is connected to an operator among whom the channel it is for example "SIP/from provider 00000048".
In fact, I do not want to record the silence.I want that when caller do not speak, I can ask for more to record again his message.
exten => 0XXXXXX,n(erreur),Record(${filename:wav,5,5)
After this line i want to test a condition: if the caller say nothing, asterisk go to back in the line recording again (erreur).
Can i use this following line ?
exten => 0XXXXX,n,GotoIf($["${STAT(e,${RECORDED_FILE}"="0"]?erreur).
If simeone can help me to resolve this problem.
Regards!!
Le 7 juin 2016 à 12:59, Faheem Muhammad <[email protected]> a écrit :Try MixMonitor. Land the call to a local channel and answer it.This code will record the silence as well.exten => _X.,1,MixMonitor()exten => _X.,n,Dial(Local/100@context1)[context1]exten => _X.,1,Answer()exten => _X.,n,Dial(SIP/${EXTEN}On Tue, Jun 7, 2016 at 2:16 PM, Mamadou NGOM <[email protected]> wrote:Hello everybody,
I manage not to detect one silence with record () when I make as follows:
Exten = > 0178900271, n, Record ($ ${ link_recorded_pseudos_clients } pseudo_ Client_Id} wav, 5,5) exten = > 0178900271, n, GotoIf ($ [" $ {STAT (e, RECORDED_FILE} " = "0"]? Erreur_enregistrement_PPX17_1)
When I say nothing, it do not return to the stage "erreur_enregistrement_PPX17_1"
If you can help me?Mamadou NGOM
Ingénieur Télécommunications & Réseaux
Mobile: 06-47-02-67-86
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
Mamadou NGOM
Ingénieur Télécommunications & Réseaux
Mobile: 06-47-02-67-86
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
