Sending instruction directly to Siebel Communications Session Manager

Hi.
I am working on doing performance testing the Siebel CTI toolbar.
I realise that the information to the CTI toolbar is coming from the Siebel Communications Session manager, which receives the information from the a CTI Middleware server.
I want to know if I can create a stub that would send this information to the Siebel Communications Session manager, which would send the information to the CTI toolbar. Is there a set of sample commands by means of which the Siebel Commns Sessions manager receives the requests.
Any ideas would be highly appreciated.
Thanks.
Krishna

Are you positive that the CUBE is sending only 4 digits to the CUCM and that the SIP trunk in CUCM isn't configured with the Significant Digits options set to 4? I would check the SIP trunk in CUCM first. It it is configured correctly then I would use debug ccsip mess to watch the call setup flow through the CUBE. If the egress leg to CUCM shows an INVITE with only 4 digits and INVITE from the SIP provider is sending all digits then there is something in the config that you aren't showing us.
HTH.
-Bill (http://ucguerrilla.com)

Similar Messages

  • Siebel Communication Outbound Manager Crashes

    Hi,
    The Siebel Outbound manager in 8.0 Crashes quite often, when there are multiple requests posted at the same time...triggered via WF batch manager...Do any one have experienced this?
    Can anyone suggest a workaround if available?

    Hi Axel,
    Find below the Error Log... Let me know if you need anything more
    2021 2007-10-09 15:07:00 2007-10-09 15:07:06 +0200 00000006 001 003f 0001 09 CommOutboundMgr 54526011 7436 9920 C:\sba80\siebsrvr\log\CommOutboundMgr_0052_54526011.log 8.0.0.1 SIA [20408] ENU
    CommSrvr     CommSrvrError     1     0000003b470b20b0:0     2007-10-09 15:07:00     @cInst = 0 so we are able to execute the buscomp.
    CommSrvr     CommSrvrError     1     0000003b470b20b0:0     2007-10-09 15:07:00     @cInst = 0 so we successfully execute the buscomp.
    CommSrvr     CommSrvrError     1     0000003b470b20b0:0     2007-10-09 15:07:00     @cRecip = 0 so we are able to execute the buscomp.
    CommSrvr     CommSrvrError     1     0000003b470b20b0:0     2007-10-09 15:07:00     @cRecip = 0 successfully execute the buscomp.
    Exception 0xc0000005 at 0x0050e7b7
    Thread: 0x000026c0, Process 0x00001d0c
    - CONTEXT -
    EIP: 0x00000000, EFL: 0x00010212, FS: 0x0000003b, GS: 0x00000000
    CS: 0x0000001b, DS: 0x00000023, SS: 0x00000023, ES: 0x00000023
    EAX: 0x00000000, EBX: 0x15113ba8, ECX: 0x00000000, EDX: 0x14e75cc4
    ESI: 0x14e41398, EDI: 0x0000000a, EBP: 0x00000000, ESP: 0x032dfff4
    - CALL STACK -
    sslcshar +0xe7b7 = CCFMap<CCFElemStr,CCFElemStr>::operator[]() +0x1c7
    sslcshar +0x216f5 = CCFPropertySet::SetProperty() +0x15
    sslcsrms +0x3ef3 = SrmRequest::Serialize() +0x2b3
    sslcsrcn +0x47d0 = SrmConn::SendRequest() +0x1d0
    sslcsrcn +0x6097 = SrmConn::SubmitSynch() +0x77
    sslcfsm +0x17f2 = FSMClientStub::submitFSMReq() +0xd2
    sslcfsm +0x2675 = FSMClientStub::writeFile() +0x135
    sslcfsm +0x250f = FSMClientStub::writeFile() +0x7f
    SSCOMMSV +0x40b3f = CSSSvcCOMMEngine::SendMessageW() +0x4c8f
    SSCOMMSV +0x2009d = CSSSvcCOMMEngine::SubmitRequest() +0x180d
    SSCOMMSV +0x210c7 = CSSSvcCOMMEngine::DoSubmitRequest() +0x187
    SSCOMMSV +0x23d64 = CSSSvcCOMMEngine::DoInvokeMethod() +0x164
    sscfom +0x181ca = CSSService::InvokeMethod() +0x1ba
    sssabsvm +0x29e2 = LessComparison::operator()() +0x1342
    sssabsvm +0x413e = CreateSmiMThreadObj() +0xaae
    siebmtshmw +0x19ac9 = GetSmiTaskAPI() +0x1059
    siebmtshmw +0x1a163 = GetSmiTaskAPI() +0x16f3
    siebmtshmw +0x1ac33 = GetSmiTaskAPI() +0x21c3
    siebmtshmw +0x1bce4 = GetSmiTaskAPI() +0x3274
    siebmtshmw +0x1c071 = GetSmiTaskAPI() +0x3601
    siebmtshmw +0x156a5 = SmiBeginTrace() +0x30c5
    siebmtshmw +0x16cb6 = GetSmiWorkQObj() +0x14e6
    siebmtshmw +0xc286 = SmiCleanupDetTask() +0x3b26
    sslcosd +0x2132 = OSDThreadPrivIsInit() +0x1d2
    sslcosd +0x21bc = OSDThreadPrivIsInit() +0x25c
    MSVCR71 +0x9565 = endthreadex() +0xa0
    kernel32 +0x2608b = GetModuleFileNameA() +0xeb
    - STACK DUMP -

  • Lync 2013 integration with Avaya Communication Manager Version 5.2 and Avaya Session Manager 6.3

    Hi Team,
    I have a situation, We have done integration between Avaya Communication Manager Version 5.2, Avaya Session Manager 6.3 and Lync 2013.
    I’m able to make lync to lync call via extension number but not lync to avaya extension vice versa and lync to mobile calls. Will appreciate your help.
    A PBX gateway has been marked as less-preferred.
    Gateway name: sm.contoso.com
    Response Code: 400
    Consecutive Failure occurrences: 29
    Cause: The gateway responded with the same failure response multiple consecutive times and is being marked as less-preferred.
    Resolution:
    Verify that the gateway is functioning correctly.

    Did you add Avaya Session Manager as a PSTN gateway in Lync Topology?
    Did you create dial plan and related normalization rule for extension in Avaya telephone system.
    Which guide did you use to integrate Avaya Aura Session Manager with Lync Server?
    You can check the following deployment guide:
    http://www.microsoft.com/en-hk/download/details.aspx?id=41152
    Lisa Zheng
    TechNet Community Support

  • In Workflow, send an email to the initiator's manager/direct Superior

    Hi Experts,
    I'm trying to create a workflow that will send an email to an employee's manager(Superior) when that employee creates an expense report through the Portal.
    I've got the workflow set up and it currently sends to me when an expense report is created. So that part isn't really an issue. The issue is how do I tell the workflow to send to the employee's manager? I'm not familiar with HR and don't know how to tell it to use the organizational structure to get the manager(one step Superior). HELP!?
    Thanks in advance!

    Hi Senthil,
    In HR module all the employees will have positions. These positions were created in OM (organization management) module. And all the positions will have one manager or chief for that org unit. You can creat a workflow such a way that it should fetch the employee data from OM table.
    Thanks,
    Nandagopal C

  • Session management for a web service

    I am building a web service where the user will need to login and the application will need to maintain a persistent session. I am using Apache Axis2 for client/server communication via SOAP/XML. What would the simplest and most common way of doing this? I know I could implement session management from scratch similarly to how a browser does it, using cookies, but I'd rather use standard Java libraries for this. Am I correct in assuming that even though I'm using Axis2, the solution doesn't really have anything to do with Axis2 since Axis2 is basically just a way for the client/server to send messages to each other?
    I've read a lot of information online about this, but there's so much information that it's hard to know where to start. Basically I'm just looking for someone to point me in the right direction on what classes to use and so on. I just need a simple username password authentication and session management system for a web service.

    Container Managed Authentication. Does everything you need.

  • Session management thru SOAP services

              Hi I am trying to deploy our application in a clsutered environment. Previsouly
              I had some problems with http session replication. That problems were solved but
              now I have another problem.
              Our application has multiple clients, some are browser based and some are swing
              based that use our SOAP services.
              all browser based clients use httpsession for session management, since weblogic
              replicates the httpsession, we have no problem clustering http webapps. But SOAP
              services has no access to httpsession.
              We have implemented our own session management (we cache the app specific session
              objects) so that SOAP services works fine (SOAP services doesn't have access to
              httpsession, so we could not use httpsession for session management). Each method
              in our soap services takes a sessionid and we get the session objects (not http
              session objects but our app specific session objects) based on the sessionid.
              But now that our application is clustered, the session cache mechanism doesn't
              work since its not replicated thru out the clusters.
              I thought I could use stateful session beans to cache the sessions, but how do
              I cache the SFSB thru out the session w/o sending any references to the SFSB to
              the client. I know I can send the Handle reference to the client but We cannot
              change the SOAP API now. The only information client has is the session id.
              My question is: How do I use SFSB w/o changing my soap services method paramaters.
              My SOAP method looks like methodName(String sessionid, ..............)
              I could use a clustered cache but we can't buy anything in the current situation.
              Any help would be appreciated.
              Praveen
              

    Well, does the DSM log have any details? (see [Note 529924|https://service.sap.com/sap/support/notes/529924] on how to view the logs)
    My guess is that you are using different protocols between the dispatcher and a backend system: they both have to use HTTP or both use HTTPS (as described in the same note). That would also explain why the URL for the direct connection to the portal  doesn't present the error, if that URL has the same protocol as the backend.
    Regards,
    Sean

  • CUCM Session Management Edition Configuration Example

    Hello:
    Can somebody help with an example of configuration of the session management edition installed in a CUCM version 9 that has to be the central for dial plans and pstn access, it has work with other CUCMs version 9 (leafs)......i will appreciate if you can send an example or even a configuration guide, deployment guide, etc....
    Best Regards
    Bruno Lara 

    You can find a lot of into on it if you search cisco.com
    https://www.ciscolive.com/online/connect/sessionDetail.ww?SESSION_ID=6107&tclass=popup
    Basically think of it as a GK in old terminology, it will aggregate all the dial plans and you will direct anything you don't recognize to it for routing.

  • NI Session Manager gets slower and slower from call to call!

    I have the following problem with NI-Session-Manager:
    I use Session Manager a lot on my test systems. Now that I have a test system running that makes many Session Manager Calls I noticed that after a while the system gets slower and slower. I�ve attached a Sequence File, which demonstrates this problem.
    This sequence file is based on the LV Session Manager Example, which ships with TestStand.
    Instructions: In the UI-Msg Field of the Sequence Editor you will see how long the actual run took to execute. Every run makes 500 calls to Session Manager. You will notice that every run takes a little bit longer than the previous. After 100 runs the difference is significant.
    Although my example uses a COM
    port to demonstrate the problem this problem is really related to Session Manager because the same happens if I use an IVI-Instrument (i.e. NI-DMM, NI-Switch, �)
    Any help appreciated!
    Regards
    Herbert
    Herbert Koltschik
    Sagem Communication Austria
    [email protected]
    Attachments:
    sessionmgr_-_slow_down_problem.zip ‏63 KB

    Herbert -
    Thanks for the feedback. I will look into item (1).
    The design of the session manager was to solve the problem of only having to share an instrument within a multithread application. If the session already exists, than you get the same session and thus the same handle, and the instrument is only initialize once and closed after the session no longer exists.
    In the case of a C++ based program you would have to add the session as a member variable that has a specific lifetime. When the object is release, so will the session.
    In the case of an application like TestStand, you just attach the session to the execution. Once the execution goes away, the session may go away if no other execution is using it.
    In the case of L
    abVIEW being called from TestStand, you are using VIs as subroutines, so either the application (TestStand) must manage the lifetime of the session, or the VI subroutine must deligate the lifetime control to a "global" VI. The item you attach to the global could be the refnum itself or the SMgr session. One way of doing this would be to create a VI that serves the refnum to you but internally manages the lifetime of the ActiveX references to the Session Manager sessions. This would be a simple vector of names and their sessions. When called the VI would lookup and return a refnum from an existing session or create a new session and return a refnum for it.
    Scott Richardson
    Scott Richardson
    National Instruments

  • Lync 2013 integration with Avaya Aura Session Manager 6.3

    Dear All, 
    we are planning to integrate Lync 2013 with Avaya Aura Session Manager 6.3 and Avaya
    Communication Server 6.3.1 for one of our client.
    As per the technical documentation from MS, it shows the integration with lync 2013 with Avaya aura session manager
    6.3 and Communication Server 1000 (CS1K). 
    Please let me know is there any difference between Communication Server
    1000 (CS1K) and Avaya Communication Server 6.3.1.

    Hi,
    From the link below of “Infrastructure qualified for Microsoft Lync”: Aura Session Manager 6.3 is supported with Lync Server 2013.
    https://technet.microsoft.com/en-us/office/dn788945
    Configuration Notes:
    1.Media Bypass, RTCP, and History-Info were set to Enabled.
    2.REFER and Session Timer were set to Disabled.
    Known Limitations:
    1.With Media bypass enabled in Lync, for an incoming call to Lync client that has simultaneous ring to a number with early media enabled, caller will hear ring back instead of the early media.
    2.Avaya Aura communication manager does not send disconnect to PSTN via ISDN trunk while receiving SIP 603 response from Mediation server for incoming call to Lync client. Caller will hear overflow tone and call will not disconnect until caller drops the
    call.
    What’s more, it is better to contact IP-PBX vendor for the installation and set up as they have the complete documentation.
    Best Regards,
    Eason Huang
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
    Eason Huang
    TechNet Community Support

  • JMStudio Error  "Can not create session manager"

    Hi,
    I'm trying to transmit an mpg file through a simple pc to pc network, using the transmission wizard in the JMStudio, and everytime it causes a "can not create session manager" error, even when I try to transmit .mp3 file
    I'm using an ip like 100.100.0.1 for the sender machine, and 100.100.0.2 for the receiver machine, and I don't know where is the problem
    thanks in advance

    Um,maybe the port that you use for transmission is already occupied.
    Make sure that you are not using JMStudio to transmit streams while trying to receive streams from the same port.

  • Can i send email directly from bridge cs6 and cc ?

    hi
    can i send emails directly from bridge cs6 or cc directly from bridge?
    i found this scripts http://kb2.adobe.com/community/publishing/894/cpsid_89450.html
    but i run cs6 and cc under windows 7 sp1 64bit and windows 8.1 64bit
    and i have thunderbird email client
    is there a way to make it work?
    maybe i can install another email client
    thanks

    // consult MAILSEND in here: https://github.com/muquit/mailsend and download the app 'mailsend.exe' for windows7 in here:
    // https://github.com/muquit/mailsend/releases/download/1.17b15/mailsend1.17b15.exe.zip
    // unzip it and put the app .exe where you want to use it.
    // I have tested using Bridge to send e-mail using my gmail e-mail account and it works. I only needed to 
    // I needed to send e-mails from Bridge using my google account, but first I needed to put on my network the app 'mailsend.exe'(i'm using PCs windows7 , CS6 and a network)
    // All my 20 people team is using it, so I decided to put the app 'mailsend.exe' on a common place on network. I you are using it only on 1 PC you don't need you can put it on its disk.
    // Solution: All you need is to create a bat file that tells 'mailsend.exe' what to do:
    var mailsendBat=File(Folder.temp +"/mailsendBat.bat"); // creates a bat file on the temporary folder
    mailsendBat.open("w")
    // the place where app 'mailsend.exe' file is
    mailsendBat.writeln('"X:\\[someFolder]\\mailsend.exe" \^');
    // my gmail
    mailsendBat.writeln('-t [email protected] -f [email protected] \^');
    // the title can have encoding or not (-enc-type "base64")
    mailsendBat.writeln('-cs "utf-8" -mime-type "text/plain" -enc-type "base64" -sub "Ich lerne seit ungefähr zwei Jahren Deutsch" \^');
    // this works for the smtp gmail
    mailsendBat.writeln('-starttls -port 587 -auth -smtp smtp.gmail.com -user "[email protected]" -pass "[myPassword]" \^');
    // If I want to send an image attachment I use this 1, 2, or more times. If content-type is "multipart/mixed" the inline images don't work. Instead the images will be sent as attachment.
    mailsendBat.writeln('-content-type "multipart/mixed" -attach "C:\\Users\\Public\\imagens\\myImage.jpg" \^');
    // this is the line to send a simple text line with no encoding specified
    mailsendBat.writeln('-enc-type "none" -mime-type "text/plain" -M "one line attachment 1" \^');
    // you can sen inline html that can also have links to inline images
    mailsendBat.writeln('-mime-type "text/html" -enc-type "none" -M "<b>this is a test</b><br><img src="http://[any_online_image.jpg],image/jpeg,i">" \^');
    // sending text line with special encoding
    mailsendBat.writeln('-cs "utf-8" -mime-type "text/plain" -enc-type "base64" -M "Ich lerne seit ungefähr zwei Jahren Deutsch" \^');
    // endind it
    mailsendBat.close();
    // executing
    mailsendBat.execute();
    // there are also other kind of commands (consult https://github.com/muquit/mailsend)

  • Bug in session manager. If you work for Sun, please take a look.

    While evaluating what it would take to transition from Iplanet 6 to Sun Webserver 6.1, I found a problem with the Sun Webserver's s1ws60 session managers. If the page is not explicitly flushed before ending, the session cookie JSESSIONID is never sent. So as long as the user continues to visit small pages, they keep getting new sessions (because they are never sent a session id, so the session manager creates a new one every time they visit). The session cookie is sent if larger pages are visited (the buffer is automatically flushes). The session cookie is also sent if out.flushBuffer() is explicitly called within the JSP. This problem was not present in IWS6.0.
    The problem has been tracked down to a combination of the code in com.iplanet.server.http.session.IWSSessionManager (found in the "plugins" directory) and the JSP's Java code generated by a component of the webserver (Catalina?). Under Iplanet, the code generated in the finally{} section of the JSP first flushed the buffer, then called releasePageContext. Under Sun Webserver, the code generated just calls releasePageContext without explicitly flushing the buffer before the call. When flushing the buffer for a non-committed response, the headers are first generated and sent, along with any cookies, including the session cookie. The server only sends the session cookie if, among other things, the session satisfies "_session.isNew()". The order of events in releasePageContext ensures that this is never true when used in combination with IWSSessionManager. I don't have the source code to verify this, but from experimentation I think this is the reason: Before the buffer is flushed, the session is saved by IWSSessionManager.update(session), which at line 498 calls "sn.unsetNew()". So the session is never isNew() when it gets around to sending the session cookie. This can be resolved by either adding an explicit buffer flush to the finally{} section of the JSP, or removing the unsetNew() call from IWSSessionManager. Since I don't know where the code that generates the JSP is (or if I can even change it), I ended up removing the sn.unsetNew() call from the update() function.
    Here's the code generated in the finally{} section using IWS6 and Sun Webserver:
    Iplanet 6
            } finally {
                if (out != null && (out instanceof org.apache.jasper.runtime.JspWriterImpl)) {
                    ((org.apache.jasper.runtime.JspWriterImpl) out).flushBuffer();
                if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
            }Sun Webserver
            } finally {
                _jspx_releaseTags(_jspx_curTag, null);
                if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
            }

    I posted a bug report on this.

  • JMF error - Format of Stream not supported in RTP Session Manager

    java.io.IOException: Format of Stream not supported in RTP Session Manager
    at com.sun.media.datasink.rtp.Handler.open(Handler.java:139)
    why this erro occors?
    I already created the DataSink.
    When I try to do this...
    dsk.open(); //here the error got
    dsk.start();     Code of server of media
    I want to sent audio (wav) like a radio, but from file. Without stop to send streaming. PullBufered
    *Class Server that you offers Streaming of midia
    public class Servidor {
    private MediaLocator ml;
    private Processor pro;
    private javax.media.protocol.DataSource ds;
    private DataSink dsk;
    private boolean codificado = false;
    //start the server service, passing the adress of media
    // ex: d:\music\music.wav
    // pass the ip and port, to make a server works
    public void iniciarServicoServidor(String end,String ip, int porta)
    try {
    //capture media
    capturarMidia(end);
    //creates processor
    criarProcessor();
    // configure the processor
    configurarProcessor();
    //setContent RAW
    descreverConteudoEnviado();
    //format the media in right RTP format
    formatRTP();
    //creat the streaming
    criarStreaming();
    //configure the server
    configurarServidor(ip, porta);
    //in this method raise the excepition
    iniciarServidor();
    //when I try to open the DataSink.open() raises the exception
    //java.io.IOException: Format of Stream not supported in RTP Session //Manager
    // at com.sun.media.datasink.rtp.Handler.open(Handler.java:139)
    } catch (RuntimeException e) {
    System.out.println("Houve um erro em iniciarServicoServidor");
    e.printStackTrace();
    public void capturarMidia(String endereco)
    try {
    System.out.println("**************************************************************");
    System.out.println("Iniciando processo de servidor de multimidia em " + Calendar.getInstance().getTime().toString());
    ml = new MediaLocator("file:///" + endereco);
    System.out.println("Midia realizada com sucesso.");
    System.out.println ("[" + "file:///" + endereco +"]");
    } catch (RuntimeException e) {
    System.out.println("Houve um erro em capturarMidia");
    e.printStackTrace ();
    public void criarProcessor()
    try {
    System.out.println("**************************************************************");
    pro = Manager.createProcessor(ml);
    System.out.println("Processor criado com sucesso.");
    System.out.println("Midia com durcao:" + pro.getDuration().getSeconds());
    } catch (NoProcessorException e) {
    System.out.println("Houve um erro em criarProcessor");
    e.printStackTrace();
    } catch (IOException e) {
    System.out.println ("Houve um erro em criarProcessor");
    e.printStackTrace();
    public void configurarProcessor()
    try {
    System.out.println("**************************************************************");
    System.out.println("Processor em estado de configura��o.");
    pro.configure();
    System.out.println("Processor configurado.");
    } catch (RuntimeException e) {
    System.out.println("Houve um erro em configurarProcessor");
    e.printStackTrace();
    public void descreverConteudoEnviado()
    try {
    System.out.println("**************************************************************");
    pro.setContentDescriptor(new ContentDescriptor(ContentDescriptor.RAW));
    System.out.println("Descritor de conteudo:" + pro.getContentDescriptor().toString());
    } catch (NotConfiguredError e) {
    System.out.println("Houve um erro em descreverConteudoEnviado");
    e.printStackTrace();
    private Format checkForVideoSizes(Format original, Format supported) {
    int width, height;
    Dimension size = ((VideoFormat)original).getSize();
    Format jpegFmt = new Format(VideoFormat.JPEG_RTP);
    Format h263Fmt = new Format(VideoFormat.H263_RTP);
    if (supported.matches(jpegFmt)) {
    // For JPEG, make sure width and height are divisible by 8.
    width = (size.width % 8 == 0 ? size.width :
    (int)(size.width / 8) * 8);
    height = (size.height % 8 == 0 ? size.height :
    (int)(size.height / 8) * 8);
    } else if (supported.matches(h263Fmt)) {
    // For H.263, we only support some specific sizes.
    if (size.width < 128) {
    width = 128;
    height = 96;
    } else if ( size.width < 176) {
    width = 176;
    height = 144;
    } else {
    width = 352;
    height = 288;
    } else {
    // We don't know this particular format. We'll just
    // leave it alone then.
    return supported;
    return (new VideoFormat(null,
    new Dimension(width, height),
    Format.NOT_SPECIFIED ,
    null,
    Format.NOT_SPECIFIED)).intersects(supported);
    public void formatRTP()
    try {
    // Program the tracks.
    TrackControl tracks[] = pro.getTrackControls();
    Format supported[];
    Format chosen;
    for (int i = 0; i < tracks.length; i++) {
    Format format = tracks.getFormat();
    if (tracks[i].isEnabled()) {
    supported = tracks[i].getSupportedFormats();
    // We've set the output content to the RAW_RTP.
    // So all the supported formats should work with RTP.
    // We'll just pick the first one.
    if (supported.length > 0) {
    if (supported[0] instanceof VideoFormat) {
    // For video formats, we should double check the
    // sizes since not all formats work in all sizes.
    chosen = checkForVideoSizes(tracks[i].getFormat(),
    supported[0]);
    } else
    chosen = supported[0];
    tracks[i].setFormat(chosen);
    System.err.println("Track " + i + " is set to transmit as:");
    System.err.println(" " + chosen);
    codificado = true;
    } else
    tracks[i].setEnabled(false);
    } else
    tracks[i].setEnabled(false);
    } catch (RuntimeException e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
    public void tocar()
    pro.start();
    public void criarStreaming()
    try {
    System.out.println("**************************************************************");
    if (codificado)
    System.out.println("Midia codificada...");
    System.out.println("Processor entra em estado de realize.");
    pro.realize();
    System.out.println("Processor realized.");
    System.out.println("Adquirindo o streaming a ser enviado.");
    ds = pro.getDataOutput();
    System.out.println("Streaming adquirido pronto a ser enviado.");
    } catch (NotRealizedError e) {
    System.out.println("Houve um erro em criarStreaming");
    System.out.println(e.getMessage());
    e.printStackTrace();
    catch (Exception e) {
    System.out.println(e.getMessage());
    public void configurarServidor(String ip, int porta)
    System.out.println("**************************************************************");
    String url = "rtp://" + ip + ":" + porta + "/audio/1";
    System.out.println("Servidor ira atender em " + url);
    MediaLocator mml = new MediaLocator(url);
    System.out.println("Localizador de midia ja criado");
    try {
    System.out.println("Criando um DataSink a ser enviado.");
    dsk = Manager.createDataSink(ds, mml);
    System.out.println("DataSink criado.");
    } catch (NoDataSinkException e) {
    e.printStackTrace();
    public void iniciarServidor()
    try {
    System.out.println("**************************************************************");
    dsk.open();
    System.out.println("Servidor ligado.");
    dsk.start();
    System.out.println("Servidor iniciado.");
    } catch (SecurityException e) {
    e.printStackTrace();
    } catch (IOException e) {
    e.printStackTrace();
    Gives that output console.
    All methods are executed but the last doesnt works.
    The method that open the DataSink.
    What can I do?
    Iniciando processo de servidor de multimidia em Sun May 13 22:37:02 BRT 2007
    Midia realizada com sucesso.
    [file:///c:\radio.wav ]
    Processor criado com sucesso.
    Midia com durcao:9.223372036854776E9
    Processor em estado de configura��o.
    Processor configurado.
    Descritor de conteudo:RAW
    Midia codificada...
    Processor entra em estado de realize.
    Processor realized.
    Adquirindo o streaming a ser enviado.
    Streaming adquirido pronto a ser enviado.
    Servidor ira atender em rtp://127.0.0.1:22000/audio/1
    Localizador de midia ja criado
    Criando um DataSink a ser enviado.
    streams is [Lcom.sun.media.multiplexer.RawBufferMux$RawBufferSourceStream;@a0dcd9 : 1
    sink: setOutputLocator rtp://127.0.0.1:22000/audio/1
    DataSink criado.
    Track 0 is set to transmit as:
    unknown, 44100.0 Hz, 16-bit, Stereo, LittleEndian, Signed, 176400.0 frame rate, FrameSize=32 bits
    java.io.IOException: Format of Stream not supported in RTP Session Manager
    at com.sun.media.datasink.rtp.Handler.open(Handler.java:139)
    at br.org.multimidiasi.motor.Servidor.iniciarServidor(Servidor.java:291)
    at br.org.multimidiasi.motor.Servidor.iniciarServicoServidor(Servidor.java:43)
    at br.org.multimidiasi.motor.ConsoleServidor.main(ConsoleServidor.java:30)
    Since already thanks so much.
    Exactally in this method raises erros.
    Ive tried another formats (avi, mp3) but all with the same error, what I can do?
    [code] public void iniciarServidor()
    try {
    System.out.println("**************************************************************");
    dsk.open();
    System.out.println("Servidor ligado.");
    dsk.start();
    System.out.println("Servidor iniciado.");
    } catch (SecurityException e) {
    e.printStackTrace();
    } catch (IOException e) {
    e.printStackTrace();
    Track 0 is set to transmit as:
    unknown, 44100.0 Hz, 16-bit, Stereo, LittleEndian, Signed, 176400.0 frame rate, FrameSize=32 bits
    java.io.IOException: Format of Stream not supported in RTP Session Manager
    at com.sun.media.datasink.rtp.Handler.open(Handler.java:139)
    at br.org.multimidiasi.motor.Servidor.iniciarServidor(Servidor.java:291)
    at br.org.multimidiasi.motor.Servidor.iniciarServicoServidor(Servidor.java:43)
    at br.org.multimidiasi.motor.ConsoleServidor.main(ConsoleServidor.java:30)

    unknown, 44100.0 Hz, 16-bit, Stereo,
    LittleEndian, Signed, 176400.0 frame rate,
    FrameSize=32 bits
    java.io.IOException: Format of Stream not supported
    in RTP Session Manager
    The fact that it doesn't know what the format is
    might have to do with the problem. I've had similar
    problems, and I've traced it back to missing jars and
    codecs. Have you tried running the same code locally
    without the transmission to see if you player will
    even play the file?Already and it works, I used Player to play it and play normally, I try to make it with the diferents codecs of audio and video, but no sucess.

  • Web service authentication/session management using Axis2

    I'm creating a web service using Axis2 where the client will need to login to the service and maintain a session. I'm trying to figure out a good way to do this. I've read the article on the following link:
    http://www.developer.com/services/article.php/3620661/Axis2-Session-Management.htm
    and it describes 4 main ways of doing this: Request Session Scope, Soap session scope, Transport session scope, and Application scope. However, it doesn't give much detail in actually implementing this. It says to add a parameter to services.xml like this:
    <service name="foo" scope=" transportsession">
    </service>
    but what about the actual code that goes in the server and client to actually handle the login process and verify the username/password in an SQL database on the server? I'm having a lot of trouble finding a good tuturial on this. Can anyone point me in the right direction? I'm also open to other ideas that don't necessarily directly involve Axis2.

    Session management for a web service and already answered. Locking.

  • Communication between Managed servlet using ProxyServlet

              Hi,
              I have multiple Managed servers running on the same host, each hosting one web
              app on a particular port.
              The Admin server runs on port 7001.
              Example :
              The Managed Server hosting the Session Manager is running on 7100, and the
              Managed server hosting the DSLTools is running on port 7200.
              The following link works -
              http://localhost:7100/sessionmgr/servlet/sessionmgr
              Now when I click on DSLTools button on the page displayed by the above link,
              it takes me to
              http://localhost:7100/dsltools/servlet/dsltools
              whereas, I want it to take me to
              http://localhost:7200/dsltools/servlet/dsltools
              If I type the http://localhost:7200/dsltools/servlet/dsltools
              in the web browser, it works.
              So, ques is how can I go from Session Manager running on port 7100 to
              DSL Tools running on port 7200 ?
              I am trying Proxy by path using HttpProxyServlet, but it doesn't seem to work.
              I may be doing something wrong setting up HttpProxyServlet to handle this,
              but not sure what ? Any suggestions.
              I don't want to hard code the port numbers in the Session Manager servlet
              for obvious reasons.
              A quick response will be appreciated.
              Thank you very much
              -Anil Varma
              

    Hi jDee
    I�m not sure that the connection is kept opened, I mean by �you need to know that http connexion, DataInputStreamand DataOutputStream are always opened� that I don�t make an explicit call to close() method.
    My aim is to keep the http connection alive, because the Servlet needs to send with push mode some request to the Midlet. The Midlet handles the request and answers the Servlet.
    the behavior of my application is the following:
    DataInputStream dis=null;
    DataOutputStream dos=null;
    they are 3 modules: mobile client (J2ME), Mobile Server (J2ME), Coordinator (Servlet)
    1-Server: open Httpconnection with Servlet
    2-Server: open dis and dos
    3-Server: send user & passwd trougth dos
    4-Coordinator: check user&passwd
    5-Coordinator: send response
    6-Server:keep connection opened
    7-Server: execut while(dis.avalaible()<1) {};
    8-Client: send Request to coordinator
    9-Coordinator: redirect Request to the right Server
    10-Server: get request dis.read()
    11-Server: handles the request
    12-Server: answer the coordinator dos.write()
    13-Coordinator:redirect the Response to the right Client
    14-Client:get answer coming from Coordinator
    Regards
    -Med-

Maybe you are looking for

  • In address book how do I move all cards from my 'last import' smart group into a new group?

    In Address Book, how do I move all cards from my 'last import' smart group into a new group that I will create? So far I am not being allowed to Edit Smart Group! Thank you x

  • Soap Fault Handler

    Hi I have written a prrof of concept page in Application Express Builder to call a web service. It all works OK as far as it goes; the page process gets the data and the report section displays the data. The success and error messages defined in the

  • Top N displaying unexpected results

    Hi all, Cannot see the wood for the trees at the moment and need some help to understand why the following is doing what its doing. I have a requirement to produce the top 500 articles ranked by sales qty for different categories. This list of articl

  • Error while extending the Controller

    Hi, I have extended the CompetenciesCO.class to CompetenciesExtendCO.java using jdeveloper, after that i transfered this file to the same location where the CompetenciesCO.class is available. My extended class coding is : package oracle.apps.per.self

  • Unknown component: ENDECA_BULK_ADD_OR_REPLACE_RECORDS class

    Hi, I see below error while running the graph: INFO [main] - Graph definition file: graph\LoadData.grf ERROR [main] - Unknown component: ENDECA_BULK_ADD_OR_REPLACE_RECORDS class: ENDECA_BULK_ADD_OR_REPLACE_RECORDS java.lang.ClassNotFoundException: EN