Need help in SIP Chat

Hello...
I am a newbie in JAVA. I'd like to create a Voice Chat with SIP.
But first of all I will try to create a chat situation, where 2 different hosts can receive AND send messages. It worked when I have a sender ONLY and a receiver ONLY. I couldnt make them put 2 abilities at all, 1 host - two in one - a receiver and sender.
I thought of making it P2P.
I am using Wireless Toolkit2.5, because at the end I will implement it on pdas or mobile phones.
Can anyone help me ? Pleeease.

i dont understand what you mean when it can only send OR receive messages. Cant you juct copy and paste code and change the relevant pieces around?

Similar Messages

  • Need help installing Tap Chat

    Hello, i just bought the blizzard tap chat. im kinda regretting it for im not getting any answers from anyone.
    I DO NOT have the wow headset. i read that you have to DL the wow headset drivers to get the tap chat to work. but everttime i trying to install it i get error i-00. i read that you can not have the tap chat pluged in, did that no help. i read that you can do some sarch and delete something or another, no luck. i tried installing as admin, i've even had my husband install it and he get the same error on his computer. anyone have any help on how to get this thing to work? i want to get it to work but im thinking that i might just have to get returned. kinda pisses me off on creative, and blizzards website it says you dont need the head set. im going to call bull on that. i've had it for 3 days and countless times trying to get it to work.

    yes. and when i do that there is no INSTALL.LOG to be found? so i dont know what to do. blizzard wont help me, i have yet to hear anything from any of the creative people. its really pissing me off. i payed 30$ for this thing and i cant use it or get help. and its not my computer, same time happons on my husbands comp

  • Need Help with Simple Chat Program

    Hello Guys,
    I'm fairly new to Java and I have a quick question regarding a simple chat program in java. My problem is that I have a simple chat program that runs from its own JFrame etc. Most of you are probably familiar with the code below, i got it from one of my java books. In any case, what I'm attempting to do is integrate this chat pane into a gui that i have created. I attempted to call an instace of the Client class from my gui program so that I can use the textfield and textarea contained in my app, but it will not allow me to do it. Would I need to integrate this code into the code for my Gui class. I have a simple program that contains chat and a game. The code for the Client is listed below.
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import java.net.*;
    import javax.swing.*;
    public class Client
    extends JPanel {
    public static void main(String[] args) throws IOException {
    String name = args[0];
    String host = args[1];
    int port = Integer.parseInt(args[2]);
    final Socket s = new Socket(host, port);
    final Client c = new Client(name, s);
    JFrame f = new JFrame("Client : " + name);
    f.addWindowListener(new WindowAdapter() {
    public void windowClosing(WindowEvent we) {
    c.shutDown();
    System.exit(0);
    f.setSize(300, 300);
    f.setLocation(100, 100);
    f.setContentPane(c);
    f.setVisible(true);
    private String mName;
    private JTextArea mOutputArea;
    private JTextField mInputField;
    private PrintWriter mOut;
    public Client(final String name, Socket s)
    throws IOException {
    mName = name;
    createUI();
    wireNetwork(s);
    wireEvents();
    public void shutDown() {
    mOut.println("");
    mOut.close();
    protected void createUI() {
    setLayout(new BorderLayout());
    mOutputArea = new JTextArea();
    mOutputArea.setLineWrap(true);
    mOutputArea.setEditable(false);
    add(new JScrollPane(mOutputArea), BorderLayout.CENTER);
    mInputField = new JTextField(20);
    JPanel controls = new JPanel();
    controls.add(mInputField);
    add(controls, BorderLayout.SOUTH);
    mInputField.requestFocus();
    protected void wireNetwork(Socket s) throws IOException {
    mOut = new PrintWriter(s.getOutputStream(), true);
    final String eol = System.getProperty("line.separator");
    new Listener(s.getInputStream()) {
    public void processLine(String line) {
    mOutputArea.append(line + eol);
    mOutputArea.setCaretPosition(
    mOutputArea.getDocument().getLength());
    protected void wireEvents() {
    mInputField.addActionListener(new ActionListener() {
    public void actionPerformed(ActionEvent ae) {
    String line = mInputField.getText();
    if (line.length() == 0) return;
    mOut.println(mName + " : " + line);
    mInputField.setText("");

    Thanks for ur help!i have moved BufferedReader outside the loop. I dont think i am getting exception as i can c the output once.What i am trying to do is repeat the process which i m getting once.What my method does is first one sends the packet to multicasting group (UDP) and other method receives the packets and prints.

  • Need help on SIP configuration

    hi guys
    i m a starter with the SIP technology ,i m planning to use SIP as session protocol instead of cisco properitry.can anyone pls tell me do i need to configure a SIP proxy or anything that kind to use this.
    i have total 6 locations and i want all the 6 locations to communicate between each other.so i planned for SIP in this scenario.this is a IP based network
    all u r comments r welcome
    regds
    prem

    hi
    pls go thru the details of the H/W ,IOS ver and about the interface
    System image file is "flash:c1700-sv8y-mz.122-8.T1.bin"
    cisco 1751 (MPC860P) processor (revision 0x200) with 55706K/9830K bytes of memory.
    Processor board ID JAD06200B7K (241514676), with hardware revision 0000
    MPC860P processor: part number 5, mask 2
    Bridging software.
    X.25 software, Version 3.0.0.
    1 FastEthernet/IEEE 802.3 interface(s)
    2 Serial(sync/async) network interface(s)
    2 Voice FXS interface(s)
    my doubt is shall i give this command Router(config-dial-peer)# session protocol {cisco | sipv2} and go ahead with the config or do i need to configure the SIP proxy server.??
    if i use session protocol as Cisco it will take as H.323 is it equivalent to not putting this entry since its going to take h.323 only as its default ..
    regds
    prem

  • I have wirelees router Lynksys WR T54G need help connecting my chat account

    i have router lynksys wr-t54g i also have achat account oepn and acitve every time i try to configure the account on the player its says cannot connect to server i have no problem connectin to the media server or connectin to my pc wanderin if anyone new about how to fix this problem myabe i need to do something with the router but not sure can anyone helpp plzzzzzzzzzzz i would love to chat on my yahoo

    How do you assign your IP addresses? If some computers have static IP addresses and those are allocated for DHCP then one of the computers would be kicked out from your local network. Sometimes Windows gives you a worning that other devce uses the same IP address. But sometimes it does not.
    Another question is: how do you know that you have been kicked out of net?

  • Need help with Google Chat

    Hi,
    These questions might be really simple because I think I'm one of the only people in the UK that's never used an IM before.  I thought that as my phone (Palm Pre) could do instant messaging I'd have a go at it.  I already had a google mail account (set up to sync my calendars) so thought it'd be easiest to use google chat.  However, I seem to only be able to chat with people I've invited or who have invited me to to be their firends, but I can't work out how to do this on the phone.
    Yesterday my husband used his phone (HTC desire) to invite me to be his friend on google chat but I couldn't see the invite on my phone.  I had to log into my google account on my PC and accept the invitation before we could chat.  I also can't see how I invite other people via my phone.  I tried logging onto my google account using my phone's browser, but it didn't seem to display the bit where you type the name to invite people.
    My other question is probably even more basic.  If I have friends on MSN or other messenger services can I contat them using my googlechat service on my phone, or do I have to set up an account for each different messaging service.
    Thanks to anyone who can help on this.
    P.S.  Please don't let my husbands phone be better at this than mine or I'll never hear the end of it :-)

    See http://discussions.apple.com/message.jspa?messageID=9245877#9245877

  • Need help with facebook chat and notifications

    Hey, guys.
    Since I update to software version 10.2.1.2102 I havent been able to recieve facebook chat messages on the blackberry hub. Before the update anytime I had my phone conected to a wireless network it automatically recieved facebook messages on the hub. Now, although I can send messages, and recieve messages if that contact happens to be online, once I close the hub the conversation is gone and I do not get any more messages, only the "new messages from *person*" e-mail after some time.
    Also, I do not get notifications about people's birthdays. I get the "Next event in x hours" notification on the lock screen, if I do go into the calendar I see the notification at the top of the page, but it does not ring to warn me of my contacts birthdays.
    Can anyone help me with this two problems? Thank you!
    Solved!
    Go to Solution.

    Start by resetting your Hub. While in the Hub, swipe down diagonally from the top right corner to the center of your screen four times in a row.
    Let us know if that helps you.  
    - If my response has helped you, please click "Options" beside my post and mark it as solved. Clicking the "thumbs up" icon near the bottom of my response would also be appreciated.

  • Need help on applet  chat

    Dear all,
    I need a applet chat program (source code or jar engine), including chat, voice, webcam (if possible). Please advice
    Thanks
    CAO

    Dear all,
    I need a applet chat program (source code or jar
    engine), including chat, voice, webcam (if possible).
    Please advice
    Thanks
    CAOIf you decide to do the applet yourself, to include the webcam, the JavaTwain package http://www.gnome.sk can be very usefull.
    There is an online tutorial too, where you can find an applet which uploads the image from the client's webcam (or scanner) to the server.
    If you have a camera connected to your computer, you can see how this applet works directly from the website's remote examples.
    Erika Kupkova
    Erika

  • Need help with integrating chat into Gui

    Hello Guys,
    I'm fairly new to Java and I have a quick question regarding a simple chat program in java. My problem is that I have a simple chat program that runs from its own JFrame etc. Most of you are probably familiar with the code below, i got it from one of my java books. In any case, what I'm attempting to do is integrate this chat pane into a gui that i have created. I attempted to call an instace of the Client class from my gui program so that I can use the textfield and textarea contained in my app, but it will not allow me to do it. Would I need to integrate this code into the code for my Gui class. I have a simple program that contains chat and a game. The code for the Client is listed below.
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import java.net.*;
    import javax.swing.*;
    public class Client
    extends JPanel {
    public static void main(String[] args) throws IOException {
    String name = args[0];
    String host = args[1];
    int port = Integer.parseInt(args[2]);
    final Socket s = new Socket(host, port);
    final Client c = new Client(name, s);
    JFrame f = new JFrame("Client : " + name);
    f.addWindowListener(new WindowAdapter() { 
    public void windowClosing(WindowEvent we) { 
    c.shutDown();
    System.exit(0);
    f.setSize(300, 300);
    f.setLocation(100, 100);
    f.setContentPane(c);
    f.setVisible(true);
    private String mName;
    private JTextArea mOutputArea;
    private JTextField mInputField;
    private PrintWriter mOut;
    public Client(final String name, Socket s)
    throws IOException {
    mName = name;
    createUI();
    wireNetwork(s);
    wireEvents();
    public void shutDown() {
    mOut.println("");
    mOut.close();
    protected void createUI() {
    setLayout(new BorderLayout());
    mOutputArea = new JTextArea();
    mOutputArea.setLineWrap(true);
    mOutputArea.setEditable(false);
    add(new JScrollPane(mOutputArea), BorderLayout.CENTER);
    mInputField = new JTextField(20);
    JPanel controls = new JPanel();
    controls.add(mInputField);
    add(controls, BorderLayout.SOUTH);
    mInputField.requestFocus();
    protected void wireNetwork(Socket s) throws IOException {
    mOut = new PrintWriter(s.getOutputStream(), true);
    final String eol = System.getProperty("line.separator");
    new Listener(s.getInputStream()) {
    public void processLine(String line) {
    mOutputArea.append(line + eol);
    mOutputArea.setCaretPosition(
    mOutputArea.getDocument().getLength());
    protected void wireEvents() {
    mInputField.addActionListener(new ActionListener() {
    public void actionPerformed(ActionEvent ae) {
    String line = mInputField.getText();
    if (line.length() == 0) return;
    mOut.println(mName + " : " + line);
    mInputField.setText("");

    I think the easiest way to do it would be to cut an paste most of that code into your program. Then all you have to do is change some names so that it uses your textfield and textarea.

  • Need help coding simple chat client/server

    I'm writing a simple chat server/client... its works fine when run on console.. but when i used Frames, AWT gui's.... it seems that the thread that is used to read the incoming message is suspended ... until i press the [send] button.. It seems to me that AWT consumes the time listening to any event.... and my thread is waiting... for the some AWT specific events to occur.....
    If your interested guys.. i'm willing to post the source code.. here.

    Try using the swing components. I think they are supposed to be more thread safe than awt. There is a tutorial for dealing with threads and swing:
    http://java.sun.com/tutorial/uiswing/overview/threads.html
    hopes this helps

  • Need help adding live chat into Adobe Muse

    Has anyone successfully added a live chat feature into Adobe Muse?
    We're in final design stages of creating new site and would like to use a live chat program (Olark, Live Person, etc) -- have received the html embed, attempted to add the html into a page unsuccessfully.   We've added code in other pages. 
    Thanks.

    Most of those services would have given you a guide on where to place the code. The code mostly would be embedded in the head section. To do that in Muse, right click anywhere on the board-select page properties-metadata-head. Then paste the code there. Publish your site and you would see the chat widget on your site.

  • Need help with a java chat software!!! Anyone pls give ideas

    I need to implement a chat protocol with sockets for my course!!
    As of now i have only got to the simple client server application with sockets and have a user interface with panels.
    How could I proceed...
    How should i use login names and passwords??
    Should i use if else loops to specify :
    various headers like
    login
    pass
    send
    exit
    if you could point out som esite that will be helpful or even a book it would be of great help!!

    Don't use if/else loops, they have this nasty habit of not existing.
    My quarter-pence:
    For passwords, use a map which maps name/hashed password. That way, you'll never actually store the password.

  • I purchased Acrobat Standard, not realizing it is not compatible with MAC. I need to exchange. I just chatted with a so-called "specialist" who told me to sign in and download the same program. I got the same blasted message. I need help. I need to exchan

    I purchased Acrobat Standard, not realizing it is not compatible with MAC. I need to exchange. I just chatted with a so-called "specialist" who told me to sign in and download the same program. I got the same blasted message. I need help. I need to exchange this program for one that is compatible with my MAC. The standard is of no use to me at all. I feel like I have been ripped off

    Hi Kargi,
    We are working on getting things straightened out for you. You should be hearing from a Customer Care agent shortly.
    Best,
    Sara

  • What happened to the 24/7 live chat for mobile me? I need help right now. Too complex for this. Crime involved., What happened to the 24/7 live chat for mobile me? I need help right now. Too complex for this. Crime involved.

    What happened to the 24/7 live chat for mobile me? I need help right now. Too complex for this. Crime involved., What happened to the 24/7 live chat for mobile me? I need help right now. Too complex for this. Crime involved.

    Hi Tmswrite,
    Here is what you want to do to protect yourself and your device:
    Find My iPhone Basics  - Apple Support
    iCloud: Find My iPhone overview
    Here's some information on how the Activation Lock protects you:
    Find My iPhone Activation Lock in iOS 7
    Sorry for your troubles. Hope it turns out OK for you!
    GB

  • Need help with hearing Skype and Steam chats at th...

    When im using skype and using steam (a gaming app) i cant hear my skype friends through my headphones and i need help
    Subject/title expanded from "Help."

    Hi, Natasharocks11, and welcome to the Community,
    I could not detect from your post precisely what the problem with your account is.  Please kindly post back with details as well as any error messages you may be seeing. 
    Thank you,
    Elaine
    Was your question answered? Please click on the Accept as a Solution link so everyone can quickly find what works! Like a post or want to say, "Thank You" - ?? Click on the Kudos button!
    Trustworthy information: Brian Krebs: 3 Basic Rules for Online Safety and Consumer Reports: Guide to Internet Security Online Safety Tip: Change your passwords often!

Maybe you are looking for

  • Cisco ISE 1.2 TLS 1.1 and 1.2

    I'm currently running ISE 1.2 patch 6 and I'm noticing that ISE does not use TLS 1.1 or 1.2 for the admin portal or the sponsor portal. I haven't tested the guest portal, but I'm assuming it applies there as well. Is the future release of ISE going t

  • Opening Documents in Word Crashes the Server

    I posted this in the "Using OS X" forum, since I didn't believe the problem to be OS X Server-specific, but haven't received any response at all. So If no one objects, I'm going to give it a try here: I'm running OSX Server 10.4.11 (none of the other

  • Message:typing error in 5800 xm

    i recently upgraded to firmware v51 after updating  i m experiencing a strange problem """"while pressing O it types L  ---- the key just below it-----""""" and with other keys too pressing something and typing something else............ anyone plz g

  • Anyone got 11.1.2.0.0 HFM working on 2008 SR2?

    Hi, I have a distributed install with - all the web apps on a Win2008SR2 VM with 4GB of RAM - SQLServer2005 and Essbase 32 bit on a Windows2003EE VM with 3GB of RAM - R&A Framework, FM Service and FDM Server on a Windows 2008SR2 installation with 2GB

  • Two actions on one button click

    Hi All, I have one button that I want to do two things. When I test the movie I have to click on the button twice to make both actions happen. Is my machine on drugs or is there something I'm missing? Here's the AS I'm using on the button. on (releas