User Profile

Collapse

Profile Sidebar

Collapse
chuwfan
chuwfan
Last Activity: Apr 11 '07, 01:00 PM
Joined: Mar 20 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • chuwfan
    replied to Converting number into word, how??
    in Java
    Thanks for the information, i will study it at google....
    See more | Go to post

    Leave a comment:


  • chuwfan
    replied to Converting number into word, how??
    in Java
    Sorry cause i a newbie in java, maybe this is a stupid question,
    but may i know what is the % operator or may i know where can get this information?
    i try to search at google.com but i can't really get what it means at all.

    Thanks....
    See more | Go to post

    Leave a comment:


  • chuwfan
    replied to SIP Proxy Server Help
    in Java
    Anybody?
    Please try to help me.
    See more | Go to post

    Leave a comment:


  • chuwfan
    replied to SIP Proxy Server Help
    in Java
    continue here... sorry it's so long, hope you won't mind.

    Code:
       /** When a new response message is received */
       public void processResponse(Message resp)
       {  printLog("inside processResponse(msg)",LogLevel.MEDIUM);
    		System.out.println("response message");
          if(call_logger!=null) call_logger.update(resp);
    
          updateProxingResponse(resp);
    ...
    See more | Go to post

    Leave a comment:


  • chuwfan
    replied to SIP Proxy Server Help
    in Java
    Code:
    public class Proxy extends Registrar implements TransactionClientListener
    {
       /** Log of processed calls */
       CallLogger call_logger;
    
       	/** Transactions state */
       	protected StatefulProxyState state=null;
    
          /** SipProvider for client transactions */
          protected SipProvider sip_provider_client;
    
          /** SipProvider for server transactions */
    ...
    See more | Go to post

    Leave a comment:


  • chuwfan
    replied to SIP Proxy Server Help
    in Java
    it feels like stuck at middle cause by some part of the coding,
    i try so hard to debug it,
    but still can't get it.
    See more | Go to post

    Leave a comment:


  • chuwfan
    replied to SIP Proxy Server Help
    in Java
    ok,
    i try to track the flow when i connect with the client and try to call another client.

    what i get is,

    1st it go to the processRequestT oLocalUser method and then make a SipURL url=new SipURL((String) (targets.elemen tAt(i))); object.

    2nd it go to the header part, updateProxingRe quest method, and then go through it and add Record-Route then add ViaHeader.

    3rd it suddenly jump back...
    See more | Go to post

    Leave a comment:


  • chuwfan
    replied to SIP Proxy Server Help
    in Java
    protected Message updateProxingRe sponse(Message resp)
    { printLog("insid e updateProxingRe sponse(resp)",L ogLevel.MEDIUM) ;
    System.out.prin tln("header for response");
    ViaHeader vh=new ViaHeader((Head er)resp.getVias ().getHeaders() .elementAt(0));
    if (vh.getHost().e quals(sip_provi der.getViaAddre ss())) resp.removeViaH eader();
    return resp;
    }


    actually...
    See more | Go to post

    Leave a comment:


  • chuwfan
    started a topic SIP Proxy Server Help
    in Java

    SIP Proxy Server Help

    Good day every one,
    i just try to develop a sip proxy with mjsip's library,
    now i am facing problem,
    1st, the client is connected to proxy,
    but it can make call (VoIP) to another client,
    the client i using to test is the window messenger 5.1 (with sip support).

    anybody can help me look on the code and try to tell me what is going wrong pls..

    the packet of the client send to proxy just...
    See more | Go to post
No activity results to display
Show More
Working...