Compressio​n de vidéo par lots

Bonjour,
Je souhaiterais utiliser LabVIEW pour faire du traitement de données sur des films déjà acquis. Il s'agirait de compresser des films en format .avi.
Je peux y arriver artificiellement en
- créant un AVI ('IMAQ AVI Create' avec en entrée de 'compression filter' le bon codec de compression et le bon chemin d'enregistrement)
- puis en décomposant le film en image ('IMAQ AVI Read Frame')
- puis en le recomposant ('IMAQ AVI Write Frame')
mais je pense que c'est maladroit, et je me dis qu'il doit bien y avoir un moyen de compresser directement le film non ?
Si vous savez comment faire, merci de me faire signe !

Re-Bonjour,
J'ai trouvé une solution grâce à l'exemple "AVI Compressor Comparison" !!!!
Chouette !
Désolée pour le dérangement.

Similar Messages

  • Traitement par lot / Batch processing ?

    English text after the French text
    Bonjour,
    tout le monde connait le "traitement par lots" de photoshop ?
    c'est une façon d'appliquer un script (un ensemble de
    modification, transformation, optimisation ... sur une image)
    à l'esemble des images contenues dans un dossier ! Très
    pratique !
    Et bien je voulais savoir s'il est possible, dans Flash 8
    Pro, de faire la même chose ?
    Exemple :
    J'ai 300 pages en pdf (un catalogue comprenant textes,
    graphiques et images), un pdf par page, et j'aimerai les
    transformer en SWF !
    J'ai essayé avec swftools qui fonctionne parfaitement
    mais qui me fait des fichiers un peut lourd, alors que lorsque je
    passe par Flash 8 Pro mon swf est plus léger ! de plus je peut
    le "nettoyer" !
    Donc si je pouvais traiter mes 300 pdf via flash avec un
    script (centrage, nettoyage, paramétrage, ...) et un
    "traitement par lot" ce serai le pied !
    Comme Flash est chez Adobe, peut être on t ils
    apporté cette fonctionnalité bien pratique ! non ? peut
    être dans une prochaine mise à jour ? un addon ? un
    composant ?
    Je vous remercie par avance pour votre réponse.
    Hello,
    did everyone know the “batch processing” of
    photoshop? it is a way of applying a script (a whole of
    modification, transformation, optimization… on an image) to
    the esemble of the images contained in a file! Very practical!
    And well I wanted to know if it is possible, in Flash 8 Pro,
    to make the same thing?
    Example:
    I have 300 pages in pdf (a catalogue including/understanding
    texts, graphs and images), a pdf by page, and I will like to
    transform them into SWF!
    I tested with swftools which functions perfectly but which
    makes me files one can heavy, whereas when I pass by Flash 8 Pro my
    swf is lighter! moreover I can “clean it”!
    Thus if I could treat my 300 pdf via flash with a script
    (centering, cleaning, parameter setting,…) and a “batch
    processing” it will be the foot!
    How Flash is at Adobe, can be one T it to bring this quite
    practical functionality! not? can be in a forthcoming update? a
    addon? a component?
    I thank you by advance for your answer.

    Cet imprimeur semble utiliser des procédés qui datent du siècle dernier…!
    Je ne connais pas suffisament Illustrator et JavaScript pour répondre directement.
    Mais si on part du principe que tes fichiers .AI sont des fichiers hybrides (voir : http://abracadabrapdf.net/articles.php?lng=fr&pg=961 ) il devient possible d'automatiser l'opération sans une seule ligne de script en utilisant Acrobat et ses puissantes fonctions de traitement par lot pour exporter en .PS

  • Existe-t-il une solution de traitement par lots pour indesign ?

    Bonjour,
    Suite à la recommandation Adobe (plantage d'indesign CC), j'ai installé la version Indesign CC 2014 et étant utilisatrice non chevronnée, je ne savais pas que la version CC 2014 allait me demander de ré-enregistrer tous mes fichiers (1200 au total).
    Ces fichiers sont tous utilisés pour une application iPad avec Folio Builder qui depuis ne synchronise plus mon catalogue sur iPad. Je suis donc plus ou moins condamnée à ouvrir mes 1200 fichiers pour leur attribuer la version CC 2014.
    Vous comprendrez que cette opération ne m'enchante guère et je voudrais donc savoir s'il est possible de convertir les fichiers de CC à CC 2014 par un traitement par lots  (dans le même esprit que Photoshop Script et Automatisation - Traitement par lots).
    Merci d'avance
    Bien cordialement
    Eugénie - NP Création

    Bonjour,
    Merci pour votre réponse mais le script ne permet pas de convertir d'une version CC à une version CC 2014 malheureusement. Je l'ai installé pour vérifier ... les formats de conversion sont
    Merci
    Bien cordialement

  • InDesign et le traitement par lot (ou mailing)

    Bonjour à tous,
    petite question sur InDesign.
    Savez-vous comment faire une sorte de mailing (ou traitement par lot) sur InDesign ?
    Je m'explique, imaginons 10 pages avec un fond et des blocs de textes identiques (un gabarie pour résumer) et supposons un fichier (.doc ou .txt ou .xls...) comprenant une sorte de base de donnée de noms (1 - Jean Dupond, 2 - Pierre Dubois... etc). Est-il possible de faire en sorte que notre fichier InDesign traite cette base de donnée en insérant chaque entrée de fichier (.doc ou .txt ou .xls...) dans chaque page du fichier InDesign ? Bien sur en "incrémentant" à chaque fois (page 1 -> Jean Dupond, page 2 -> Pierre Dubois...)
    Merci mille fois de vos réponses par avance.

    Ça s'appelle la fusion de données.
    Il y a même un tuto disponible ici, créé par votre serviteur : http://forums.mediabox.fr/wiki/tutoriaux/indesign/fusion_donnees

  • [AI] Script, traitement par lot : imprimer en PostScript

    Bonjour
    Je viens vers vous pour m'aider à compléter un script.
    Je doit régulièrement convertir des .ai en .ps
    Je voudrais faire un traitement par lots sur un dossier.
    J'ai essayer en enregistrant un script d'action mais illustrator sélectionne toujours l'impriment par défaut
    J'ai trouver ce script sur le forum
    Mais j'ai toujours le même problème il sélectionne l’imprimante par défaut, comment le forcer à utiliser l’imprimante PostScript
    Merci
    var docs = app.documents;
    var docCount = docs.length;
    // if there are opened documents, print them, otherwise ask for a folder to batch print
    if (docCount>0) {
        alert(docCount);
        printOpenDocs(docs);
    else {
    var folder = Folder.selectDialog("Select Source Folder..."); // select folder
    printFolder(folder);
    // Prints and closes each open document
    function printOpenDocs(docs) {
                for (j=docCount-1; j>=0; j--) {
                    var jdoc = docs[j];
                    jdoc.print(options);
                    jdoc.close(SaveOptions.
    DONOTSAVECHANGES);
    function printFolder(folder) {
        if (folder==null) {
                alert("Good Bye");
        else {
            var files = folder.getFiles ("*.ai"); // get files
            var fileCount = files.length; // count them
            if (fileCount>0) {
                for (i=0; i<fileCount; i++) {
                    var idoc = app.open(files[i]);
                    idoc.print();
                    idoc.close();
            else {
                alert("There are no Illustrator files in this folder.");

    Cet imprimeur semble utiliser des procédés qui datent du siècle dernier…!
    Je ne connais pas suffisament Illustrator et JavaScript pour répondre directement.
    Mais si on part du principe que tes fichiers .AI sont des fichiers hybrides (voir : http://abracadabrapdf.net/articles.php?lng=fr&pg=961 ) il devient possible d'automatiser l'opération sans une seule ligne de script en utilisant Acrobat et ses puissantes fonctions de traitement par lot pour exporter en .PS

  • Effacé des vidéos par erreur,quoi faire pour les récupérer?

    Effacés des vidéos par erreur quoi faire pour les récupérer?

    si les vidéo fait par iPAD, il doit les récupérer par un logiciel comme récupérer données ipad, si non , seulement les transférer ou télécharger via iTunes. 
    bonne chance

  • Bloqueo para Lotes Repetidos

    Que tal, espero que me puedan ayudar con este tema, resulta que mi cliente necesita que SAP Business One, no permita hacer entradas de mercancia a Lotes previamente creados. es decir que los lotes sean Unicos, ahora bien para esto estoy utilizando El transaction notification, pero algo va mal y no se que es.  este es mi codigo
    IF  @transaction_type in ('A') AND @object_type='59'
    BEGIN
    DECLARE  @LOTE CHAR (20)
    DECLARE BIC SCROLL  CURSOR FOR
    SELECT  T0.[BatchNum]  FROM [dbo].[IBT1]  T0
              INNER JOIN  IGN1 T1 ON T0.[BaseEntry] = T1.[DocEntry]
                                              WHERE T0.[BaseType] = 59
              AND T1.[DocEntry] = @list_of_cols_val_tab_del
               AND T0.[BaseEntry] = @list_of_cols_val_tab_del
    OPEN BIC
    FETCH FIRST FROM BIC INTO @LOTE
    WHILE @@FETCH_STATUS = 0
    BEGIN
    IF  @test IN (SELECT   T4.[BATCHNUM] FROM IBT1 T4 where t4.basetype =59 and t4.batchnum = @LOTE)
    SET @error = 9
                                                                     SET @error_message =   'FOLIOS REPETIDOS'
    FETCH NEXT FROM BIC
          INTO @TEST
    end
          CLOSE BIC
          DEALLOCATE BIC
    END
    Alguien tiene alguna otra idea?
    les agradesco de antemano.
    Saludos.

    Hola.
    Cuando están haciendo la estrada mercancía OP, en el momento de colocar el lote aparece un cuadro de diálogo que avisa que el lote ya existe y que si se desea continuar. Esta es la primera linea de control, por parte del usuario.
    Por otra parte estuve revisando en el foro de expertos y encontré esto:
    - Re: SP_TransactionNotification in Batch detail.
    - Re: How to block the duplication of batch numbers.
    Intente con este otro código:
    /*     Validación para no ingresar mercancía a un lote existente en entrada de mercancía OP
    declare @item nvarchar(20)
    declare @batch nvarchar(32)
    declare @whs nvarchar(8)
    declare @count int
    set @count = 0
    IF @transaction_type IN ('A','U') AND (@object_type = '106' )
    BEGIN
    set @item = LEFT( @list_of_cols_val_tab_del, CHARINDEX(CHAR(9),  @list_of_cols_val_tab_del,1) - 1)
    set @batch = substring(@list_of_cols_val_tab_del, len(@item)+1, (CHARINDEX(CHAR(9),
          @list_of_cols_val_tab_del,len(@item)+2)) - (len(@item)+1))
    set @count = (select count(*) from oibt where quantity > 0 and
          batchnum = ltrim(rtrim(replace(@batch,char(9),''))))
    if @count > 1
    begin
    set @error = 1
    set @error_message = 'El lote ''' + @batch + ''' ya existe para el articulo ' + @item 
    select @error, @error_message
    END
    END
    Lo probé y funciona bien.
    Saludos.

  • Traiter par lot des A3 a scinder en 2 format A4 automatiquement ?

    Bonjour,
    Je numérise des documents de plusieurs format avec un logiciel de production, et transforme ses image en un fichier PDF, ma question est  : peut on avec acrobat 8 Pro, scinder un format A3 en 2 pages A4 ? et bien sur tout cela en automatique, car je traite plus de 20000 fichiers PDF de 20 à 50 pages par jour. donc il est impossible de faire cela en manuelle, et il est aussi impossible de couper en deux les A3 avant la numérisation.
    merci pour votre réponse. bonne journée
    Christophe

    French forum here http://forums.mozfr.org/viewforum.php?f=4

  • Nik collection - Comment faire un traitement par lot dans Photoshop ELEMENTS 12

    Bonjour à vous tous,  Quelqu'un aurait-il l'amabilité de répondre à  cette question :
    J'ai une centaine d'.images auxquelles je désire appliquer le filtre de Nik DFine pour enlever le bruit. Je ne trouve pas la méthode pour le faire, sauf pour Photoshop CS, pourtant les filtres Nik fonctionnent autant avec Photoshop Elements qu'avec Photoshop CS.  Merci et bonne journée.  Cynan05

    Hi ,
    Batch processing with NIK is not possible in Elements

  • Comment augmenter le temps de lecture vidéo?

    Bonjour,
    Je suis actuellement en train de faire un VI qui traite une vidéo. J'utilise donc les VI associé au AVI.
    Mon problème se pose lorsque j'utilise des vidéos très longues (au delà de 10min) la boucle qui traite chaque image se bloque car directx atteint le temps limite de lecture d'un fichier AVI. Une partie du message d'erreur concerne la fermeture de l'avi hors je ne le ferme qu'une fois avoir parcouru toutes les images de la vidéo à l'aide d'une boucle FOR. Le VI n'atteint donc meme pas le VI de fermeture, cela bloque avant.
    Il m'est demandé d'augmenter le temps d'attente comment puis je faire ceci?
    Pièces jointes :
    probleme fermeture directx.JPG ‏27 KB

    Je passer pour venir dire que j'ai réussi à contourner le problème.
    Je ne sais toujours pas d'ou cela peut venir mais en passant mes vidéos par un logiciel de montage vidéo labview les accepte. A mon avis la compression des  vidéos devait être trop élevée, pour une heure la vidéo ne pesait que 40Mo, une fois modifier et réencoder elle fait 200Mo et est accepté par Labview.
    Je vais quand même répondre aux question, DirectX 9.0c, Labview 8.6, NI-IMAQ 4.1
    Je perd pas mal de temps en devant repasser les vidéos par le logiciel de montage vidéo mais c'est un moindre mal.

  • Concerne ADOBE PREMIERE ELEMENT - Vidéo en MP4 émanant de ADSL-TV non supportée bien qu'en MP4 ???

    Bonjour,
    J'ai installé la version d'évaluation de ADOBE PREMIERE ELEMENT 13  afin de tester la possibilité de supprimer certains éléments d'une vidéo acquise avec ADSL-TV en MP4. Or lors du chargement de la vidéo il y a un message m'indiquant "erreur générique"... Je suis donc contraint de faire transiter ma vidéo par Windows Movie Maker qui  traite la vidéo toujours avec une sortie en MP4, et ensuite de reprendre celle-ci sur ADOBE PREMIERE ELEMENT. Pourquoi ADOBE ne prend pas la video d'origine qui pourtant en déja en MP4, censée prendre en charge ce logiciel....???
    Si je n'obtient pas  de réponse à cette demande je n'achèterai pas le produit car je le destine exclusivement à la suppression des publicités(et des parties d'émission antérieures et postérieures aux films) contenues dans les vidéos émanant de ADSL-TV. C'est ma seule et unique application. Je précise qu'il est très fastidieux de procéder comme actuellement avec de surcroit une déperdition de qualité du fait de ce double transcodage.
    Je constate également qu'il ne m'est pas possible de contacter avant l'achat du produit le service technique d'ADOBE susceptible de me renseigner ce qui est fort désagréable...
    Merci de votre réponse
    Daniel92350

  • [NFe] Integração com Mensageria via arquivo txt

    Pessoal, bom dia!
    Estamos configurando um projeto de NFe onde o SAP irá trocar informações com uma mensageria NonSAP via arquivo txt e estamos com dificuldade de identificar onde e como fazer com que a J_1B_NFE_XML_OUT fará a conversão dos dados de Envio, Cancelamento e Inutilização para arquivo txt e salvar num diretório que a mensageria irá ler.
    A mesma dúvida ocorre para o processo de retorno do processamento do Envio, Cancelamento e Inutilização, pois a mensageria irá salvar os retornos em arquivo txt e teremos um JOB no SAP que ficará lendo esses arquivos para atualizar o status no SAP e pelo que andei lendo teremos de executar a J_1B_NFE_XML_IN_TAB.
    Tanto a J_1B_NFE_XML_OUT quanto a J_1B_NFE_XML_IN_TAB funcionam para enviar, cancelar e inutilizar notas fiscais?
    No aguardo, obrigado por qualquer ajuda.
    Danilo

    Bom dia Danilo,
    Existem basicamente três formas para você gerar um arquivo texto pra saída, e vai depender de para onde você quer levar os dados e que ferramentas tem disponível:
    - importar a função J_1B_NFE_XML_OUT no PI e fazer um adapter to file
    - criar um programa que possa ser configurado na SM59 para destino e nele travar as informações e gravar o arquivo
    - fazer um ABAP enhancement na própria função J_1B_NFE_XML_OUT (ela eh interface apenas, não tem código) para gravar o arquivo
    A função J_1B_NFE_XML_OUT é usada nos 4 pedidos possíveis à mensageria não standard:
    - envio
    - cancelamento
    - inutilização de nota existente
    - inutilização de nota por gap
    A função J_1B_NFE_XML_IN_TAB é a porta de entrada dos retornos dos processamentos acima.
    Atenciosamente, Fernando Da Ró

  • SPA112 line drops after 1 minute

    Hi All,
    I have an SPA112 and its all configured to work as per my network settings. However, it keeps cutting out the line after every minute. Not sure what the real problem is. I've updated the firmware to the latest..still the same thing...Any thoughts, anyone?
    Apr 13 13:02:58 SPA112 daemon.notice system[100]: NTP update successfully, Year:4,Month:13,Day:13,Hour:2,Min:58,Sec:-1344375504
    Apr 13 13:02:58 SPA112 syslog.notice syslog-ng[118]: STATS: dropped 0
    Apr 13 13:03:04 SPA112 kern.info [17179593.752000] cordless: loading synergy-2011-09-15
    Apr 13 13:03:04 SPA112 kern.info [17179593.784000] cordless: init successful
    Apr 13 13:03:06 SPA112 user.notice msgswitchd: MSGSWITCH fd_rtp fifo created 11
    Apr 13 13:03:06 SPA112 user.notice msgswitchd: MSGSWITCH fd_ch fifo created 13
    Apr 13 13:03:06 SPA112 user.notice msgswitchd: MSGSWITCH fd_gmep fifo created 14
    Apr 13 13:03:07 SPA112 daemon.notice msgswitchd[192]: new ap 00000001 (AP_SIP) at pid 00179
    Apr 13 13:08:32 SPA112 kern.warning [17179593.784000] In cordless Driver Codec 0 and str PCMU/8000 chan 0
    Apr 13 13:08:32 SPA112 kern.warning [17179593.784000] In cordless Driver Codec 8 and str PCMA/8000 chan 0
    Apr 13 13:08:32 SPA112 kern.warning [17179593.784000] In cordless Driver Codec 100 and str NSE/8000 chan 0
    Apr 13 13:08:32 SPA112 kern.warning [17179593.784000] In cordless Driver Codec 112 and str encaprtp/8000 chan 0
    Apr 13 13:08:32 SPA112 kern.warning [17179593.784000] In cordless Driver Codec 255 and str chan 0
    Apr 13 13:08:32 SPA112 kern.warning [17179593.784000] In cordless Driver Codec 255 and str chan 0
    Apr 13 13:08:34 SPA112 kern.warning [17179595.780000] ###### sock_sendmsg return 172
    Apr 13 13:08:34 SPA112 kern.warning [17179595.780000]
    Apr 13 13:08:34 SPA112 kern.warning [17179595.780000] #### RTP STOP Flag set in this channel break ####
    Apr 13 13:08:34 SPA112 kern.warning [17179595.788000] In cordless Driver Codec 0 and str PCMU/8000 chan 0
    Apr 13 13:08:34 SPA112 kern.warning [17179595.788000] In cordless Driver Codec 8 and str PCMA/8000 chan 0
    Apr 13 13:08:34 SPA112 kern.warning [17179595.788000] In cordless Driver Codec 100 and str NSE/8000 chan 0
    Apr 13 13:08:34 SPA112 kern.warning [17179595.788000] In cordless Driver Codec 112 and str encaprtp/8000 chan 0
    Apr 13 13:08:34 SPA112 kern.warning [17179595.788000] In cordless Driver Codec 255 and str chan 0
    Apr 13 13:08:34 SPA112 kern.warning [17179595.788000] In cordless Driver Codec 255 and str chan 0
    Apr 13 13:08:54 SPA112 daemon.notice msgswitchd[192]: MSGSWD RTCP Reqt len 12 Data 2,2434896,7304,0
    Apr 13 13:08:54 SPA112 kern.warning [17179615.780000] RTCP is running so calling rtcp stop
    Apr 13 13:08:54 SPA112 kern.warning [17179615.780000] chan->kmode is present not null
    Apr 13 13:08:54 SPA112 kern.warning [17179615.784000] ###### RTCP sock_sendmsg return 172
    Apr 13 13:08:54 SPA112 kern.warning [17179615.788000] ###### sock_sendmsg return 172
    Apr 13 13:08:54 SPA112 kern.warning [17179615.788000]
    Apr 13 13:08:54 SPA112 kern.warning [17179615.788000] #### RTP STOP Flag set in this channel break ####
    Apr 13 13:09:41 SPA112 kern.warning [17179662.584000] In cordless Driver Codec 0 and str PCMU/8000 chan 0
    Apr 13 13:09:41 SPA112 kern.warning [17179662.584000] In cordless Driver Codec 8 and str PCMA/8000 chan 0
    Apr 13 13:09:41 SPA112 kern.warning [17179662.584000] In cordless Driver Codec 100 and str NSE/8000 chan 0
    Apr 13 13:09:41 SPA112 kern.warning [17179662.584000] In cordless Driver Codec 112 and str encaprtp/8000 chan 0
    Apr 13 13:09:41 SPA112 kern.warning [17179662.584000] In cordless Driver Codec 255 and str chan 0
    Apr 13 13:09:41 SPA112 kern.warning [17179662.584000] In cordless Driver Codec 255 and str chan 0
    Apr 13 13:09:43 SPA112 kern.warning [17179664.228000] ###### sock_sendmsg return 172
    Apr 13 13:09:43 SPA112 kern.warning [17179664.232000]
    Apr 13 13:09:43 SPA112 kern.warning [17179664.232000] #### RTP STOP Flag set in this channel break ####
    Apr 13 13:09:43 SPA112 kern.warning [17179664.236000] In cordless Driver Codec 0 and str PCMU/8000 chan 0
    Apr 13 13:09:43 SPA112 kern.warning [17179664.236000] In cordless Driver Codec 8 and str PCMA/8000 chan 0
    Apr 13 13:09:43 SPA112 kern.warning [17179664.236000] In cordless Driver Codec 100 and str NSE/8000 chan 0
    Apr 13 13:09:43 SPA112 kern.warning [17179664.236000] In cordless Driver Codec 112 and str encaprtp/8000 chan 0
    Apr 13 13:09:43 SPA112 kern.warning [17179664.236000] In cordless Driver Codec 255 and str chan 0
    Apr 13 13:09:43 SPA112 kern.warning [17179664.236000] In cordless Driver Codec 255 and str chan 0
    Apr 13 13:10:02 SPA112 daemon.notice msgswitchd[192]: MSGSWD RTCP Reqt len 12 Data 2,2435044,7304,0
    Apr 13 13:10:03 SPA112 kern.warning [17179684.260000] RTCP is running so calling rtcp stop
    Apr 13 13:10:03 SPA112 kern.warning [17179684.260000] chan->kmode is present not null
    Apr 13 13:10:03 SPA112 kern.warning [17179684.264000] ###### RTCP sock_sendmsg return 172
    Apr 13 13:10:03 SPA112 kern.warning [17179684.268000] ###### sock_sendmsg return 172
    Apr 13 13:10:03 SPA112 kern.warning [17179684.268000]
    Apr 13 13:10:03 SPA112 kern.warning [17179684.268000] #### RTP STOP Flag set in this channel break ####
    Apr 13 13:10:47 SPA112 daemon.notice msgswitchd[192]: MSGSWD RTCP Reqt len 12 Data 2,2635368,0,0
    Apr 13 13:11:46 SPA112 kern.info [17179787.236000] cordless: deinit
    Apr 13 13:11:49 SPA112 kern.info [17179790.416000] cordless: loading synergy-2011-09-15
    Apr 13 13:11:49 SPA112 kern.info [17179790.456000] cordless: init successful
    Apr 13 13:11:51 SPA112 user.notice msgswitchd: MSGSWITCH fd_rtp fifo created 11
    Apr 13 13:11:51 SPA112 user.notice msgswitchd: MSGSWITCH fd_ch fifo created 13
    Apr 13 13:11:51 SPA112 user.notice msgswitchd: MSGSWITCH fd_gmep fifo created 14
    Apr 13 13:11:52 SPA112 daemon.notice msgswitchd[308]: new ap 00000001 (AP_SIP) at pid 00287
    Apr 13 13:11:53 SPA112 daemon.notice msgswitchd[308]: MSGSWD RTCP Reqt len 12 Data 2,2362808,0,287
    Apr 13 13:12:58 SPA112 syslog.notice syslog-ng[118]: STATS: dropped 0
    Apr 13 13:22:58 SPA112 syslog.notice syslog-ng[118]: STATS: dropped 0
    Apr 13 13:32:59 SPA112 syslog.notice syslog-ng[118]: STATS: dropped 0
    ©

    Hi Nseto,
    Thank you for the advise. I've attached the debug log as requested. Let me know if there's something that stands out to you.
    syslog server(port:514) started on Tue Apr 16 11:23:23 2013
    Firmware downgrade limit()
    httpd_handle_request(), request method = 1
    httpd_handle_request(), request path = /admin/voice/
    httpd_handle_request(), pswlReq->ubType = 0
    Requesting call statistics...
    Call statistics updated.
    httpd_handle_request(), request method = 2
    *** show dtmf tx holdoff time 70 for line 0
    *** show dtmf tx holdoff time 70 for line 1
    get_dhcp_option66_67_info, voice interface is 'br0'
    uch_syncParameter start
    uchInitDTMFTbl(), dtmf level -160
    uchEnableEchoCan(), lid 0 EP 2 enable
    UCH sync parameter hold off time is 70
    uch_syncParameter(), uch_syncDTMFHoldOffTime(0)=0
    uchEnableEchoCan(), lid 1 EP 1 enable
    UCH sync parameter hold off time is 70
    uch_syncParameter(), uch_syncDTMFHoldOffTime(1)=0
    Firmware downgrade limit()
    httpd_handle_request(), request method = 1
    httpd_handle_request(), request path = /admin/voice/
    httpd_handle_request(), pswlReq->ubType = 0
    Requesting call statistics...
    Call statistics updated.
    [0]<<31.6.78.124:5060(499)
    [0]<<31.6.78.124:5060(499)
    OPTIONS sip:[email protected]:5060 SIP/2.0
    Via: SIP/2.0/UDP 31.6.78.124:5060;branch=z9hG4bK100c9cd0;rport
    From: "Unknown" ;tag=as0871a40b
    To:
    Contact:
    Call-ID: [email protected]
    CSeq: 102 OPTIONS
    User-Agent: Asterisk PBX
    Max-Forwards: 70
    Date: Tue, 16 Apr 2013 01:27:34 GMT
    Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
    Supported: replaces
    Content-Length: 0
    [0]->31.6.78.124:5060(400)
    [0]->31.6.78.124:5060(400)
    SIP/2.0 200 OK
    To: ;tag=e86c9e9a830a9c1ei0
    From: "Unknown" ;tag=as0871a40b
    Call-ID: [email protected]
    CSeq: 102 OPTIONS
    Via: SIP/2.0/UDP 31.6.78.124:5060;branch=z9hG4bK100c9cd0
    Server: Cisco/SPA112-1.0.2(006)
    Content-Length: 0
    Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER
    Supported: replaces
    [0]<<31.6.78.124:5060(499)
    [0]<<31.6.78.124:5060(499)
    OPTIONS sip:[email protected]:5060 SIP/2.0
    Via: SIP/2.0/UDP 31.6.78.124:5060;branch=z9hG4bK6f447a66;rport
    From: "Unknown" ;tag=as6203a281
    To:
    Contact:
    Call-ID: [email protected]
    CSeq: 102 OPTIONS
    User-Agent: Asterisk PBX
    Max-Forwards: 70
    Date: Tue, 16 Apr 2013 01:28:34 GMT
    Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
    Supported: replaces
    Content-Length: 0
    [0]->31.6.78.124:5060(400)
    [0]->31.6.78.124:5060(400)
    SIP/2.0 200 OK
    To: ;tag=e86c9e9a830a9c1ei0
    From: "Unknown" ;tag=as6203a281
    Call-ID: [email protected]
    CSeq: 102 OPTIONS
    Via: SIP/2.0/UDP 31.6.78.124:5060;branch=z9hG4bK6f447a66
    Server: Cisco/SPA112-1.0.2(006)
    Content-Length: 0
    Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER
    Supported: replaces
    [0]<<31.6.78.124:5060(849)
    [0]<<31.6.78.124:5060(849)
    INVITE sip:[email protected]:5060 SIP/2.0
    Via: SIP/2.0/UDP 31.6.78.124:5060;branch=z9hG4bK276264bc;rport
    From: "Frankston South, Australia" ;tag=as5e956228
    To:
    Contact:
    Call-ID: [email protected]
    CSeq: 102 INVITE
    User-Agent: Asterisk PBX
    Max-Forwards: 70
    Date: Tue, 16 Apr 2013 01:28:54 GMT
    Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
    Supported: replaces
    Content-Type: application/sdp
    Content-Length: 305
    v=0
    o=root 2809 2809 IN IP4 31.6.78.124
    s=session
    c=IN IP4 31.6.78.124
    t=0 0
    m=audio 10582 RTP/AVP 97 0 8 101
    a=rtpmap:97 iLBC/8000
    a=fmtp:97 mode=30
    a=rtpmap:0 PCMU/8000
    a=rtpmap:8 PCMA/8000
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-16
    a=silenceSupp:off - - - -
    a=ptime:20
    a=sendrecv
    [0]->31.6.78.124:5060(312)
    [0]->31.6.78.124:5060(312)
    SIP/2.0 100 Trying
    To:
    From: "Frankston South, Australia" ;tag=as5e956228
    Call-ID: [email protected]
    CSeq: 102 INVITE
    Via: SIP/2.0/UDP 31.6.78.124:5060;branch=z9hG4bK276264bc
    Server: Cisco/SPA112-1.0.2(006)
    Content-Length: 0
    CC_eventProc(), event: CC_EV_SIG_CALL_ARRIVED(0x2F), lid: 0, par: 0, par2: 0x40324a28
    AUD_ccEventProc: event 47 vid 0 par 0x0 par2 0x40324a28
    pconly: 0
    CC:pc(0)=130 not in codec list
    CC:pc(1)=18 not in codec list
    clRemote: 0x40324ab8, clLocal->ucNumAudioCodec: 2
    [AUD]Get UCH node for AUD_LINE 0.
    uchAllocateNode(), Node 0 allocated
    [AUD]UCH node 0 allocated to AUD_LINE 0.
    uchConnectEpToNode(), connecting EP FXS 1 to node 0
    uchEnableNode(), Node 0 enbaled
    CC_eventProc(), inf.strName = Frankston South, Australia
    CC_eventProc(), inf.strPhone = 6004
    callEventProcTable[0] is cepIdleProc
    cepIdleProc(line=0x1c6528, call=0x1c652c, event=18(CC_EV_USR_ACCEPTCALL), par=0, par2=0x40324a28)
    cepIdleProc(), lid=0
    cepIdleProc(), line->sigProc(CC_CMD_ACCEPT)
    cepIdleProc(), call->cinf.bAutoAnswer = 0
    NEW_CALL_STATE(), call 0: old state = 0, new state 5
    CC_eventProc(), msg CC_EV_USR_ACCEPTCALL(92) sent to CC
    [0]CID:CID_initGen() >>> offhook 0 delay 2200 phone 6004 name Frankston South, Australia
    SLIC_startRing state 0 ts 0x1ed790on 2000 off 4000 len 60000
    [0]Ring cad event 0 pol 0
    RTP_nextMediaPort(), port = 16392
    RTP_nextMediaPort(), rc=16390
    AUD_allocCallObj() call(0x1ef7c0)
    [0:0]AUD ALLOC CALL (port=16390)
    [AUD]AUD_startRtpRx(0x1ef7c0)
    Local loopback mode: None. Type: None.
    Remote loopback mode: None. Type None.
    UCH sync parameter hold off time is 70
    RTP channel setup: udp_no_checksum 0, sysmmetric_rtp 0, tos 0xb8, cos 6, mlb 0.
    uchConnectEpToNode(), connecting EP VoIP 0 to node 0
    cordless_start_rtp(), chan:0 remote ip:(null) port:0 local:16390 rx:1 ipt:0 ptime:0
    Starting Rx only RTP.
    Socket 19 bound to port 16390.
    Remote IP/port: 0.0.0.0:0
    Codec list from SDP (internal pt):Codec list from SDP (internal pt): 0 0 8 8 134 134 136 136
    Rx payload list: Rx payload list:  PCMU/8000(0) PCMU/8000(0) PCMA/8000(8) PCMA/8000(8) NSE/8000(100) NSE/8000(100) encaprtp/8000(112) encaprtp/8000(112)
    set RTP_SESSION_OPT_DTMF
    uchEnableEchoCan(), lid 0 EP 2 enable
    RTP configuration:
      audio_mode RTP_MODE_REC_ONLY, media_loop_level RTP_LOOP_LEVEL_NONE, dtmf2833numEndPakcets 3, opts 0x0
      Codec: duration 0, rx_pt_event 101, tx_pt_event 101, tx_pt 0
             rx[0] 0 PCMU/8000, rx[1] 8 PCMA/8000, rx[2] 100 NSE/8000
             rx[3] 112 encaprtp/8000, rx[4] -1 , rx[5] -1
      Jib: max 180ms, min 60ms, adapt 1
    RTP Channel 0 is virgin: 1.
    RTP session 0 started
    uchSetDTMFMute(), ENABLE
    [AUD]RTP Rx Up
    [0]->31.6.78.124:5060(400)
    [0]->31.6.78.124:5060(400)
    SIP/2.0 180 Ringing
    To: ;tag=93d9d48c852dff3ei0
    From: "Frankston South, Australia" ;tag=as5e956228
    Call-ID: [email protected]
    CSeq: 102 INVITE
    Via: SIP/2.0/UDP 31.6.78.124:5060;branch=z9hG4bK276264bc
    Contact: "Brahma Kumari Canberra"
    Server: Cisco/SPA112-1.0.2(006)
    Content-Length: 0
    Set QoS succeed
    [0]Ring cad event 1 pol 0
    CID:OnHookTx Pol
    [0]CID CID_ST_POLREV_POST_DELAY
    uchDisplayCIDFSK(), EP 2 lid 0 buflen 107 overhead 60 SZ_MAX_USERDATA 200
    [0]CID Start DTMF/FSK, CID_ST_ACTIVE
    [0]CID CID_ST_FSK_COMP_DELAY
    [0]CID CID:DONE
    [0]CID CID_ST_ACTIVE_POST_DELAY
    [0]CID CID_ST_IDLE
    UCH sync parameter hold off time is 70
    [0]Ring cad event 0 pol 0
    [0]Ring cad event 1 pol 0
    [0]Off Hook
    CC_eventProc(), event: CC_EV_USR_OFFHOOK(0x2), lid: 0, par: 0, par2: (nil)
    AUD_ccEventProc: event 2 vid 0 par 0x0 par2 0x0
    sysstatus_set_led_status_payton(), led_id: 1, statusCode:7, systemEvent: 0x100095
    callEventProcTable[5] is cepRingingProc
    NEW_CALL_STATE(), call 0: old state = 5, new state 7
    SLIC_stopRing
    [0]Ring cad event 2 pol 0
    SLIC_stopRing
    SLIC_stopTone
    [0]->31.6.78.124:5060(763)
    [0]->31.6.78.124:5060(763)
    SIP/2.0 200 OK
    To: ;tag=93d9d48c852dff3ei0
    From: "Frankston South, Australia" ;tag=as5e956228
    Call-ID: [email protected]
    CSeq: 102 INVITE
    Via: SIP/2.0/UDP 31.6.78.124:5060;branch=z9hG4bK276264bc
    Contact: "Brahma Kumari Canberra"
    Server: Cisco/SPA112-1.0.2(006)
    Content-Length: 251
    Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER
    Supported: replaces
    Content-Type: application/sdp
    v=0
    o=- 96219 96219 IN IP4 192.168.1.41
    s=-
    c=IN IP4 192.168.1.41
    t=0 0
    m=audio 16390 RTP/AVP 0 100 101
    a=rtpmap:0 PCMU/8000
    a=rtpmap:100 NSE/8000
    a=fmtp:100 192-193
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-15
    a=ptime:30
    a=sendrecv
    [0]->31.6.78.124:5060(763)
    [0]->31.6.78.124:5060(763)
    SIP/2.0 200 OK
    To: ;tag=93d9d48c852dff3ei0
    From: "Frankston South, Australia" ;tag=as5e956228
    Call-ID: [email protected]
    CSeq: 102 INVITE
    Via: SIP/2.0/UDP 31.6.78.124:5060;branch=z9hG4bK276264bc
    Contact: "Brahma Kumari Canberra"
    Server: Cisco/SPA112-1.0.2(006)
    Content-Length: 251
    Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER
    Supported: replaces
    Content-Type: application/sdp
    v=0
    o=- 96219 96219 IN IP4 192.168.1.41
    s=-
    c=IN IP4 192.168.1.41
    t=0 0
    m=audio 16390 RTP/AVP 0 100 101
    a=rtpmap:0 PCMU/8000
    a=rtpmap:100 NSE/8000
    a=fmtp:100 192-193
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-15
    a=ptime:30
    a=sendrecv
    [0]->31.6.78.124:5060(763)
    [0]->31.6.78.124:5060(763)
    SIP/2.0 200 OK
    To: ;tag=93d9d48c852dff3ei0
    From: "Frankston South, Australia" ;tag=as5e956228
    Call-ID: [email protected]
    CSeq: 102 INVITE
    Via: SIP/2.0/UDP 31.6.78.124:5060;branch=z9hG4bK276264bc
    Contact: "Brahma Kumari Canberra"
    Server: Cisco/SPA112-1.0.2(006)
    Content-Length: 251
    Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER
    Supported: replaces
    Content-Type: application/sdp
    v=0
    o=- 96219 96219 IN IP4 192.168.1.41
    s=-
    c=IN IP4 192.168.1.41
    t=0 0
    m=audio 16390 RTP/AVP 0 100 101
    a=rtpmap:0 PCMU/8000
    a=rtpmap:100 NSE/8000
    a=fmtp:100 192-193
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-15
    a=ptime:30
    a=sendrecv
    [0]<<31.6.78.124:5060(401)
    [0]<<31.6.78.124:5060(401)
    ACK sip:[email protected]:5060 SIP/2.0
    Via: SIP/2.0/UDP 31.6.78.124:5060;branch=z9hG4bK683598f6;rport
    From: "Frankston South, Australia" ;tag=as5e956228
    To: ;tag=93d9d48c852dff3ei0
    Contact:
    Call-ID: [email protected]
    CSeq: 102 ACK
    User-Agent: Asterisk PBX
    Max-Forwards: 70
    Content-Length: 0
    SIP_sessDlgEventProc: event: 42, ucState: 0
    CC_eventProc(), event: CC_EV_SIG_CALL_CONNECTED(0x2A), lid: 0, par: 2, par2: (nil)
    AUD_ccEventProc: event 42 vid 0 par 0x2 par2 0x0
    callEventProcTable[7] is cepAnsweringProc
    cepAnsweringProc(line=0x1c6528, call=0x1c652c, event=42(CC_EV_SIG_CALL_CONNECTED), par=2, par2=(nil))
    CC:Connected
    NEW_CALL_STATE(), call 0: old state = 7, new state 8
    SLIC_stopRing
    SLIC_stopRing
    SLIC_stopTone
    [AUD]AUD_startRtpTx(0x1ef7c0, 0, 31.6.78.124, 10582, 20)
    Local loopback mode: None. Type: None.
    Remote loopback mode: None. Type None.
    UCH sync parameter hold off time is 70
    Already has a RTP channel.
    Already has a RTP channel.
    uchConnectEpToNode(), connecting EP VoIP 0 to node 0
    cordless_start_rtp(), chan:0 remote ip:31.6.78.124 port:10582 local:16390 rx:0 ipt:0 ptime:20
    Going from Rx only to bi-directional.
    Old remote IP/port: 0.0.0.0:0
    Remote IP/port: 31.6.78.124:10582
    Codec list from SDP (internal pt):Codec list from SDP (internal pt): 0 0 8 8 134 134 136 136
    Rx payload list: Rx payload list:  PCMU/8000(0) PCMU/8000(0) PCMA/8000(8) PCMA/8000(8) NSE/8000(100) NSE/8000(100) encaprtp/8000(112) encaprtp/8000(112)
    set RTP_SESSION_OPT_DTMF
    uchEnableEchoCan(), lid 0 EP 2 enable
    RTP configuration:
      audio_mode RTP_MODE_ACTIVE, media_loop_level RTP_LOOP_LEVEL_NONE, dtmf2833numEndPakcets 3, opts 0x0
      Codec: duration 20, rx_pt_event 101, tx_pt_event 101, tx_pt 0
             rx[0] 0 PCMU/8000, rx[1] 8 PCMA/8000, rx[2] 100 NSE/8000
             rx[3] 112 encaprtp/8000, rx[4] -1 , rx[5] -1
      Jib: max 180ms, min 60ms, adapt 1
    RTP Channel 0 is virgin: 0.
    Need to stop RTP session then restart.
    RTP session 0 started
    uchSetDTMFMute(), ENABLE
    [AUD]RTP Tx Up
    [AUD]AUD_startRtcpTx(0x1ef7c0)
    cordless_start_rtcp(), chan:0 remote ip:31.6.78.124 port:10583 intvl:0
    Socket 26 bound to RTCP port 16391.
    CNAME [email protected]
    NAME "Brahma Kumari Canberra"
    TOOL Cisco/SPA112-1.0.2(006)
    Starting RTCP session on channel 0. Interval 0. Rx only.
    RTCP session started on RTP channel 0.
    [AUD]RTCP Up
    [0]<<31.6.78.124:5060(401)
    [0]<<31.6.78.124:5060(401)
    ACK sip:[email protected]:5060 SIP/2.0
    Via: SIP/2.0/UDP 31.6.78.124:5060;branch=z9hG4bK22a27136;rport
    From: "Frankston South, Australia" ;tag=as5e956228
    To: ;tag=93d9d48c852dff3ei0
    Contact:
    Call-ID: [email protected]
    CSeq: 102 ACK
    User-Agent: Asterisk PBX
    Max-Forwards: 70
    Content-Length: 0
    [0]<<31.6.78.124:5060(401)
    [0]<<31.6.78.124:5060(401)
    ACK sip:[email protected]:5060 SIP/2.0
    Via: SIP/2.0/UDP 31.6.78.124:5060;branch=z9hG4bK015e71ac;rport
    From: "Frankston South, Australia" ;tag=as5e956228
    To: ;tag=93d9d48c852dff3ei0
    Contact:
    Call-ID: [email protected]
    CSeq: 102 ACK
    User-Agent: Asterisk PBX
    Max-Forwards: 70
    Content-Length: 0
    [0]<<31.6.78.124:5060(368)
    [0]<<31.6.78.124:5060(368)
    BYE sip:[email protected]:5060 SIP/2.0
    Via: SIP/2.0/UDP 31.6.78.124:5060;branch=z9hG4bK2acff592;rport
    From: "Frankston South, Australia" ;tag=as5e956228
    To: ;tag=93d9d48c852dff3ei0
    Call-ID: [email protected]
    CSeq: 103 BYE
    User-Agent: Asterisk PBX
    Max-Forwards: 70
    Content-Length: 0
    [0]->31.6.78.124:5060(328)
    [0]->31.6.78.124:5060(328)
    SIP/2.0 200 OK
    To: ;tag=93d9d48c852dff3ei0
    From: "Frankston South, Australia" ;tag=as5e956228
    Call-ID: [email protected]
    CSeq: 103 BYE
    Via: SIP/2.0/UDP 31.6.78.124:5060;branch=z9hG4bK2acff592
    Server: Cisco/SPA112-1.0.2(006)
    Content-Length: 0
    SIP_sessDlgEventProc: event: 44, ucState: 3
    CC_eventProc(), event: CC_EV_SIG_CALL_ENDED(0x32), lid: 0, par: 2, par2: (nil)
    AUD_ccEventProc: event 50 vid 0 par 0x2 par2 0x0
    callEventProcTable[8] is cepConnectedProc
    cepConnectedProc(line=0x1c6528, call=0x1c652c, event=50(CC_EV_SIG_CALL_ENDED), par=2, par2=(nil))
    CC:Ended
    NEW_CALL_STATE(), call 0: old state = 8, new state 6
    SLIC_stopRing
    SLIC_stopRing
    SLIC_stopTone
    Requesting call statistics...
    RTP TX stats updated for channel 0
    RTP TX stats updated for channel 0
    RTP RX stats updated for channel 0
    RTP RX stats updated for channel 0
    Call statistics updated.
    AUD_releaseCallObj() call(0x1ef7c0)
    [AUD]AUD_stopRtpTx(0x1ef7c0)
    cordless_stop_rtp_tx(), Channel 0.
    RTP channel 0 going from Bi-dir to Rx.
    RTP configuration:
      audio_mode RTP_MODE_REC_ONLY, media_loop_level RTP_LOOP_LEVEL_NONE, dtmf2833numEndPakcets 3, opts 0x0
      Codec: duration 20, rx_pt_event 101, tx_pt_event 101, tx_pt 0
             rx[0] 0 PCMU/8000, rx[1] 8 PCMA/8000, rx[2] 100 NSE/8000
             rx[3] 112 encaprtp/8000, rx[4] -1 , rx[5] -1
      Jib: max 180ms, min 60ms, adapt 1
    RTP channel 0 is now Rx.
    [AUD]RTP Tx Down
    [AUD]AUD_stopRtpRx(0x1ef7c0)
    cordless_stop_rtp_rx(), Channel 0.
    RTP channel 0 going from Rx to Idle.
    RTP configuration:
      audio_mode RTP_MODE_INACTIVE, media_loop_level RTP_LOOP_LEVEL_NONE, dtmf2833numEndPakcets 3, opts 0x0
      Codec: duration 20, rx_pt_event 101, tx_pt_event 101, tx_pt 0
             rx[0] 0 PCMU/8000, rx[1] 8 PCMA/8000, rx[2] 100 NSE/8000
             rx[3] 112 encaprtp/8000, rx[4] -1 , rx[5] -1
      Jib: max 180ms, min 60ms, adapt 1
    RTP channel 0 is now Idle.
    [AUD]RTP Down
    [AUD]AUD_releaseRtp(0x1ef7c0)
    cordless_stop_rtp(), releasing RTP channel:0
    cordless_stop_rtp(), RTP session 0 stopped succussfully
    uchDisconnectEpFromNode(), disconnecting EP VoIP 0 from node 0
    [AUD]RTP channel released
    [0:0]AUD Rel Call
    [AUD]Release UCH node for AUD_LINE 0.
    uchDisableNode(), Node 0 released
    [AUD]UCH node 0 freed.
    Set QoS succeed
    callEventProcTable[6] is cepInvalidProc
    cepInvalidProc(line=0x1c6528, call=0x1c652c, event=30(CC_EV_TMR_INVALID), par=0, par2=(nil))
    SLIC_stopRing
    SLIC_startTone 8
    uchSetMute(), ENABLE
    uchSetMute(), DISABLE
    uchSetMute(), ENABLE
    uchSetMute(), DISABLE
    uchSetMute(), ENABLE
    uchSetMute(), DISABLE
    DLG Terminated 255aa4
    SIP_sessDlgEventProc: event: 40, ucState: 4
    Sess Terminated
    [AUD]Release UCH node for AUD_LINE 0.
    AUD_LINE 0 has no associated UCH node.
    uchSetMute(), ENABLE
    uchSetMute(), DISABLE
    uchSetMute(), ENABLE
    uchSetMute(), DISABLE
    uchSetMute(), ENABLE
    uchSetMute(), DISABLE
    uchSetMute(), ENABLE
    uchSetMute(), DISABLE
    uchSetMute(), ENABLE
    uchSetMute(), DISABLE
    uchSetMute(), ENABLE
    uchSetMute(), DISABLE
    uchSetMute(), ENABLE
    uchSetMute(), DISABLE
    [0]On Hook
    CC_eventProc(), event: CC_EV_USR_ONHOOK(0x1), lid: 0, par: 0, par2: (nil)
    AUD_ccEventProc: event 1 vid 0 par 0x0 par2 0x0
    sysstatus_set_led_status_payton(), led_id: 1, statusCode:1, systemEvent: 0x100093
    callEventProcTable[6] is cepInvalidProc
    cepInvalidProc(line=0x1c6528, call=0x1c652c, event=1(CC_EV_USR_ONHOOK), par=0, par2=(nil))
    callEventProcTable[0] is cepIdleProc
    cepIdleProc(line=0x1c6528, call=0x1c6734, event=1(CC_EV_USR_ONHOOK), par=0, par2=(nil))
    cepIdleProc(), lid=0
    [IVR_eventProc] evt 1 lid 0
    callEventProcTable[6] is cepInvalidProc
    cepInvalidProc(line=0x1c6528, call=0x1c652c, event=10(CC_EV_USR_ENDCALL), par=0, par2=(nil))
    NEW_CALL_STATE(), call 0: old state = 6, new state 0
    [AUD]Release UCH node for AUD_LINE 0.
    AUD_LINE 0 has no associated UCH node.
    SLIC_stopRing
    SLIC_stopTone
    [0]<<31.6.78.124:5060(499)
    [0]<<31.6.78.124:5060(499)
    OPTIONS sip:[email protected]:5060 SIP/2.0
    Via: SIP/2.0/UDP 31.6.78.124:5060;branch=z9hG4bK51f45b89;rport
    From: "Unknown" ;tag=as57087f59
    To:
    Contact:
    Call-ID: [email protected]
    CSeq: 102 OPTIONS
    User-Agent: Asterisk PBX
    Max-Forwards: 70
    Date: Tue, 16 Apr 2013 01:29:35 GMT
    Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
    Supported: replaces
    Content-Length: 0
    [0]->31.6.78.124:5060(400)
    [0]->31.6.78.124:5060(400)
    SIP/2.0 200 OK
    To: ;tag=e86c9e9a830a9c1ei0
    From: "Unknown" ;tag=as57087f59
    Call-ID: [email protected]
    CSeq: 102 OPTIONS
    Via: SIP/2.0/UDP 31.6.78.124:5060;branch=z9hG4bK51f45b89
    Server: Cisco/SPA112-1.0.2(006)
    Content-Length: 0
    Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER
    Supported: replaces
    CC:Clean Up
    NEW_CALL_STATE(), call 0: old state = 0, new state 0
    NEW_CALL_STATE(), call 1: old state = 0, new state 0
    NEW_CALL_STATE(), call 2: old state = 0, new state 0
    NEW_CALL_STATE(), call 0: old state = 0, new state 0
    NEW_CALL_STATE(), call 1: old state = 0, new state 0
    NEW_CALL_STATE(), call 2: old state = 0, new state 0
    NEW_CALL_STATE(), call 0: old state = 0, new state 0
    NEW_CALL_STATE(), call 1: old state = 0, new state 0
    NEW_CALL_STATE(), call 2: old state = 0, new state 0
    NEW_CALL_STATE(), call 0: old state = 0, new state 0
    NEW_CALL_STATE(), call 1: old state = 0, new state 0
    NEW_CALL_STATE(), call 2: old state = 0, new state 0
    NEW_CALL_STATE(), call 0: old state = 0, new state 0
    NEW_CALL_STATE(), call 1: old state = 0, new state 0
    NEW_CALL_STATE(), call 2: old state = 0, new state 0
    NEW_CALL_STATE(), call 0: old state = 0, new state 0
    NEW_CALL_STATE(), call 1: old state = 0, new state 0
    NEW_CALL_STATE(), call 2: old state = 0, new state 0
    NEW_CALL_STATE(), call 0: old state = 0, new state 0
    NEW_CALL_STATE(), call 1: old state = 0, new state 0
    NEW_CALL_STATE(), call 2: old state = 0, new state 0
    NEW_CALL_STATE(), call 0: old state = 0, new state 0
    NEW_CALL_STATE(), call 1: old state = 0, new state 0
    NEW_CALL_STATE(), call 2: old state = 0, new state 0
    NEW_CALL_STATE(), call 0: old state = 0, new state 0
    NEW_CALL_STATE(), call 1: old state = 0, new state 0
    NEW_CALL_STATE(), call 2: old state = 0, new state 0
    NEW_CALL_STATE(), call 0: old state = 0, new state 0
    NEW_CALL_STATE(), call 1: old state = 0, new state 0
    NEW_CALL_STATE(), call 2: old state = 0, new state 0
    NEW_CALL_STATE(), call 0: old state = 0, new state 0
    NEW_CALL_STATE(), call 1: old state = 0, new state 0
    NEW_CALL_STATE(), call 2: old state = 0, new state 0
    NEW_CALL_STATE(), call 0: old state = 0, new state 0
    NEW_CALL_STATE(), call 1: old state = 0, new state 0
    NEW_CALL_STATE(), call 2: old state = 0, new state 0
    NEW_CALL_STATE(), call 0: old state = 0, new state 0
    NEW_CALL_STATE(), call 1: old state = 0, new state 0
    NEW_CALL_STATE(), call 2: old state = 0, new state 0
    --- OBJ POOL STAT ---
    OP:TIMEOU =  67 (120   52)   OP:SIPCOR =   0 (  1   28)
    OP:SIPCTS =  32 ( 32  936)   OP:SIPSTS =  32 ( 32 6408)
    OP:SIPAUS =   6 (  8  680)   OP:SIPDLG =  10 ( 10  148)
    OP:SIPSES =  12 ( 12 9124)   OP:SIPREG =   3 (  4  468)
    OP:SIPLIN =   0 ( 13  140)   OP:SUBDLG =  13 ( 13 6444)
    OP:STUNTS =  16 ( 16   68)  
    [0]<<31.6.78.124:5060(499)
    [0]<<31.6.78.124:5060(499)
    OPTIONS sip:[email protected]:5060 SIP/2.0
    Via: SIP/2.0/UDP 31.6.78.124:5060;branch=z9hG4bK12d518b2;rport
    From: "Unknown" ;tag=as188c9ad9
    To:
    Contact:
    Call-ID: [email protected]
    CSeq: 102 OPTIONS
    User-Agent: Asterisk PBX
    Max-Forwards: 70
    Date: Tue, 16 Apr 2013 01:30:35 GMT
    Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
    Supported: replaces
    Content-Length: 0
    [0]->31.6.78.124:5060(400)
    [0]->31.6.78.124:5060(400)
    SIP/2.0 200 OK
    To: ;tag=e86c9e9a830a9c1ei0
    From: "Unknown" ;tag=as188c9ad9
    Call-ID: [email protected]
    CSeq: 102 OPTIONS
    Via: SIP/2.0/UDP 31.6.78.124:5060;branch=z9hG4bK12d518b2
    Server: Cisco/SPA112-1.0.2(006)
    Content-Length: 0
    Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER
    Supported: replaces
    [0]Off Hook
    CC_eventProc(), event: CC_EV_USR_OFFHOOK(0x2), lid: 0, par: 0, par2: (nil)
    AUD_ccEventProc: event 2 vid 0 par 0x0 par2 0x0
    sysstatus_set_led_status_payton(), led_id: 1, statusCode:7, systemEvent: 0x100095
    [IVR_eventProc] evt 2 lid 0
    callEventProcTable[0] is cepIdleProc
    cepIdleProc(line=0x1c6528, call=0x1c652c, event=9(CC_EV_USR_SEIZURE), par=0, par2=(nil))
    cepIdleProc(), lid=0
    cepIdleProc(), pname=voip-asia.brahmakumaris.org
    cepIdleProc(), SYS_NOREG_CALL(0)=0, SIP_REGISTER_OK(0)=1
    [AUD]Get UCH node for AUD_LINE 0.
    uchAllocateNode(), Node 0 allocated
    [AUD]UCH node 0 allocated to AUD_LINE 0.
    uchConnectEpToNode(), connecting EP FXS 1 to node 0
    uchEnableNode(), Node 0 enbaled
    NEW_CALL_STATE(), call 0: old state = 0, new state 1
    SLIC_stopRing
    SLIC_startTone 1
    uchSetMute(), ENABLE
    Set QoS succeed
    uchAppCb(), Event 37 received EP 2 lid 0
    line:0 DTMFON event received digit 0
    EVQ_read: 1 0 in 2024092
    EVENT_DTMFON 0
    CC_eventProc(), event: CC_EV_USR_DTMFON(0x4), lid: 0, par: 48, par2: (nil)
    AUD_ccEventProc: event 4 vid 0 par 0x30 par2 0x0
    uchAppCb(), Event 38 received EP 2 lid 0
    line:0 DTMFOFF event received digit 0
    EVQ_read: 0 0 in 2024092
    EVENT_OOB_DTMF 0
    CC_eventProc(), event: CC_EV_USR_OOB_DTMF(0x8), lid: 0, par: 48, par2: 0x64
    AUD_ccEventProc: event 8 vid 0 par 0x30 par2 0x64
    callEventProcTable[1] is cepDialingProc
    cepDialingProc(line=0x1c6528, call=0x1c652c, event=8(CC_EV_USR_OOB_DTMF), par=48, par2=0x64)
    cepDialingProc(), event = 8(CC_EV_USR_OOB_DTMF)
    callEventProcTable[0] is cepIdleProc
    cepIdleProc(line=0x1c6528, call=0x1c6734, event=8(CC_EV_USR_OOB_DTMF), par=48, par2=0x64)
    cepIdleProc(), lid=0
    SLIC_stopRing
    SLIC_startTone 1
    EVENT_DTMFOFF 0
    CC_eventProc(), event: CC_EV_USR_DTMFOFF(0x5), lid: 0, par: 48, par2: (nil)
    AUD_ccEventProc: event 5 vid 0 par 0x30 par2 0x0
    [IVR_eventProc] evt 5 lid 0
    callEventProcTable[1] is cepDialingProc
    cepDialingProc(line=0x1c6528, call=0x1c652c, event=5(CC_EV_USR_DTMFOFF), par=48, par2=(nil))
    cepDialingProc(), event = 5(CC_EV_USR_DTMFOFF)
    cepDialingProc(), digit = 0
    cepDialingProc(), dn = (null)
    callEventProcTable[0] is cepIdleProc
    cepIdleProc(line=0x1c6528, call=0x1c6734, event=5(CC_EV_USR_DTMFOFF), par=48, par2=(nil))
    cepIdleProc(), lid=0
    SLIC_stopRing
    SLIC_stopRing
    SLIC_stopTone
    uchSetMute(), DISABLE
    uchAppCb(), Event 37 received EP 2 lid 0
    line:0 DTMFON event received digit 0
    EVQ_read: 1 0 in 2024092
    EVENT_DTMFON 0
    CC_eventProc(), event: CC_EV_USR_DTMFON(0x4), lid: 0, par: 48, par2: (nil)
    AUD_ccEventProc: event 4 vid 0 par 0x30 par2 0x0
    uchAppCb(), Event 38 received EP 2 lid 0
    line:0 DTMFOFF event received digit 0
    EVQ_read: 0 0 in 2024092
    EVENT_OOB_DTMF 0
    CC_eventProc(), event: CC_EV_USR_OOB_DTMF(0x8), lid: 0, par: 48, par2: 0x64
    AUD_ccEventProc: event 8 vid 0 par 0x30 par2 0x64
    callEventProcTable[1] is cepDialingProc
    cepDialingProc(line=0x1c6528, call=0x1c652c, event=8(CC_EV_USR_OOB_DTMF), par=48, par2=0x64)
    cepDialingProc(), event = 8(CC_EV_USR_OOB_DTMF)
    callEventProcTable[0] is cepIdleProc
    cepIdleProc(line=0x1c6528, call=0x1c6734, event=8(CC_EV_USR_OOB_DTMF), par=48, par2=0x64)
    cepIdleProc(), lid=0
    SLIC_stopRing
    SLIC_stopRing
    SLIC_stopTone
    EVENT_DTMFOFF 0
    CC_eventProc(), event: CC_EV_USR_DTMFOFF(0x5), lid: 0, par: 48, par2: (nil)
    AUD_ccEventProc: event 5 vid 0 par 0x30 par2 0x0
    [IVR_eventProc] evt 5 lid 0
    callEventProcTable[1] is cepDialingProc
    cepDialingProc(line=0x1c6528, call=0x1c652c, event=5(CC_EV_USR_DTMFOFF), par=48, par2=(nil))
    cepDialingProc(), event = 5(CC_EV_USR_DTMFOFF)
    cepDialingProc(), digit = 0
    cepDialingProc(), dn = (null)
    callEventProcTable[0] is cepIdleProc
    cepIdleProc(line=0x1c6528, call=0x1c6734, event=5(CC_EV_USR_DTMFOFF), par=48, par2=(nil))
    cepIdleProc(), lid=0
    SLIC_stopRing
    SLIC_stopRing
    SLIC_stopTone
    uchAppCb(), Event 37 received EP 2 lid 0
    line:0 DTMFON event received digit 4
    EVQ_read: 1 4 in 2024092
    EVENT_DTMFON 4
    CC_eventProc(), event: CC_EV_USR_DTMFON(0x4), lid: 0, par: 52, par2: (nil)
    AUD_ccEventProc: event 4 vid 0 par 0x34 par2 0x0
    uchAppCb(), Event 38 received EP 2 lid 0
    line:0 DTMFOFF event received digit 4
    EVQ_read: 0 4 in 2024092
    EVENT_OOB_DTMF 4
    CC_eventProc(), event: CC_EV_USR_OOB_DTMF(0x8), lid: 0, par: 52, par2: 0x64
    AUD_ccEventProc: event 8 vid 0 par 0x34 par2 0x64
    callEventProcTable[1] is cepDialingProc
    cepDialingProc(line=0x1c6528, call=0x1c652c, event=8(CC_EV_USR_OOB_DTMF), par=52, par2=0x64)
    cepDialingProc(), event = 8(CC_EV_USR_OOB_DTMF)
    callEventProcTable[0] is cepIdleProc
    cepIdleProc(line=0x1c6528, call=0x1c6734, event=8(CC_EV_USR_OOB_DTMF), par=52, par2=0x64)
    cepIdleProc(), lid=0
    SLIC_stopRing
    SLIC_stopRing
    SLIC_stopTone
    EVENT_DTMFOFF 4
    CC_eventProc(), event: CC_EV_USR_DTMFOFF(0x5), lid: 0, par: 52, par2: (nil)
    AUD_ccEventProc: event 5 vid 0 par 0x34 par2 0x0
    [IVR_eventProc] evt 5 lid 0
    callEventProcTable[1] is cepDialingProc
    cepDialingProc(line=0x1c6528, call=0x1c652c, event=5(CC_EV_USR_DTMFOFF), par=52, par2=(nil))
    cepDialingProc(), event = 5(CC_EV_USR_DTMFOFF)
    cepDialingProc(), digit = 4
    cepDialingProc(), dn = (null)
    callEventProcTable[0] is cepIdleProc
    cepIdleProc(line=0x1c6528, call=0x1c6734, event=5(CC_EV_USR_DTMFOFF), par=52, par2=(nil))
    cepIdleProc(), lid=0
    SLIC_stopRing
    SLIC_stopRing
    SLIC_stopTone
    callEventProcTable[1] is cepDialingProc
    cepDialingProc(line=0x1c6528, call=0x1c652c, event=32(CC_EV_TMR_DIALPLAN), par=0, par2=(nil))
    cepDialingProc(), event = 32(CC_EV_TMR_DIALPLAN)
    cepDialingProc(), digit = 
    cepDialingProc(), dn = 004
    [checkSuppFeatActCode] lid 0 vid 0
    pconly: 0
    clRemote: (nil), clLocal->ucNumAudioCodec: 4
    [AUD]Get UCH node for AUD_LINE 0.
    AUD_LINE 0 already has UCH node 0.
    NEW_CALL_STATE(), call 0: old state = 1, new state 3
    SLIC_stopRing
    SLIC_stopRing
    SLIC_stopTone
    Calling:[email protected]:0, rc=0
    RTP_nextMediaPort(), port = 16394
    RTP_nextMediaPort(), rc=16392
    AUD_allocCallObj() call(0x1ef7c0)
    [0:0]AUD ALLOC CALL (port=16392)
    [AUD]AUD_startRtpRx(0x1ef7c0)
    Local loopback mode: None. Type: None.
    Remote loopback mode: None. Type None.
    UCH sync parameter hold off time is 70
    RTP channel setup: udp_no_checksum 0, sysmmetric_rtp 0, tos 0xb8, cos 6, mlb 0.
    uchConnectEpToNode(), connecting EP VoIP 0 to node 0
    cordless_start_rtp(), chan:0 remote ip:(null) port:0 local:16392 rx:1 ipt:0 ptime:0
    Starting Rx only RTP.
    Socket 19 bound to port 16392.
    Remote IP/port: 0.0.0.0:0
    Codec list from SDP (internal pt):Codec list from SDP (internal pt): 130 130 18 18 0 0 8 8 134 134 136 136
    Rx payload list: Rx payload list:  G.726/8000(2) G.726/8000(2) G.729/8000(18) G.729/8000(18) PCMU/8000(0) PCMU/8000(0) PCMA/8000(8) PCMA/8000(8) NSE/8000(100) NSE/8000(100) encaprtp/8000(112) encaprtp/8000(112)
    set RTP_SESSION_OPT_DTMF
    uchEnableEchoCan(), lid 0 EP 2 enable
    RTP configuration:
      audio_mode RTP_MODE_REC_ONLY, media_loop_level RTP_LOOP_LEVEL_NONE, dtmf2833numEndPakcets 3, opts 0x0
      Codec: duration 0, rx_pt_event 101, tx_pt_event -1, tx_pt 0
             rx[0] 2 G.726/8000, rx[1] 18 G.729/8000, rx[2] 0 PCMU/8000
             rx[3] 8 PCMA/8000, rx[4] 100 NSE/8000, rx[5] 112 encaprtp/8000
      Jib: max 180ms, min 60ms, adapt 1
    RTP Channel 0 is virgin: 1.
    RTP session 0 started
    uchSetDTMFMute(), ENABLE
    [AUD]RTP Rx Up
    [rse_refresh_addr_list] query voip-asia.brahmakumaris.org block 0
    [0]->31.6.78.124:5060(910)
    [0]->31.6.78.124:5060(910)
    INVITE sip:[email protected] SIP/2.0
    Via: SIP/2.0/UDP 192.168.1.41:5060;branch=z9hG4bK-11d04ccf
    From: "Brahma Kumari Canberra" [email protected]>;tag=b99a4fb8adee114eo0
    To: [email protected]>
    Call-ID: [email protected]
    CSeq: 101 INVITE
    Max-Forwards: 70
    Contact: "Brahma Kumari Canberra"
    Expires: 240
    User-Agent: Cisco/SPA112-1.0.2(006)
    Content-Length: 331
    Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER
    Supported: replaces
    Content-Type: application/sdp
    v=0
    o=- 109351 109351 IN IP4 192.168.1.41
    s=-
    c=IN IP4 192.168.1.41
    t=0 0
    m=audio 16392 RTP/AVP 2 18 0 8 100 101
    a=rtpmap:2 G726-32/8000
    a=rtpmap:18 G729a/8000
    a=rtpmap:0 PCMU/8000
    a=rtpmap:8 PCMA/8000
    a=rtpmap:100 NSE/8000
    a=fmtp:100 192-193
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-15
    a=ptime:30
    a=sendrecv
    [0]->31.6.78.124:5060(910)
    [0]->31.6.78.124:5060(910)
    INVITE sip:[email protected] SIP/2.0
    Via: SIP/2.0/UDP 192.168.1.41:5060;branch=z9hG4bK-11d04ccf
    From: "Brahma Kumari Canberra" [email protected]>;tag=b99a4fb8adee114eo0
    To: [email protected]>
    Call-ID: [email protected]
    CSeq: 101 INVITE
    Max-Forwards: 70
    Contact: "Brahma Kumari Canberra"
    Expires: 240
    User-Agent: Cisco/SPA112-1.0.2(006)
    Content-Length: 331
    Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER
    Supported: replaces
    Content-Type: application/sdp
    v=0
    o=- 109351 109351 IN IP4 192.168.1.41
    s=-
    c=IN IP4 192.168.1.41
    t=0 0
    m=audio 16392 RTP/AVP 2 18 0 8 100 101
    a=rtpmap:2 G726-32/8000
    a=rtpmap:18 G729a/8000
    a=rtpmap:0 PCMU/8000
    a=rtpmap:8 PCMA/8000
    a=rtpmap:100 NSE/8000
    a=fmtp:100 192-193
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-15
    a=ptime:30
    a=sendrecv
    [0]->31.6.78.124:5060(910)
    [0]->31.6.78.124:5060(910)
    INVITE sip:[email protected] SIP/2.0
    Via: SIP/2.0/UDP 192.168.1.41:5060;branch=z9hG4bK-11d04ccf
    From: "Brahma Kumari Canberra" [email protected]>;tag=b99a4fb8adee114eo0
    To: [email protected]>
    Call-ID: [email protected]
    CSeq: 101 INVITE
    Max-Forwards: 70
    Contact: "Brahma Kumari Canberra"
    Expires: 240
    User-Agent: Cisco/SPA112-1.0.2(006)
    Content-Length: 331
    Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER
    Supported: replaces
    Content-Type: application/sdp
    v=0
    o=- 109351 109351 IN IP4 192.168.1.41
    s=-
    c=IN IP4 192.168.1.41
    t=0 0
    m=audio 16392 RTP/AVP 2 18 0 8 100 101
    a=rtpmap:2 G726-32/8000
    a=rtpmap:18 G729a/8000
    a=rtpmap:0 PCMU/8000
    a=rtpmap:8 PCMA/8000
    a=rtpmap:100 NSE/8000
    a=fmtp:100 192-193
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-15
    a=ptime:30
    a=sendrecv
    [0]<<31.6.78.124:5060(549)
    [0]<<31.6.78.124:5060(549)
    SIP/2.0 407 Proxy Authentication Required
    Via: SIP/2.0/UDP 192.168.1.41:5060;branch=z9hG4bK-11d04ccf;received=60.240.77.7
    From: "Brahma Kumari Canberra" [email protected]>;tag=b99a4fb8adee114eo0
    To: [email protected]>;tag=as7d844705
    Call-ID: [email protected]
    CSeq: 101 INVITE
    User-Agent: Asterisk PBX
    Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
    Supported: replaces
    Proxy-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="458c760d"
    Content-Length: 0
    [0]->31.6.78.124:5060(457)
    [0]->31.6.78.124:5060(457)
    ACK sip:[email protected] SIP/2.0
    Via: SIP/2.0/UDP 192.168.1.41:5060;branch=z9hG4bK-11d04ccf
    From: "Brahma Kumari Canberra" [email protected]>;tag=b99a4fb8adee114eo0
    To: [email protected]>;tag=as7d844705
    Call-ID: [email protected]
    CSeq: 101 ACK
    Max-Forwards: 70
    Contact: "Brahma Kumari Canberra"
    User-Agent: Cisco/SPA112-1.0.2(006)
    Content-Length: 0
    [0]->31.6.78.124:5060(1089)
    [0]->31.6.78.124:5060(1089)
    INVITE sip:[email protected] SIP/2.0
    Via: SIP/2.0/UDP 192.168.1.41:5060;branch=z9hG4bK-2f9add97
    From: "Brahma Kumari Canberra" [email protected]>;tag=b99a4fb8adee114eo0
    To: [email protected]>
    Call-ID: [email protected]
    CSeq: 102 INVITE
    Max-Forwards: 70
    Proxy-Authorization: Digest username="6010",realm="asterisk",nonce="458c760d",uri="sip:[email protected]",algorithm=MD5,response="080626f0d87dbcd5b124b72491369bcb"
    Contact: "Brahma Kumari Canberra"
    Expires: 240
    User-Agent: Cisco/SPA112-1.0.2(006)
    Content-Length: 331
    Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER
    Supported: replaces
    Content-Type: application/sdp
    v=0
    o=- 109351 109351 IN IP4 192.168.1.41
    s=-
    c=IN IP4 192.168.1.41
    t=0 0
    m=audio 16392 RTP/AVP 2 18 0 8 100 101
    a=rtpmap:2 G726-32/8000
    a=rtpmap:18 G729a/8000
    a=rtpmap:0 PCMU/8000
    a=rtpmap:8 PCMA/8000
    a=rtpmap:100 NSE/8000
    a=fmtp:100 192-193
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-15
    a=ptime:30
    a=sendrecv
    [0]->31.6.78.124:5060(1089)
    [0]->31.6.78.124:5060(1089)
    INVITE sip:[email protected] SIP/2.0
    Via: SIP/2.0/UDP 192.168.1.41:5060;branch=z9hG4bK-2f9add97
    From: "Brahma Kumari Canberra" [email protected]>;tag=b99a4fb8adee114eo0
    To: [email protected]>
    Call-ID: [email protected]
    CSeq: 102 INVITE
    Max-Forwards: 70
    Proxy-Authorization: Digest username="6010",realm="asterisk",nonce="458c760d",uri="sip:[email protected]",algorithm=MD5,response="080626f0d87dbcd5b124b72491369bcb"
    Contact: "Brahma Kumari Canberra"
    Expires: 240
    User-Agent: Cisco/SPA112-1.0.2(006)
    Content-Length: 331
    Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER
    Supported: replaces
    Content-Type: application/sdp
    v=0
    o=- 109351 109351 IN IP4 192.168.1.41
    s=-
    c=IN IP4 192.168.1.41
    t=0 0
    m=audio 16392 RTP/AVP 2 18 0 8 100 101
    a=rtpmap:2 G726-32/8000
    a=rtpmap:18 G729a/8000
    a=rtpmap:0 PCMU/8000
    a=rtpmap:8 PCMA/8000
    a=rtpmap:100 NSE/8000
    a=fmtp:100 192-193
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-15
    a=ptime:30
    a=sendrecv
    [0]->31.6.78.124:5060(1089)
    [0]->31.6.78.124:5060(1089)
    INVITE sip:[email protected] SIP/2.0
    Via: SIP/2.0/UDP 192.168.1.41:5060;branch=z9hG4bK-2f9add97
    From: "Brahma Kumari Canberra" [email protected]>;tag=b99a4fb8adee114eo0
    To: [email protected]>
    Call-ID: [email protected]
    CSeq: 102 INVITE
    Max-Forwards: 70
    Proxy-Authorization: Digest username="6010",realm="asterisk",nonce="458c760d",uri="sip:[email protected]",algorithm=MD5,response="080626f0d87dbcd5b124b72491369bcb"
    Contact: "Brahma Kumari Canberra"
    Expires: 240
    User-Agent: Cisco/SPA112-1.0.2(006)
    Content-Length: 331
    Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER
    Supported: replaces
    Content-Type: application/sdp
    v=0
    o=- 109351 109351 IN IP4 192.168.1.41
    s=-
    c=IN IP4 192.168.1.41
    t=0 0
    m=audio 16392 RTP/AVP 2 18 0 8 100 101
    a=rtpmap:2 G726-32/8000
    a=rtpmap:18 G729a/8000
    a=rtpmap:0 PCMU/8000
    a=rtpmap:8 PCMA/8000
    a=rtpmap:100 NSE/8000
    a=fmtp:100 192-193
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-15
    a=ptime:30
    a=sendrecv
    [0]<<31.6.78.124:5060(471)
    [0]<<31.6.78.124:5060(471)
    SIP/2.0 100 Trying
    Via: SIP/2.0/UDP 192.168.1.41:5060;branch=z9hG4bK-2f9add97;received=60.240.77.7
    From: "Brahma Kumari Canberra" [email protected]>;tag=b99a4fb8adee114eo0
    To: [email protected]>
    Call-ID: [email protected]
    CSeq: 102 INVITE
    User-Agent: Asterisk PBX
    Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
    Supported: replaces
    Contact:
    Content-Length: 0
    [0]<<31.6.78.124:5060(471)
    [0]<<31.6.78.124:5060(471)
    SIP/2.0 100 Trying
    Via: SIP/2.0/UDP 192.168.1.41:5060;branch=z9hG4bK-2f9add97;received=60.240.77.7
    From: "Brahma Kumari Canberra" [email protected]>;tag=b99a4fb8adee114eo0
    To: [email protected]>
    Call-ID: [email protected]
    CSeq: 102 INVITE
    User-Agent: Asterisk PBX
    Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
    Supported: replaces
    Contact:
    Content-Length: 0
    [0]<<31.6.78.124:5060(471)
    [0]<<31.6.78.124:5060(471)
    SIP/2.0 100 Trying
    Via: SIP/2.0/UDP 192.168.1.41:5060;branch=z9hG4bK-2f9add97;received=60.240.77.7
    From: "Brahma Kumari Canberra" [email protected]>;tag=b99a4fb8adee114eo0
    To: [email protected]>
    Call-ID: [email protected]
    CSeq: 102 INVITE
    User-Agent: Asterisk PBX
    Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
    Supported: replaces
    Contact:
    Content-Length: 0
    [0]<<31.6.78.124:5060(789)
    [0]<<31.6.78.124:5060(789)
    SIP/2.0 183 Session Progress
    Via: SIP/2.0/UDP 192.168.1.41:5060;branch=z9hG4bK-2f9add97;received=60.240.77.7
    From: "Brahma Kumari Canberra" [email protected]>;tag=b99a4fb8adee114eo0
    To: [email protected]>;tag=as54d5f390
    Call-ID: [email protected]
    CSeq: 102 INVITE
    User-Agent: Asterisk PBX
    Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
    Supported: replaces
    Contact:
    Content-Type: application/sdp
    Content-Length: 260
    v=0
    o=root 2809 2809 IN IP4 31.6.78.124
    s=session
    c=IN IP4 31.6.78.124
    t=0 0
    m=audio 12518 RTP/AVP 0 8 101
    a=rtpmap:0 PCMU/8000
    a=rtpmap:8 PCMA/8000
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-16
    a=silenceSupp:off - - - -
    a=ptime:20
    a=sendrecv
    [AUD]AUD_stopRtpTx(0x1ef7c0)
    cordless_stop_rtp_tx(), Channel 0.
    *** RTP channel not in Tx. Nothing to stop!
    *** RTP channel not in Tx. Nothing to stop!
    [AUD]RTP Tx Down
    [AUD]AUD_startRtpTx(0x1ef7c0, 0, 31.6.78.124, 12518, 20)
    Local loopback mode: None. Type: None.
    Remote loopback mode: None. Type None.
    UCH sync parameter hold off time is 70
    Already has a RTP channel.
    Already has a RTP channel.
    uchConnectEpToNode(), connecting EP VoIP 0 to node 0
    cordless_start_rtp(), chan:0 remote ip:31.6.78.124 port:12518 local:16392 rx:0 ipt:0 ptime:20
    Going from Rx only to bi-directional.
    Old remote IP/port: 0.0.0.0:0
    Remote IP/port: 31.6.78.124:12518
    Codec list from SDP (internal pt):Codec list from SDP (internal pt): 130 130 18 18 0 0 8 8 134 134 136 136
    Rx payload list: Rx payload list:  G.726/8000(2) G.726/8000(2) G.729/8000(18) G.729/8000(18) PCMU/8000(0) PCMU/8000(0) PCMA/8000(8) PCMA/8000(8) NSE/8000(100) NSE/8000(100) encaprtp/8000(112) encaprtp/8000(112)
    set RTP_SESSION_OPT_DTMF
    uchEnableEchoCan(), lid 0 EP 2 enable
    RTP configuration:
      audio_mode RTP_MODE_ACTIVE, media_loop_level RTP_LOOP_LEVEL_NONE, dtmf2833numEndPakcets 3, opts 0x0
      Codec: duration 20, rx_pt_event 101, tx_pt_event 101, tx_pt 0
             rx[0] 2 G.726/8000, rx[1] 18 G.729/8000, rx[2] 0 PCMU/8000
             rx[3] 8 PCMA/8000, rx[4] 100 NSE/8000, rx[5] 112 encaprtp/8000
      Jib: max 180ms, min 60ms, adapt 1
    RTP Channel 0 is virgin: 0.
    Need to stop RTP session then restart.
    RTP session 0 started
    uchSetDTMFMute(), ENABLE
    [AUD]RTP Tx Up
    [AUD]AUD_startRtcpTx(0x1ef7c0)
    cordless_start_rtcp(), chan:0 remote ip:31.6.78.124 port:12519 intvl:0
    Socket 26 bound to RTCP port 16393.
    CNAME [email protected]
    NAME "Brahma Kumari Canberra"
    TOOL Cisco/SPA112-1.0.2(006)
    Starting RTCP session on channel 0. Interval 0. Rx only.
    RTCP session started on RTP channel 0.
    [AUD]RTCP Up
    CC_eventProc(), event: CC_EV_SIG_CALL_PROGRESS(0x35), lid: 0, par: 3, par2: (nil)
    AUD_ccEventProc: event 53 vid 0 par 0x3 par2 0x0
    callEventProcTable[3] is cepCallingProc
    cepCallingProc(line=0x1c6528, call=0x1c652c, event=53(CC_EV_SIG_CALL_PROGRESS), par=3, par2=(nil))
    CC:CallProgress
    NEW_CALL_STATE(), call 0: old state = 3, new state 4
    SLIC_stopRing
    SLIC_stopRing
    SLIC_stopTone
    [AUD]AUD_startRtpRx(0x1ef7c0)
    Local loopback mode: None. Type: None.
    Remote loopback mode: None. Type None.
    UCH sync parameter hold off time is 70
    Already has a RTP channel.
    Already has a RTP channel.
    uchConnectEpToNode(), connecting EP VoIP 0 to node 0
    cordless_start_rtp(), chan:0 remote ip:(null) port:0 local:16392 rx:1 ipt:0 ptime:0
    Going from Tx only to bi-directional.
    Remote IP/port: 31.6.78.124:12518
    Codec list from SDP (internal pt):Codec list from SDP (internal pt): 130 130 18 18 0 0 8 8 134 134 136 136
    Rx payload list: Rx payload list:  G.726/8000(2) G.726/8000(2) G.729/8000(18) G.729/8000(18) PCMU/8000(0) PCMU/8000(0) PCMA/8000(8) PCMA/8000(8) NSE/8000(100) NSE/8000(100) encaprtp/8000(112) encaprtp/8000(112)
    set RTP_SESSION_OPT_DTMF
    uchEnableEchoCan(), lid 0 EP 2 enable
    RTP configuration:
      audio_mode RTP_MODE_ACTIVE, media_loop_level RTP_LOOP_LEVEL_NONE, dtmf2833numEndPakcets 3, opts 0x0
      Codec: duration 20, rx_pt_event 101, tx_pt_event 101, tx_pt 0
             rx[0] 2 G.726/8000, rx[1] 18 G.729/8000, rx[2] 0 PCMU/8000
             rx[3] 8 PCMA/8000, rx[4] 100 NSE/8000, rx[5] 112 encaprtp/8000
      Jib: max 180ms, min 60ms, adapt 1
    RTP Channel 0 is virgin: 0.
    Going from Tx to bi-dir just need updating.
    RTP session 0 updated
    uchSetDTMFMute(), ENABLE
    [AUD]RTP Rx Up
    [0]On Hook
    CC_eventProc(), event: CC_EV_USR_ONHOOK(0x1), lid: 0, par: 0, par2: (nil)
    AUD_ccEventProc: event 1 vid 0 par 0x0 par2 0x0
    sysstatus_set_led_status_payton(), led_id: 1, statusCode:1, systemEvent: 0x100093
    callEventProcTable[4] is cepCallingProc
    cepCallingProc(line=0x1c6528, call=0x1c652c, event=1(CC_EV_USR_ONHOOK), par=0, par2=(nil))
    callEventProcTable[0] is cepIdleProc
    cepIdleProc(line=0x1c6528, call=0x1c6734, event=1(CC_EV_USR_ONHOOK), par=0, par2=(nil))
    cepIdleProc(), lid=0
    callEventProcTable[4] is cepCallingProc
    cepCallingProc(line=0x1c6528, call=0x1c652c, event=10(CC_EV_USR_ENDCALL), par=0, par2=(nil))
    NEW_CALL_STATE(), call 0: old state = 4, new state 0
    SLIC_stopRing
    SLIC_stopTone
    SIP_lineCcCmdProc(), cmd=CC_CMD_ENDCALL
    Requesting call statistics...
    RTP TX stats updated for channel 0
    RTP TX stats updated for channel 0
    RTP RX stats updated for channel 0
    RTP RX stats updated for channel 0
    Call statistics updated.
    AUD_releaseCallObj() call(0x1ef7c0)
    [AUD]AUD_stopRtpTx(0x1ef7c0)
    cordless_stop_rtp_tx(), Channel 0.
    RTP channel 0 going from Bi-dir to Rx.
    RTP configuration:
      audio_mode RTP_MODE_REC_ONLY, media_loop_level RTP_LOOP_LEVEL_NONE, dtmf2833numEndPakcets 3, opts 0x0
      Codec: duration 20, rx_pt_event 101, tx_pt_event 101, tx_pt 0
             rx[0] 0 G.726/8000, rx[1] 18 G.729/8000, rx[2] 0 PCMU/8000
             rx[3] 8 PCMA/8000, rx[4] 100 NSE/8000, rx[5] 112 encaprtp/8000
      Jib: max 180ms, min 60ms, adapt 1
    RTP channel 0 is now Rx.
    [AUD]RTP Tx Down
    [AUD]AUD_stopRtpRx(0x1ef7c0)
    cordless_stop_rtp_rx(), Channel 0.
    RTP channel 0 going from Rx to Idle.
    RTP configuration:
      audio_mode RTP_MODE_INACTIVE, media_loop_level RTP_LOOP_LEVEL_NONE, dtmf2833numEndPakcets 3, opts 0x0
      Codec: duration 20, rx_pt_event 101, tx_pt_event 101, tx_pt 0
             rx[0] 0 G.726/8000, rx[1] 18 G.729/8000, rx[2] 0 PCMU/8000
             rx[3] 8 PCMA/8000, rx[4] 100 NSE/8000, rx[5] 112 encaprtp/8000
      Jib: max 180ms, min 60ms, adapt 1
    RTP channel 0 is now Idle.
    [AUD]RTP Down
    [AUD]AUD_releaseRtp(0x1ef7c0)
    cordless_stop_rtp(), releasing RTP channel:0
    cordless_stop_rtp(), RTP session 0 stopped succussfully
    uchDisconnectEpFromNode(), disconnecting EP VoIP 0 from node 0
    [AUD]RTP channel released
    [0:0]AUD Rel Call
    [AUD]Release UCH node for AUD_LINE 0.
    uchDisableNode(), Node 0 released
    [AUD]UCH node 0 freed.
    [0]->31.6.78.124:5060(563)
    [0]->31.6.78.124:5060(563)
    CANCEL sip:[email protected] SIP/2.0
    Via: SIP/2.0/UDP 192.168.1.41:5060;branch=z9hG4bK-2f9add97
    From: "Brahma Kumari Canberra" [email protected]>;tag=b99a4fb8adee114eo0
    To: [email protected]>
    Call-ID: [email protected]
    CSeq: 102 CANCEL
    Max-Forwards: 70
    Proxy-Authorization: Digest username="6010",realm="asterisk",nonce="458c760d",uri="sip:[email protected]",algorithm=MD5,response="9e73603bd3ec65e6abc330572f446d0d"
    User-Agent: Cisco/SPA112-1.0.2(006)
    Content-Length: 0
    Set QoS succeed
    [0]->31.6.78.124:5060(563)
    [0]->31.6.78.124:5060(563)
    CANCEL sip:[email protected] SIP/2.0
    Via: SIP/2.0/UDP 192.168.1.41:5060;branch=z9hG4bK-2f9add97
    From: "Brahma Kumari Canberra" [email protected]>;tag=b99a4fb8adee114eo0
    To: [email protected]>
    Call-ID: [email protected]
    CSeq: 102 CANCEL
    Max-Forwards: 70
    Proxy-Authorization: Digest username="6010",realm="asterisk",nonce="458c760d",uri="sip:[email protected]",algorithm=MD5,response="9e73603bd3ec65e6abc330572f446d0d"
    User-Agent: Cisco/SPA112-1.0.2(006)
    Content-Length: 0
    [0]->31.6.78.124:5060(563)
    [0]->31.6.78.124:5060(563)
    CANCEL sip:[email protected] SIP/2.0
    Via: SIP/2.0/UDP 192.168.1.41:5060;branch=z9hG4bK-2f9add97
    From: "Brahma Kumari Canberra" [email protected]>;tag=b99a4fb8adee114eo0
    To: [email protected]>
    Call-ID: [email protected]
    CSeq: 102 CANCEL
    Max-Forwards: 70
    Proxy-Authorization: Digest username="6010",realm="asterisk",nonce="458c760d",uri="sip:[email protected]",algorithm=MD5,response="9e73603bd3ec65e6abc330572f446d0d"
    User-Agent: Cisco/SPA112-1.0.2(006)
    Content-Length: 0
    [0]<<31.6.78.124:5060(460)
    [0]<<31.6.78.124:5060(460)
    SIP/2.0 487 Request Terminated
    Via: SIP/2.0/UDP 192.168.1.41:5060;branch=z9hG4bK-2f9add97;received=60.240.77.7
    From: "Brahma Kumari Canberra" [email protected]>;tag=b99a4fb8adee114eo0
    To: [email protected]>;tag=as54d5f390
    Call-ID: [email protected]
    CSeq: 102 INVITE
    User-Agent: Asterisk PBX
    Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
    Supported: replaces
    Content-Length: 0
    [0]->31.6.78.124:5060(636)
    [0]->31.6.78.124:5060(636)
    ACK sip:[email protected] SIP/2.0
    Via: SIP/2.0/UDP 192.168.1.41:5060;branch=z9hG4bK-2f9add97
    From: "Brahma Kumari Canberra" [email protected]>;tag=b99a4fb8adee114eo0
    To: [email protected]>;tag=as54d5f390
    Call-ID: [email protected]
    CSeq: 102 ACK
    Max-Forwards: 70
    Proxy-Authorization: Digest username="60

  • XML,CLOB  AND MEMORY : CONSUMED BUT NOT RELEASED !!!

    Hi,
    I'm working with XMLGEN Package and XSLT Processor to produce XML Document on Oracle 8.1.7.3 server, I use 9i XML and Java packages.
    I'm facing the following BIG MEMORY problem :
    Environment : I must generate an XML parsed with an XSL document of 80Mo (nearly 22 000 rows),
    as XMLGEN is on DOM parsing method, I extract my XML by 500 Rows and I loop until 22 000 rows. I use DBMS_JOB with jobs who read and execute export each minute.
    The algorithme is :
    keeprow=22000
    while keeprow>0
    Create 3 clob (DBMS_LOB Package) : one for XSL Sheet, one for XML and one for result
    GetXML (XMLGEN Package)
    Transform in XSL (XSL Processor)
    Write to disk (UTL_FILE Package)
    Free the 3 Clob ((DBMS_LOB Package))
    keeprow =keeprow-500
    loop
    The problem : The process start at 250Mo ot total memory and END at 1000 Mo of used memory and NEVER RELEASE 1 ko of memory.
    So often I get a JavaOutOfMemoryError (I've allocated 1Go Ram to my JAVA process).
    Any help will be very very appreciated !
    My derived problem is 22 000 rows is not enough I've some export of 200 000 rows to do (And I cannot allocate 10 Go of RAM !!!)
    Following My PL/SQL Code.
    Regards
    Fred
         PROCEDURE DO_EXPORT_XML(
                   P_JOB_ID JOB_PARAMETRE.JOB_ID%TYPE,
                   P_JOB_ID_ORDRE JOB_PARAMETRE.JOB_ID_ORDRE%TYPE,
                   P_CLE_UP UPLOADREQ_TEMP.ID%TYPE,
                   P_LOAD_OR_DELOAD VARCHAR2)
              IS
              L_FILE_NAME JOB_PARAMETRE.JOB_FILE_NAME_DEST%TYPE;
              L_REP_NAME JOB_PARAMETRE.JOB_REP_NAME_DEST%TYPE;
              L_FILE_STYLESHEET JOB_PARAMETRE.JOB_STYLESHEET%TYPE;
              L_VERSION_PDM JOB_PARAMETRE.JOB_VPDM%TYPE;
              P_SELECT varchar2(4000):='';
              P_CURSOR varchar2(4000):='';
         l_filehandler_out UTL_FILE.FILE_TYPE;
              --Variable pour le traitement par lot de 500
              L_NBROW_TODO_ATONCE number := 500;
              L_NBROW_MIN number := 1;
              L_NBROW_MAX number := -1;
              L_NBROWKEEPTODO number := -1;
              xslString CLOB := null;
              res number default -1;
              xmlString CLOB := null;
              li_ret number := 0;
              li_faitle number := 0;
              amount integer:= 255;
              li_loop integer := 0;
              charString varchar2(255);
              ls_deload varchar2(255) default '';
              ls_SQL varchar2(4000) default '';
              ls_temp_file varchar2(255) default '';
              text_file_dir varchar2(32) := 'e:\temporarydir';
              l_par xmlparser.parser;
         l_xml xmldom.domdocument;
         l_pro xslprocessor.processor;
         l_xsl xslprocessor.stylesheet;
              docfragnode xmldom.DOMNode;
              docfrag xmldom.DOMDocumentFragment;
              l_parsedclob clob := null;
              l_amount binary_integer := 32767;
              l_ligne varchar2(32767);
              l_offset number default 1;
              l_pos number default null;
              l_pos2 number default null;
              l_lobsize number default null;
              l_memsize number default 1073741824; --1024 Mo
              l_mempipo number default 0;
              type rc is ref cursor;
              l_cursor rc;
              cursor TEMPLATE is select UNSPSC,1 as NB from UPLOADREQ_TEMP where 1=2;
              c1rec TEMPLATE%rowtype;          
              BEGIN
              l_mempipo:=setmaxmemorysize(l_memsize);
              dbms_lob.createtemporary(l_parsedclob, true, dbms_lob.session);
              dbms_lob.createtemporary(xmlstring, true, dbms_lob.session);
              --return the good select
              GET_SELECT_TO_EXPORT_XML(P_JOB_ID , P_JOB_ID_ORDRE , P_CLE_UP , P_SELECT,P_CURSOR, P_LOAD_OR_DELOAD);
                        SELECT JOB_FILE_NAME_DEST,JOB_REP_NAME_DEST,JOB_STYLESHEET
                        INTO L_FILE_NAME,L_REP_NAME,L_FILE_STYLESHEET
                        FROM JOB_PARAMETRE
                        WHERE JOB_ID =P_JOB_ID AND JOB_ID_ORDRE=P_JOB_ID_ORDRE;
                        l_filehandler_out := UTL_FILE.FOPEN(text_file_dir, L_FILE_NAME, 'w',l_amount);
                        --Return XSL Sheet in a clob : cause of memory consumed  but not released
                   xslString := METACAT.load_a_file( 1,L_FILE_STYLESHEET);     
                        open l_cursor for P_CURSOR;
    LOOP
                   fetch l_cursor into c1rec;
                   exit when l_cursor%notfound;
                             L_NBROW_MIN := 1;
                             L_NBROW_MAX := 0;
                             L_NBROWKEEPTODO:=c1rec.NB;
                             LOOP
                             begin
                                  if(L_NBROWKEEPTODO > L_NBROW_TODO_ATONCE) THEN
                                       begin
                                       L_NBROW_MAX:= L_NBROW_TODO_ATONCE + L_NBROW_MAX;
                                       L_NBROWKEEPTODO:= L_NBROWKEEPTODO - L_NBROW_TODO_ATONCE;
                                       end;
                                  else
                                       begin
                                       L_NBROW_MAX:= L_NBROW_MAX + L_NBROWKEEPTODO;
                                       L_NBROWKEEPTODO:=0;
                                       end;
                                  end if;
                                  --on ouvre le fichier de risultats
                                  ls_SQL:= P_SELECT || ' AND ( ROWNUM BETWEEN ' || L_NBROW_MIN || ' AND ' || L_NBROW_MAX || ' ) and UNSPSC=''' || c1rec.UNSPSC || '''';
                                  ls_temp_file := c1rec.UNSPSC || '_' || L_FILE_NAME;
                                  L_NBROW_MIN:=L_NBROW_TODO_ATONCE + L_NBROW_MIN;
                                  --CAT_AUTOLOAD.JOB_ADD_TRACE (P_JOB_ID,'UPLOAD REQUISITE : Export donnies REQUETE ' || to_char(li_loop), ls_SQL,'',0,0);
                                  xmlgen.resetOptions;
                                  xmlgen.setErrorTag('ERROR_RESULT');
                                  xmlgen.setRowIdAttrName('NAH');
                                  xmlgen.setRowIdColumn('NAH');
                                  xmlgen.setEncodingTag('ISO-8859-1');
                                  xmlgen.useNullAttributeIndicator(false);
                                  if(xmlString is not null) then
                                       dbms_lob.open(xmlString,dbms_lob.lob_readwrite);
                                       l_lobsize:= dbms_lob.Getlength(xmlString);
                                       if(l_lobsize>0) then
                                       dbms_lob.erase(xmlString,l_lobsize,1);
                                       end if;
                                       dbms_lob.close(xmlString);
                                  dbms_lob.freetemporary(xmlString);
                                       dbms_lob.createtemporary(xmlstring, true, dbms_lob.session);
                                  end if;
    --Return XML in a clob : cause of memory consumed  but not released
                                  xmlString := xmlgen.getXML(ls_SQL,0);
                                  l_par := xmlparser.newparser;
                                  xmlparser.parseclob(l_par, xslString);
                                  l_xsl := xslprocessor.newstylesheet(xmlparser.getdocument(l_par),null);
                                  xmlparser.parseclob(l_par, xmlString);
                                  l_xml := xmlparser.getdocument(l_par);
                                  l_pro := xslprocessor.newprocessor;
                                       xslprocessor.showWarnings(l_pro, true);
                                       xslprocessor.setErrorLog(l_pro, text_file_dir || substr(ls_temp_file,0,length(ls_temp_file)-4) || '_logerreur.XML');
                                       if(l_parsedclob is not null) then
                                                 dbms_lob.open(l_parsedclob,dbms_lob.lob_readwrite);
                                                 l_lobsize:= dbms_lob.Getlength(l_parsedclob);
                                                 if(l_lobsize>0) then
                                                 dbms_lob.erase(l_parsedclob,l_lobsize,1);
                                                 end if;
                                                 dbms_lob.close(l_parsedclob);
                                            dbms_lob.freetemporary(l_parsedclob);
                                                 dbms_lob.createtemporary(l_parsedclob, true, dbms_lob.session);
                                       end if;
                        --Return XML Processed with XSL in a clob : cause of memory consumed  but not released
                                  xslprocessor.processxsl(l_pro,l_xsl,l_xml,l_parsedclob);
                                       --release NOTHING
                                  xmlparser.freeparser(l_par);
                                  xslprocessor.freeprocessor(l_pro);
                                                      l_ligne:='';
                                                      l_offset :=1;
                                                      l_pos := null;
                                                      l_pos2 := null;
                                                      if(li_loop=0) then
                                                           begin
                                                                --on ouvre le fichier et on sauve l'entete + les donnies dedans.
                                                                     l_pos:=dbms_lob.instr(l_parsedclob,'</DATA>');
                                                      if ( nvl(l_pos,0) > 0 ) then
                                                                          loop
                                                                          if(l_pos-1>l_amount + l_offset ) then
                                                                                    l_ligne:=dbms_lob.SUBSTR(l_parsedclob,l_amount,l_offset);
                                                                                    UTL_FILE.PUT(l_filehandler_out,l_ligne);
                                                                                    UTL_FILE.fflush(l_filehandler_out);
                                                                                    l_offset:=l_offset+l_amount;
                                                                               else
                                                                                    l_ligne:=dbms_lob.SUBSTR(l_parsedclob,l_pos-1 -l_offset ,l_offset);
                                                                                    UTL_FILE.PUT(l_filehandler_out,l_ligne);
                                                                                    UTL_FILE.fflush(l_filehandler_out);
                                                                                    exit;
                                                                               end if;
                                                                          end loop;
                                                                     else
                                                                          EXIT;
                                                                     end if;
                                                           end;
                                                      else
                                                           --on met les donnies donc on ne repete pas le debut
                                                           begin
                                                                     l_pos:=dbms_lob.instr(l_parsedclob,'<ITEM');
                                                      if ( nvl(l_pos,0) > 0 ) then
                                                                     l_pos2:=dbms_lob.instr(l_parsedclob,'</DATA>');
                                                      if ( nvl(l_pos2,0) > 0 ) then
                                                                          loop
                                                                          if(l_pos + l_amount <= l_pos2 -1 ) then
                                                                                    l_ligne:=dbms_lob.SUBSTR(l_parsedclob,l_amount,l_pos);
                                                                                    UTL_FILE.PUT(l_filehandler_out,l_ligne);
                                                                                    UTL_FILE.fflush(l_filehandler_out);
                                                                                    l_pos:=l_pos +l_amount;
                                                                               else
                                                                                    l_ligne:=dbms_lob.SUBSTR(l_parsedclob,l_pos2 -1 -l_pos,l_pos);
                                                                                    UTL_FILE.PUT(l_filehandler_out,l_ligne);
                                                                                    UTL_FILE.fflush(l_filehandler_out);
                                                                                    exit;
                                                                               end if;
                                                                          end loop;
                                                                          else
                                                                          exit;                                                                      
                                                                          end if;
                                                                     end if;
                                                           end;
                                                      end if;
                                                 li_loop:=li_loop + 1 ;
                                                 --UTL_FILE.FCLOSE(l_filehandler_in);
                                                 JAVA_GC();
                                                 EXIT WHEN L_NBROWKEEPTODO=0;
                                                 Exception
                                                 when others then
                                                      begin
                                                      -- IF(utl_file.is_open(l_filehandler_in)) THEN
                                                      --               utl_file.fclose( l_filehandler_in);
                                                      -- END IF;
                                                      IF(utl_file.is_open(l_filehandler_out)) THEN
                                                                     utl_file.fclose( l_filehandler_out);
                                                      END IF;
                                                      RAISE_APPLICATION_ERROR(-20001,'File with errors');
                                                      end;
                             END;
                             END LOOP;
    END LOOP;
    CLOSE l_cursor;
                        if ( xmlString is not null ) then
                                  dbms_lob.open(xmlString,dbms_lob.lob_readwrite);
                                  l_lobsize:= dbms_lob.Getlength(xmlString);
                                  if(l_lobsize>0) then
                                  dbms_lob.erase(xmlString,l_lobsize,1);
                                  end if;
                                  dbms_lob.close(xmlString);
                                  dbms_lob.freeTemporary( xmlString);
                        end if;
                        if(l_parsedclob is not null) then
                                  dbms_lob.open(l_parsedclob,dbms_lob.lob_readwrite);
                                  l_lobsize:= dbms_lob.Getlength(l_parsedclob);
                                  if(l_lobsize>0) then
                                       dbms_lob.erase(l_parsedclob,l_lobsize,1);
                                  end if;
                                  dbms_lob.close(l_parsedclob);
                                  dbms_lob.freetemporary(l_parsedclob);
                        end if;
                        UTL_FILE.NEW_LINE(l_filehandler_out);
                        l_ligne:='</DATA></CATALOG>';
                        UTL_FILE.PUT(l_filehandler_out,l_ligne);
                        UTL_FILE.FCLOSE(l_filehandler_out);                    
                   EXCEPTION
                   when others then
                             begin
                             IF(utl_file.is_open(l_filehandler_out)) THEN
                                       utl_file.fclose( l_filehandler_out);
                                  END IF;
                             end;     
              END;
    ******************************

    Thank you for the info - I had no idea I was puing myself in danger by cutting it so close.  Since your post I have moved my iphoto library to an external drive and now have 165 GB of space on my HD.  Following this I have 2 questions.
    1.  Since my available HD space was reduced by the size of the photo download it seems logical that the download is somewhere on my HD still.  Is there a place where these photos might be hiding on my HD even though they are not available on the iphoto library?
    2.  I was able to recover the .jpg files which are fine.  I also recovered the .mov files but they have been compromised.  I am hoping I can find the originals still on the HD somewhere.  If not, do you have any suggestions for recovery methods or programs?  I have not used the SD card since the incident so I should be able to attempt another recovery to salvage the .mov files if there is an alternative method/program available.
    Thanks again!

  • Why is there no image just audio on videos saved on the computer from iOS 6 and 6.0.1?

    I use my iPhone for pics and vids a whole lot. Before switching iPhones I had over 1200 pics and over 150 vids on my iPhone 4.
    About 6 weeks ago I bought a 64GB 4s to be able to save even more pics and vids. Well this 4s was on the original iOS 6 already.
    I just updated to iOS 6.0.1 about an hour ago. I tried saving all my pics and vids before doing so. Pics are saved just fine but all of
    my vids aren't. When I play them back I only get the audio from it and a black screen. I've been saving my pics and vids like you
    would from a camera going through (My Computer) on my PC and saving them to a folder. All of my old videos still play through
    QuickTime which were recorded while using iOS 5 and iOS 4  I recently did an updated on on QT as well... so what's happening?
    Please help.
    Thanks

    But it's always worked and still works on all of my older videos.
    It has something to do with the new iOS 6 but I'll try your
    suggestion.
    Thanks

Maybe you are looking for

  • IPhoto book in OZ

    Hi there Could anyone tell me how to order iPhoto books in Australia ... At the moment I try to find Australia in the drop down window all I can see is lots of countries but NO Australia, so please help if you can Dr Leo from Melbourne seems to have

  • WebAS ABAP 7.1 ?

    We are a little confused about the WebAS 7.1 ABAP. We found this version in the service market place, but it says that it is only available for some add-ons. Does this mean WebAS 7.1 will be only available in a larger scope with e.g. PI 7.1 and not s

  • Fatal Error During Solution Center Install - "Key Not Valid for Specified State"

    I have encountered an error while trying to install HP Solution Center for my J6480 All-In-One.  The software I'm installing is "OJJ6400_Full_10.exe" I can get past the installation option selections (i.e., the screens that allow selection of which c

  • Cisco Phone Directory - Max 32 DirectoryEntry object

    Cisco SPA525G 3CX Ver 11 Windows 7 Pro IIS We are able to access the Corporate Phone directory from the Cisco phones. However, it lists only the first 32 phone contacts. Cisco documentations states: http://www.cisco.com/en/US/docs/voice_i ... #wp1033

  • Missing Effect In CS6?

    Was the pitchbend effect and presets removed in CS6? If so, is it a plug-in type effect I can copy over from my 3.0 install?