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 <n...@numericap.com> 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: fina...@numericap.com <mail%3afina...@numericap.com> > 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 >
-- _____________________________________________________________________ -- 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