Results 1 to 2 of 2

Thread: Blind transfer and call forwarding sample program

  1. #1
    Join Date
    Mar 2012
    Posts
    1

    Blind transfer and call forwarding sample program

    I started to prepare my softphone and my question is related to this. Is it possible to implement blind call transfer with call transfer sample programs if yes, how? The background information about the sample program I am using is:
    voip-sip-sdk.com/p_350-forward-incoming-call-voip.html#sourcecode Please consider that I am a newbie developer and I lack some important background knowledge. Thank you for understanding me and thank you for your answer in advance.

  2. #2
    Join Date
    Jan 2006
    Posts
    605

    Re: Blind transfer and call forwarding sample program

    The below example shows how to forward a http call from a servlet to another page in the same web application. To do a forward we need to get an instance of RequestDispatcher by calling the getRequestDispatcher() method on the HttpServletRequest object.
    Code:
    import java.io.*;
    
    import javax.servlet.*;
    import javax.servlet.http.*;
    
    /**
     * Example Servlet
     * @author www.javadb.com
     */
    public class ExampleServlet extends HttpServlet {
        
        /** Processes requests for both HTTP <code>GET</code> and <code>POST</code> methods.
         * @param request servlet request
         * @param response servlet response
         */
        protected void service(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException {
    
            RequestDispatcher dispatcher = request.getRequestDispatcher("/otherPage.jsp");
            
            dispatcher.forward(request, response);
        }
        
    }

Similar Threads

  1. Replies: 6
    Last Post: 28-02-2012, 10:21 PM
  2. Replies: 6
    Last Post: 23-10-2011, 08:09 PM
  3. Call forwarding with virtual numbers
    By Macadrian in forum Technology & Internet
    Replies: 5
    Last Post: 13-12-2010, 05:28 PM
  4. Call Forwarding Active on iPhone 4
    By Aaryn in forum Portable Devices
    Replies: 4
    Last Post: 13-10-2010, 11:19 AM
  5. Verizon stop call forwarding
    By Claudius in forum India BroadBand
    Replies: 3
    Last Post: 15-06-2009, 10:13 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,586,486.40461 seconds with 17 queries