Tcl code for queue hold music file

Hi everyone,
I'm having a UC520 receiving ouside calls and based on the number dialed, calles are being put in different queues with different welcom message. But after the welcome message I need every queue to have its own hold music different to the other ones. Is there any way to do so?
Thanks,
Hfor
Sent from Cisco Technical Support iPhone App

Hey Paolo,
I just can't find the website you've mentioned in your profile. Took a look on all of your B-ACD/AA notes but didn't find the modified version of it.
Thanks

Similar Messages

  • How to write a code for  open new txt file in swing

    hai all,
    now i do one project in java.that project's GUI is Swing. But i don't known swing (basic).So how to write a code for open new txt file and "Open window " in menu item on swing.that means when i click the "New" on menu that time open a new txt file. open also like that type.
    plz give me that code ! very urgent
    Advance Thanks !
    RSK

    Swing Tutorial:
    http://java.sun.com/docs/books/tutorial/uiswing/index.html
    Since you don't know the basic of swing read the tutorial, it is for your own good because it is useless if we provide you with a code you don't even understand and how it works.
    If you want a menu read the tutorial about using menus and for opening a file read using JFileChooser.
    note: don't use the word urgent because it implies that your problem is more important than others.

  • Where is the procedure for uploading my music files to Cloud?

    Where is the procedure for uploading my music files to Cloud?  I have a portable hard drive that has all my burned songs on it, and I'm trying upload and match those songs for the first time.....

    There is no "procedure." When you sign up for iTunes Match, iTunes does all the work for you. But you must have the external HDD connected for it to work.
    Also, keep in mind that iTunes Match is not a streaming service. To play your music on your computer you'll still need to have the external HDD connected, unless you decide to delete all the music from your iTunes library.

  • Needed a code for Creating a Log File in java so that its size is limited

    Hi
    I need the code for developing a log file using threads so that the log file size is limited
    and if the size of the log file is increasing above 1Mb,another log file has to be created automatically and the log have to be printed into that new file.
    Thanks in advance

    package cms.web.log;
    import java.io.*;
    import java.util.Calendar;
    import cms.web.WebUser;
    *     Log is generated by JEditor 1.0.0
    *     @Project      : cms
    *     @Version      : 1.0.0
    *     @Created date : 11:07:40  PM Thursday, 25/07/2002
    *     @Author       :
    *     @Organization :
    *     @Copyright    : (c) 2002
    *     An utility class used to write information, especially error messages, to
    *     log file so that they can be viewed at later time by administrators.
    *     Extra information such as date & time they occures & where they are thrown...
    *     are automatically included and append to the end of log file.
    *     Log files will increase with the format "name_n" where n is file counter
    public class Log implements Serializable
          *     logs marker
         static final String START= "\n\0";
          *     parent directory that contains log files
         private static File parent;
         private PrintStream out;
         private String name;
          *     to count how many log for the current stream
         int counter;
          *     maximum number of logs for each log file
         int max;
         public static void init(File parent)
              if (!parent.exists())
                   parent.mkdirs();
              Log.parent= parent;
         public Log(String name, int max)
              this.name= name;
              this.max= max;
              file= getLastFile();
              counter= countLogs(file);
              out= openStream(file);
         public synchronized void appendLog(String log)
              if (log == null || log.length() == 0)
                   return;
              count();
              try {
                   out.println(START+ counter+ " | "+ getCurrentTime()+ " | "+ log);
                   out.flush();
              } catch (Exception e) {}
          *     Append the given log to log file.
         synchronized void appendLog(String msg, WebUser user)
              if (msg == null || msg.length() == 0)
                   return;
              count();
              try {
                   out.println(START+ counter+ "----------------------------------------------------------");
                   out.println(getCurrentTime());
                   out.println(user != null? "User:"+ user.getFullName(): "User: public user");
                   out.println(msg);
                   out.println("\n----------------------------- end -----------------------------\n");
                   out.flush();
              } catch (Exception e) {}
          *     Append the given exception to log file
         synchronized void appendLog(Throwable error, WebUser user)
              if (error == null)
                   return;
              count();
              synchronized (out)
                   try {
                        out.println(START+ counter+ "----------------------------------------------------------");
                        out.println("Exception occured at "+ getCurrentTime());
                        out.println(user != null? "User: "+ user.getFullName(): "User: public user");
                        error.printStackTrace(out);
                        out.println("----------------------------- end -----------------------------\n");
                        out.flush();
                   } catch (Exception e) {}
         private String getCurrentTime()
              Calendar c= Calendar.getInstance();
              return
                   parse(c.get(Calendar.HOUR_OF_DAY))+ ":"+               // 0 --> 23
                   parse(c.get(Calendar.MINUTE))+ ":"+                     // 0 --> 59
                   parse(c.get(Calendar.SECOND))+ " "+                     // 0 --> 59
                   parse(c.get(Calendar.DAY_OF_MONTH))+ "/"+                 // 1 --> 31
                   parse(c.get(Calendar.MONTH)+ 1)+ "/"+                     // 1 --> 12
                   c.get(Calendar.YEAR);                                        // yyyy
         private String parse(int n)
              return n< 10? "0"+ n: ""+ n;
         private void count()
              counter++;
              if (counter> max)
                   incrementFile();
                   counter= 1;
         private void incrementFile()
              File file= null;
              int n= 0;
              while ((file= new File(parent, name+ n+ ".log")).exists())
                   n++;
              if (out != null)
                   out.close();
              out= openStream(file);
         private PrintStream openStream(File file)
              try {
                   if (file.exists())
                        return new PrintStream(new FileOutputStream(file.getPath(), true));
                   else
                        return new PrintStream(new FileOutputStream(file.getPath()));
              } catch (IOException e) {
                   throw new RuntimeException(e.getMessage());
         private int countLogs(File file)
              int count= 0;
              InputStream in= null;
              try {
                   in= new FileInputStream(file);
                   int n;
                   while ((n= in.read()) != -1)
                        if (n == '\0')
                             count++;
              } catch (IOException e) {
              } finally {
                   if (in != null)
                        try {
                             in.close();
                        } catch (IOException e) {}
              return count;
         private File getLastFile()
              File file= new File(parent, name+ "0.log");
              File curr;
              int n= 1;
              while ((curr= new File(parent, name+ n+ ".log")).exists())
                   file= curr;
                   n++;
              return file;
         protected void finalized()
              if (out != null)
                   out.close();

  • ITunes Match for the iMac - Music Files on an iPod?

    I subscribe to iTunes Match and have an iPod Classic 160GB. Is it possible to use iTunes Match for my entire music library on my iMac & iPhone BUT put the actual song files on my iPod Classic? The problem is my music library is large, won't fit on my iMac Flash hard drive and iTunes Match is perfect. But I can't figure out how to get those songs onto my iPod Classic because iTunes Match is enabled on iTunes.
    I would like to keep my iTunes library on the iMac using Match and have the physical songs be on the iPod Classic.
    I tested this by putting 1 album on the iMac hd. Then syncing the iPod. Then deleting it from iTunes (the cloud icon came back so Match is doing it's thing and I deleted the physical song files). Sync'd again but this time I checked Manually Manage Music & Videos in the iTunes iPod Settings window before hand, thinking that would tell iTunes to not worry that the 1 Who album wasn't physically on my h/d anymore. But it didn't work. It removed the that album from the iPod Classic.
    Is this possible and I don't have the correct settings in iTunes or on the iPod? Or is this a limitation of using iTunes Match?

    Hey thanks, Jim... Actually I do have a back up of my entire library on an external drive. Is the process just dragging the songs and albums from the Finder (from the external drive backup) onto the iPod when I plug it in to iTunes and they copy over? Is it possible to create new or update existing Playlists with this method? But is key is to never sync the iPod with iTunes or do I need to check Manually Manage Music & Videos?
    Or am I looking at this completely wrong. lol

  • OIC: Need to find the Source Code for the YTDSummary.java file

    Hi All,
    We have 11.5.10 implemention and we are using the OIC(Incentive Compensation) Application. In the Report Module for the Year-To-Date Summary we need look for the Java Source Code.The cnytdsum.jsp file call the YTDSummary.java file. We have teh following question
    1. How we can get the Java Source Code and where and which directory we need to look into?
    2. Let say if we need to customize the java file how we can do that?
    3. where and which directory we have to complie the java file?
    Highly appreciate for any pointers
    Thanks,
    Johnson.

    But those must be platform dependant, not really that
    interesting to look at. I have never felt any need to
    look at those at least.Wake up and smell the coffee, abbie! I read the source code all the time and constantly tell my students to do that, too.
    1. Java source code is not platform dependent. The original poster wanted to look at linked list code, how could that be platform dependent?
    2. It is the implementation of the SDK APIs, so by definition it is implementation dependent code, liable to change in a later version. So don't assume anything beyond what is claimed in the API documentation. However, sometimes the documentation is incomplete or ambiguous to you, and reading the source can provide some insight, however implementation dependent. (Light a candle or curse the darkness.)
    3. Why read source code? It's a good way to learn how to program. You see something in the API and ask: how'd they do that? Or you realize you want to do something broadly similar, but you can't reuse the source code.
    For example, Images are not Serializable, but suppose you want a small image that is part of an object to be serialized with the rest of the object without too much fuss (ie, without using javax.imageio). You notice ImageIcon is serializable, so you use it. (An ImageIcon has-an Image.) Then you wonder: how'd they do that? You read the source and then you know.
    You live, you learn,
    Nax

  • ABAP Code for loading the flat files kept at FTP locations

    Hi all,
    I need to automate the process of data loading via flat files with the help of process chains , with respect to which I require following help:
    1. what steps should I follow to load the data with respect that whenever the new file comes in the directory of the ftp location start that process chain for data load.(Note : there is no fix time that when the new file will be coming)
    2. Every time the new file will be having differnt name , then in that case how we will be fetching the new file which is require for data loading?
    Thanks and Regards,
    Neha

    Hi Neha,
    I have not worked on this or made this code.
    Recently my onsite did it.
    Try to find more gyan on this functiona module...'DX_GET_PHYSICAL_FILENAME'
    Code is... write it in infopackge start routine.
    DATA: v_filename LIKE dxfile-filename.
    Below function module generates the filename with the complete path
    based on the app server attached to the Central Instance
    The logical mapping Z_INBOUND_EBIZ_PAYMENTS is maintained in the
    transaction - "FILE"
      CALL FUNCTION 'DX_GET_PHYSICAL_FILENAME'
        EXPORTING
          i_filename             = 'Z_INBOUND_EBIZ_PAYMENTS'
        IMPORTING
          o_filename             = v_filename
        EXCEPTIONS
          not_registered         = 1
          logical_filename_error = 2
          OTHERS                 = 3.
      IF sy-subrc = 0.
        p_filename = v_filename.
        p_subrc = 0.
      ELSE.
        p_subrc = 4.
      ENDIF.
    Regards,
    San!

  • Help!  code for specifying .vtt caption file doesn't work!

    Hi folks,
    I hope this is something simple.....
    I'm writing plain jane HTML5 code to play .mp4s on mobile devices that won't play Flash content.  I HAVE to have them accessible to the deaf and hard of hearing, so they have to be captioned.  I have the caption files for everything, in .vtt format (which this stuff is supposed to recognize).
    Here's the code:
    <video controls><source src="/sites/default/files/videos/Cathys_voicedintro_draft1.mp4" type="video/mp4">
    <track label="English" kind="captions" srclang="en" src="captions/Cathy_intro.vtt" default>
    </video>
    </body>
    When I hit the link to this page in a browser, the CC button appears for just a second or two....then it disappears.  The video plays fine.  On mobile devices, the video plays fine and the CC option is always there (on some devices) but turning on CC doesn't do anything.
    Have I missed something simple?  I'm on a serious deadline and this has stonewalled me.

    #1 You're going to need more than 1 MP4 file type as some browsers don't support MP4s.  I typically use MP4, OGV and WEBM to cover all bases.
    #2 Refer to this Mozilla development article on adding captions to videos.  Pay close attention to the Caption Menu CSS and scripts.
    Adding captions and subtitles to HTML5 video - App Center | MDN
    Nancy O.

  • File structure for downloads of music files

    I just purchased and downloaded "Enclosure 5" by Harry Partch. This is a 45 track download. Innova has done their best to number the tracks in such away that they stay organized, but Innova failed. I have communicated my dismay to Philip Blackburn at Innova. There are three section to this work, so the resultant AAC files are listed in my library as 1,1,1,2,2,2,3,3,3 and so forth.
    In order to get this music to play in the correct order, I need to re-tag all but the first 13 tracks.
    But the same material at Amazon has the samestructure in the .mp3 download as it does on the CD's. In fact, the downloads are listed as Disc 1, Disc 2, Disc 3. So, that is three folders each with its own files.
    I think that iTunes needs to look at how it does this, in order to make organization in the library better.
    RSM

    Hi camoracer-
    Yes to all. If you look at the "songs" structure for this album, Harry Partch "Enclosure 5", you will see that there are just 45 tracks, with no discrimination or tell-tale sign of organization. And, now, having had to re-tag them, I can tell you that as they sit in iTunes, they are nor in any porper order.
    But, if you look at the same album in Amazon, you will see it presented as three discs. It will download as three folders, and the tracks will be in the right order in the right folder.
    I know that I can re-tag the files, I have needed to do this sometimes even from CD's I rip.
    But I know that Philip Blackburn at Innova tried to get them done right, and they are not right. I took this to Apple's feedback.
    Thanks.
    RSM

  • Code for reading Custom Shape Files?

    Hello,
    Can anyone please point me to information regaring
    the CSH file format? (the regular file format pdf does
    not containt that information).
    Thanks
    Sol

    Lichtzeichenanlage wrote:
    I bet you have to code it per format.
    Remains to be seen - what I'm doing is pretty narrow in scope.
    Lichtzeichenanlage wrote:
    plugin #1 (XmpEdit) - I just need to update xmp metadata in TIFs & DNGs.
    If I remember correctly, LR writes this data into those data into the files if you press Strg + S or if you configure LR to write allways into the xmp files. If this does not work for you, perhaps http://www.sno.phy.queensu.ca/~phil/exiftool/ or http://www.adobe.com/support/downloads/thankyou.jsp?ftpID=4529&fileID=4219 can provide more options to you.
    Having Lr do it for me wouldn't work, but calling exiftool and harvesting the return stuff from stdout may be better than what I'm doing now - thanks.
    Lichtzeichenanlage wrote:
     plugin #2 (Lr <--> NX2 Interface) - I just need to update the main image in a cooked NEF.
    Call me conservative, but I'm really not a fan of writing in these files. It might work with and SDK, but I think there is no public SDK for it.
    In addition I think it is not possible to translate LRs Development-Settings into NX Settings and NX Settings into LR. By updateing the preview you just have a preview with wrong parameters. Sounds week to me. But I would be glad if you can convince that I am wrong. 
    Most people think I'm crazy. There is no support in the Nikon-SDK for it, but all I need to update is the main rgb image - nothing else.
    Thanks,
    Rob

  • How to access source code for checked in .sca files in the dev environment

    Hello,
    I am trying to do some CRM E-commerce development. The basis personnel has checked in all the relevant SCA archives listed in the setup documentation.  He has since given me the Servername and port for accessing the NWDI that I can set in the Development Environment. I can log on to the system and see the repository browser with all the branches.
    For example:
       CustomerConfig -> CRMEXT -> sap.com_SAP-CRMWEB -> dev -> active
    CustomerConfig -> CRMEXT -> sap.com_SAP-CRMWEB -> dev -> inactive
    How ever there is no code there to sync. Is there something missing in our setup for the NWDI so I can sync the CRM E commerce projects to the local system and modify them.
    Is there anything we have to do either in NWDI or in the IDE to see the source code to extend it.
    Thank You for your help in this matter.
    Sumit.

    Hey Pascal, Thanks for the help. We did a batch check in and the code did not go through. After we tried the check-in in the non-batch  mode it worked.

  • Sample code for importing Pro/e files

    Could someone please give me a sample bit of code on how to import Pro/e file?
    Thanks very much

    Also I had the same problem...
    The best thing you can do, in my opinion, is to export your files in VRML format and use Sun's VRML loader (vrml97.jar).
    Here is an example:
    BranchGroup myBG = new BranchGroup();
    VrmlLoader newvrml = new VrmlLoader();
    myBG = newvrml.load("filename.wrl").getSceneGroup();
    }HTH,
    Fausto Mancini

  • Where does iTunes Match look for my music files?

    When iTunes Match scans my "library" which library is it looking at - simply the list of songs within the iTunes interface? Or is it looking for the actual music files? How does keeping most of your music on an external hard drive affect this process?

    I don't know this for sure, but I suspect the scan process is reading the 'iTunes Library.itl" file and not scanning the actual files. So keeping your files on an external drive shouldn't affect the scan, although I would recommend having the external HDD connected to your computer while the scan in is progress just in case.

  • Provide some code/API For Converting .EML & .DXL files

    Provide API or java code For Converting .EML & .DXL files into .TIFF as soon as possible.

    i also require some pointers to api that can convert .eml files to .msg files. Please let me know if there are any api's for the same.

  • Java code for converting EDI file to XML file

    Dear friends,
                     Can you please help me in getting the java code for converting to EDI file to XML file.

    Hi,
    You can convert the EDI file to XML in any of the ways
    1) Using third party seeburger adapters
    2) Conversion agent
    3) Stylus studio.
    I think using java code it will be very difficult.
    Thnx
    Chirag

Maybe you are looking for

  • In Lion can mail have address book showing new messages

    Hi Is it possible to have the address book show in a new message in mail in Lion? Ta

  • Iphone 3G screen ratio 16:9 or 4:3 or.....

    hey guys just trying to figure something out here. on the apple website it says the iPhone 3G's screen is widescreen but then continues to say the resolution is 480 x 320. As far as I know this is neither a 4:3 or 16:9 ratio, seeing 320 is not divisi

  • The Big ?

    I thought i would start a thread for customers thinking of getting a iphone so the big question is so how gd is the iphone can u share ure thoughts on the iphone good and bad

  • Resultset to ascii file

    Hi, Is there an easy way in oracle 9i to write the resultset of a query to an ascii file ? Regards, Ned

  • OREDRS IDoc User exit

    Hi Experts, we have a the below requirement for creating sales order using ORDERS05 IDoc If   ../E1EDP01/E1EDP19/QUALF = 002         If u2026/E1EDP01/E1EDP19/IDTNR =  'DEL-0123456'         Then           Drop the respective.../E1EDP01 segment Please