├── CallScreening ├── README.md ├── build.xml ├── src │ └── com │ │ └── tcs │ │ └── voice │ │ ├── CSusers.java │ │ └── CallScreening.java └── web │ ├── My Company Name1.html │ ├── My Company Name1_files.zip │ ├── My Company Name1_files │ ├── My Company Name1.html │ ├── logo.png │ └── styles.css │ ├── My Company Name_files.zip │ ├── My Company Name_files │ ├── lgo.png │ ├── login.html │ └── styles.css │ ├── Succesfullogin.html │ ├── Thumbs.db │ ├── WEB-INF │ ├── Copy of sip.xml │ ├── GetResult.html │ ├── Thumbs.db │ ├── back.JPG │ ├── background.jpg │ ├── index.html │ ├── loadScript.html │ ├── login.html │ ├── main.html │ ├── register.html │ ├── sip.xml │ ├── sip.xml~ │ ├── ssdupdate.txt │ ├── t.css │ ├── web.xml │ └── weblogic.xml │ ├── auth.jsp │ ├── back.JPG │ ├── background.jpg │ ├── csusers.jsp │ ├── index.html │ ├── index1.html │ ├── index_old.html │ ├── key.png │ ├── login.html │ ├── main.html │ ├── mofail │ ├── register.html │ ├── richa.xml │ ├── styles.css │ └── t.css ├── CallSimple ├── build.xml ├── dist │ └── CallSimple.war ├── src │ └── com │ │ └── tcs │ │ └── voice │ │ ├── CallSimple.java │ │ ├── Call_Pick.java │ │ └── SBSRBE.txt └── web │ ├── Succesfullogin.html │ ├── Thumbs.db │ ├── WEB-INF │ ├── Copy of sip.xml │ ├── GetResult.html │ ├── Thumbs.db │ ├── back.JPG │ ├── background.jpg │ ├── index.html │ ├── loadScript.html │ ├── login.html │ ├── main.html │ ├── register.html │ ├── sip.xml │ ├── sip.xml~ │ ├── ssdupdate.txt │ ├── t.css │ ├── web.xml │ └── weblogic.xml │ ├── back.JPG │ ├── background.jpg │ ├── index.html │ ├── index1.html │ ├── index_old.html │ ├── login.html │ ├── main.html │ ├── mofail │ ├── register.html │ ├── richa.xml │ └── t.css ├── CallerID ├── README.md ├── build.xml ├── src │ └── com │ │ └── HelloWorld │ │ └── CallerID.java └── web │ └── WEB-INF │ ├── sip.xml │ ├── web.xml │ └── weblogic.xml ├── GoogleCalendar ├── .classpath ├── .project ├── .settings │ └── org.eclipse.jdt.core.prefs ├── bin │ └── com │ │ └── tcs │ │ └── GoogleCalendar.class ├── build.xml ├── log4j.properties ├── src │ └── com │ │ └── tcs │ │ └── GoogleCalendar.java └── web │ └── WEB-INF │ ├── sip.xml │ ├── web.xml │ └── weblogic.xml ├── IPTV2 ├── build.xml ├── src │ └── com │ │ └── tcs │ │ ├── CallLeg.java │ │ ├── Service.java │ │ └── iptv │ │ ├── Call.java │ │ └── IPTV.java └── web │ ├── Succesfullogin.html │ ├── Thumbs.db │ ├── WEB-INF │ ├── Copy of sip.xml │ ├── GetResult.html │ ├── Thumbs.db │ ├── back.JPG │ ├── background.jpg │ ├── index.html │ ├── loadScript.html │ ├── login.html │ ├── main.html │ ├── register.html │ ├── sip.xml │ ├── sip.xml~ │ ├── ssdupdate.txt │ ├── t.css │ ├── web.xml │ └── weblogic.xml │ ├── back.JPG │ ├── background.jpg │ ├── index.html │ ├── index1.html │ ├── index_old.html │ ├── login.html │ ├── main.html │ ├── mofail │ ├── register.html │ ├── richa.xml │ └── t.css ├── MusicOnHold ├── build.xml ├── log4j.properties ├── src │ └── com │ │ └── tcs │ │ ├── Musichold.java │ │ └── Musichold.java~ └── web │ └── WEB-INF │ ├── sip.xml │ ├── web.xml │ └── weblogic.xml ├── ParentalControl ├── .classpath ├── .project ├── .settings │ ├── .jsdtscope │ ├── org.eclipse.jdt.core.prefs │ ├── org.eclipse.wst.common.component │ ├── org.eclipse.wst.common.project.facet.core.xml │ ├── org.eclipse.wst.jsdt.ui.superType.container │ └── org.eclipse.wst.jsdt.ui.superType.name ├── ImportedClasses │ └── com │ │ └── tcs │ │ └── ParentalControl.class ├── WebContent │ ├── META-INF │ │ └── MANIFEST.MF │ ├── Thumbs.db │ ├── WEB-INF │ │ ├── Thumbs.db │ │ ├── sip.xml │ │ ├── t.css │ │ ├── web.xml │ │ └── weblogic.xml │ └── t.css ├── build.xml ├── src │ └── com │ │ └── tcs │ │ └── ParentalControl.java ├── timer.txt └── web │ ├── Thumbs.db │ ├── WEB-INF │ ├── Thumbs.db │ ├── lib │ │ ├── cldc-1.1.jar │ │ ├── commons-codec-1.4.jar │ │ ├── commons-collections-3.2.1.jar │ │ ├── commons-io-1.4.jar │ │ ├── commons-lang-2.4.jar │ │ ├── commons-logging-1.1.1.jar │ │ ├── commons-logging-1.1.jar │ │ ├── commons-logging.jar │ │ ├── cos.jar │ │ ├── log4j-1.2.8.jar │ │ ├── ojdbc6.jar │ │ ├── postgresql-9.1-901.jdbc3.jar │ │ ├── postgresql-9.1-902.jdbc4.jar │ │ ├── postgresql.jar │ │ ├── servlet.jar │ │ ├── sipservlet-1_1-api.jar │ │ └── sipservlet.jar │ ├── sip.xml │ ├── t.css │ ├── web.xml │ └── weblogic.xml │ └── t.css ├── README.md ├── Registrar ├── .classpath ├── .project ├── .settings │ └── org.eclipse.jdt.core.prefs ├── bin │ └── com │ │ └── tcs │ │ └── Registrar.class ├── build.xml ├── log4j.properties ├── src │ └── com │ │ └── tcs │ │ └── Registrar.java └── web │ └── WEB-INF │ ├── sip.xml │ ├── web.xml │ └── weblogic.xml ├── ServiceBroker ├── .classpath ├── .project ├── .settings │ ├── .jsdtscope │ ├── org.eclipse.jdt.core.prefs │ ├── org.eclipse.wst.common.component │ ├── org.eclipse.wst.common.project.facet.core.xml │ ├── org.eclipse.wst.jsdt.ui.superType.container │ ├── org.eclipse.wst.jsdt.ui.superType.name │ └── org.hibernate.eclipse.console.prefs ├── ImportedClasses │ └── Service │ │ ├── Scenario.class │ │ ├── ServiceBroker.class │ │ └── User.class ├── README.md ├── WebContent │ ├── META-INF │ │ └── MANIFEST.MF │ ├── Page1.jsp │ ├── Page2.jsp │ ├── Page3.jsp │ ├── Page4.jsp │ ├── Page5.jsp │ ├── Thumbs.db │ ├── WEB-INF │ │ ├── Copy of sip.xml │ │ ├── GetResult.html │ │ ├── Thumbs.db │ │ ├── back.JPG │ │ ├── background.jpg │ │ ├── index.html │ │ ├── lib │ │ │ ├── Diameter.jar │ │ │ ├── algorithm.jar │ │ │ ├── commons-logging.jar │ │ │ ├── cos.jar │ │ │ ├── filterbuilder.jar │ │ │ ├── htmllexer.jar │ │ │ ├── htmlparser.jar │ │ │ ├── junit.jar │ │ │ ├── log4j-1.2.8.jar │ │ │ ├── rtp_DesktopDLL.dll │ │ │ ├── sax2.jar │ │ │ ├── servlet.jar │ │ │ ├── sipservlet.jar │ │ │ ├── thumbelina.jar │ │ │ ├── xerces.jar │ │ │ └── xercesSamples.jar │ │ ├── loadScript.html │ │ ├── login.html │ │ ├── main.html │ │ ├── register.html │ │ ├── sip.xml │ │ ├── ssdupdate.txt │ │ ├── t.css │ │ ├── web.xml │ │ └── weblogic.xml │ ├── frame1.html │ ├── frame2.html │ ├── image2.jpg │ └── img3.jpg ├── build.xml ├── src │ └── Service │ │ ├── Scenario.java │ │ ├── ServiceBroker.java │ │ └── User.java └── web │ ├── Page1.jsp │ ├── Page2.jsp │ ├── Page3.jsp │ ├── Page4.jsp │ ├── Page5.jsp │ ├── Thumbs.db │ ├── WEB-INF │ ├── Copy of sip.xml │ ├── GetResult.html │ ├── Thumbs.db │ ├── back.JPG │ ├── background.jpg │ ├── index.html │ ├── lib │ │ ├── Diameter.jar │ │ ├── algorithm.jar │ │ ├── commons-logging.jar │ │ ├── cos.jar │ │ ├── filterbuilder.jar │ │ ├── htmllexer.jar │ │ ├── htmlparser.jar │ │ ├── junit.jar │ │ ├── log4j-1.2.8.jar │ │ ├── rtp_DesktopDLL.dll │ │ ├── sax2.jar │ │ ├── thumbelina.jar │ │ ├── xerces.jar │ │ └── xercesSamples.jar │ ├── loadScript.html │ ├── login.html │ ├── main.html │ ├── register.html │ ├── sip.xml │ ├── ssdupdate.txt │ ├── t.css │ ├── web.xml │ └── weblogic.xml │ ├── frame1.html │ ├── frame2.html │ └── image2.jpg ├── ThirdPartyTransfer ├── build.xml ├── src │ └── com │ │ └── ThirdPartyTransfer │ │ └── TransferController.java └── web │ └── WEB-INF │ ├── sip.xml │ ├── web.xml │ └── weblogic.xml ├── VoiceCall ├── build.xml ├── src │ └── com │ │ ├── CallLeg.java │ │ └── VoiceCall.java └── web │ └── WEB-INF │ ├── sip.xml │ ├── web.xml │ └── weblogic.xml └── Voicemailserver ├── .classpath ├── .project ├── .settings ├── .jsdtscope ├── org.eclipse.jdt.core.prefs ├── org.eclipse.wst.common.component ├── org.eclipse.wst.common.project.facet.core.xml ├── org.eclipse.wst.jsdt.ui.superType.container └── org.eclipse.wst.jsdt.ui.superType.name ├── ImportedClasses └── com │ └── tcs │ ├── Voicemailserver$1.class │ └── Voicemailserver.class ├── WebContent ├── META-INF │ └── MANIFEST.MF ├── Thumbs.db └── WEB-INF │ ├── Thumbs.db │ ├── config.properties │ ├── sip.xml │ ├── web.xml │ └── weblogic.xml ├── build.xml ├── config.properties ├── src └── com │ └── tcs │ ├── Voicemailserver.java │ └── config.properties └── web ├── Thumbs.db └── WEB-INF ├── Thumbs.db ├── config.properties ├── lib ├── Diameter.jar ├── Shortcut to lib.lnk ├── algorithm.jar ├── commons-logging.jar ├── cos.jar ├── filterbuilder.jar ├── htmllexer.jar ├── htmlparser.jar ├── junit.jar ├── log4j-1.2.8.jar ├── rtp_DesktopDLL.dll ├── sax2.jar ├── thumbelina.jar ├── xerces.jar └── xercesSamples.jar ├── sip.xml ├── sip.xml~ ├── web.xml └── weblogic.xml /CallScreening/README.md: -------------------------------------------------------------------------------- 1 | SIP Servlets 2 | ============== 3 | 4 | # Call Screening 5 | Call screening service blocks a list of users from calling a subscriber, on date or/and time basis who is subscribed to this service, and Find-Me-Follow-Me service allows a user to be reached at more that one location in round robin fashion. 6 | Interaction logic first calls the Call Screening service to find if the caller is screened by the callee or not, and based on 7 | the response it may forward the call to FMFM service or rejects the call attempt. The two services are independent of each 8 | other and could be orchestrated using the service broker to act as one single service logic. 9 | 10 | 11 | More application descriptions are included here [Telecom SIP application summary] 12 | 13 | 14 | [Telecom SIP application summary]:https://altanaitelecom.wordpress.com/2014/01/15/applications-for-telecom-providers-that-cater-to-sip/ 15 | [Music on hold SIP Servlet Application ]:https://altanaitelecom.wordpress.com/2013/07/17/music-on-hold/ 16 | -------------------------------------------------------------------------------- /CallScreening/src/com/tcs/voice/CSusers.java: -------------------------------------------------------------------------------- 1 | /* 2 | Project : CallScreening 3 | Author : altanai Bisht 4 | Role : Developer @ CNS lab , Delhi 5 | http://altanaitelecom.wordpress.com 6 | Date : 4 Sep , 2012 7 | */ 8 | 9 | package com.tcs.voice; 10 | 11 | import javax.servlet.RequestDispatcher; 12 | import javax.servlet.ServletConfig; 13 | import javax.servlet.ServletException; 14 | import javax.servlet.ServletOutputStream; 15 | import javax.servlet.http.HttpServlet; 16 | import javax.servlet.http.HttpServletRequest; 17 | import javax.servlet.http.HttpServletResponse; 18 | import javax.servlet.http.HttpSession; 19 | import org.apache.log4j.Logger; 20 | 21 | import com.sinotar.algorithm.Base64; 22 | 23 | import javax.servlet.ServletContext; 24 | 25 | import java.io.ByteArrayOutputStream; 26 | import java.io.DataInputStream; 27 | import java.io.IOException; 28 | import java.io.InputStream; 29 | import java.io.*; 30 | import java.io.IOException; 31 | import java.util.*; 32 | import java.net.*; 33 | import java.sql.*; 34 | 35 | import org.apache.commons.logging.Log; 36 | import org.apache.commons.logging.LogFactory; 37 | import com.oreilly.servlet.multipart.FilePart; 38 | import com.oreilly.servlet.multipart.MultipartParser; 39 | import com.oreilly.servlet.multipart.ParamPart; 40 | import com.oreilly.servlet.multipart.Part; 41 | 42 | 43 | public class CSusers extends HttpServlet 44 | { 45 | Connection con = null; 46 | //String connectionURL = "jdbc:pointbase:server://localhost/appboxusers"; 47 | String connectionURL = "jdbc:pointbase:server://localhost/assistant"; 48 | //PreparedStatement pst_update; 49 | PreparedStatement pst_select; 50 | ResultSet rs; 51 | 52 | 53 | //@ ServerSocket def_socket = null; 54 | //@ Socket client_sock = null; 55 | 56 | // private static Logger log = Logger.getLogger(ACSAuthServlet.class); 57 | 58 | public void init(ServletConfig config) throws ServletException 59 | { 60 | System.out.println("Inside CSusers Servlet init............."); 61 | super.init(config); 62 | 63 | } 64 | 65 | 66 | public void doGet(HttpServletRequest req, HttpServletResponse res)throws ServletException, IOException 67 | { 68 | res.setContentType("text/html"); 69 | System.out.println("inside doGet"); 70 | 71 | System.out.println ("Screened user " + req.getParameter("users") + "\n"); 72 | 73 | HttpSession session=req.getSession(); 74 | 75 | session.setAttribute("ScreenedUser", req.getParameter("users")); 76 | 77 | 78 | } 79 | 80 | 81 | 82 | } 83 | -------------------------------------------------------------------------------- /CallScreening/src/com/tcs/voice/CallScreening.java: -------------------------------------------------------------------------------- 1 | /* 2 | Project : CallScreening 3 | Author : altanai Bisht 4 | Role : Developer @ CNS lab , Delhi 5 | http://altanaitelecom.wordpress.com 6 | Date : 4 Sep , 2012 7 | */ 8 | 9 | package com.tcs.voice; 10 | 11 | import java.io.IOException; 12 | import javax.servlet.*; 13 | import javax.servlet.sip.*; 14 | import javax.servlet.sip.Proxy; 15 | import org.apache.commons.logging.Log; 16 | import org.apache.commons.logging.LogFactory; 17 | import javax.servlet.http.HttpSession; 18 | import java.util.*; 19 | 20 | public class CallScreening extends SipServlet 21 | { 22 | private static SipFactory factory; 23 | private static SipApplicationSession sas; 24 | private static Proxy proxy; 25 | private static ServletContext context; 26 | 27 | public void init(ServletConfig config) throws ServletException 28 | { 29 | super.init(config); 30 | context=config.getServletContext(); 31 | factory = (SipFactory) context.getAttribute(SipServlet.SIP_FACTORY); 32 | sas=factory.createApplicationSession(); 33 | } 34 | 35 | protected void doInvite(SipServletRequest req) throws java.lang.IllegalArgumentException,java.lang.IllegalStateException,javax.servlet.ServletException,java.io.IOException 36 | { 37 | System.out.println("Received an Invite Request: CS"); 38 | /* 39 | Iterator itr=sas.getSessions("HTTP"); 40 | System.out.println("Iterator: "+ itr+"\n\n"); 41 | HttpSession hsession=(HttpSession)itr.next();; 42 | System.out.println(hsession + "\n"); 43 | System.out.println(hsession.getAttribute("ScreenedUser")); 44 | */ 45 | String scuser=(String)context.getAttribute("ScreenedUser"); 46 | System.out.println("Screened User:"+scuser); 47 | SipURI from=((SipURI)req.getFrom().getURI()); 48 | if(from.getUser().equals(scuser)) 49 | { 50 | req.createResponse(487).send(); 51 | System.out.println("User is blocked"); 52 | 53 | } 54 | else 55 | { 56 | //req.setRequestURI(); 57 | System.out.println("User is not blocked New"); 58 | Proxy px=req.getProxy(true); 59 | URI sburi=factory.createURI("sip:10.1.5.20:5090"); 60 | px.proxyTo(sburi); 61 | System.out.println("User is not blocked"); 62 | } 63 | 64 | } 65 | 66 | 67 | 68 | } -------------------------------------------------------------------------------- /CallScreening/web/My Company Name1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | My Company Name1 9 | 12 | 13 |
14 |
15 |
16 | 19 | 20 | 21 | 22 | 23 |
24 |
25 |
26 | 27 |

28 | 29 | 30 |

31 |

32 | 33 | 34 |

35 |

36 | 37 | 38 |

39 |

40 | 41 | 42 |

43 | 44 | 46 |
    47 |
  • 48 |
  • 49 |
50 |
51 | 52 | 53 |
54 | 55 | 56 |
By TCS CNS Lab
57 | -------------------------------------------------------------------------------- /CallScreening/web/My Company Name1_files.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/CallScreening/web/My Company Name1_files.zip -------------------------------------------------------------------------------- /CallScreening/web/My Company Name1_files/My Company Name1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | My Company Name1 9 | 12 | 13 |
14 |
15 |
16 | 19 | 20 | 21 | 22 | 23 |
24 |
25 |
26 | 27 |

28 | 29 | 30 |

31 |

32 | 33 | 34 |

35 |

36 | 37 | 38 |

39 |

40 | 41 | 42 |

43 | 44 | 46 |
    47 |
  • 48 |
  • 49 |
50 |
51 | 52 | 53 |
54 | 55 | 56 |
By TCS CNS Lab
57 | -------------------------------------------------------------------------------- /CallScreening/web/My Company Name1_files/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/CallScreening/web/My Company Name1_files/logo.png -------------------------------------------------------------------------------- /CallScreening/web/My Company Name_files.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/CallScreening/web/My Company Name_files.zip -------------------------------------------------------------------------------- /CallScreening/web/My Company Name_files/lgo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/CallScreening/web/My Company Name_files/lgo.png -------------------------------------------------------------------------------- /CallScreening/web/My Company Name_files/login.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | My Company Name 9 | 12 | 13 |
14 |
15 |
16 | 19 |
20 |

Login

21 |
22 |
23 |
24 |
25 |
26 |

27 | 28 | 29 |

30 |

31 | 32 | 33 |

34 | 36 | 40 |
41 | 42 | 43 |
44 |
45 | 46 |
By TCS CNS Lab
47 | -------------------------------------------------------------------------------- /CallScreening/web/Succesfullogin.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | New Page 1 8 | 9 | 10 | 11 | 12 | < 13 | 14 | 15 |
16 | 24 |
27 | 28 |

TO avail the service please registerREGISTER.

29 | 30 | 31 | 32 | 33 |
34 |
35 | 36 | 37 | HOME 38 | 39 | 40 | 41 | 42 |
43 | 44 | 45 | 46 | 51 | 52 | 53 | 54 | 55 |
56 |

 

57 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /CallScreening/web/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/CallScreening/web/Thumbs.db -------------------------------------------------------------------------------- /CallScreening/web/WEB-INF/GetResult.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |

Tatara Convergent Server

5 | Result 6 |
7 |
9 | 10 | 11 |
12 |
13 | Please click submit only when you have executed all the command on A1p Site in SIA 14 |
15 |
16 |
17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /CallScreening/web/WEB-INF/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/CallScreening/web/WEB-INF/Thumbs.db -------------------------------------------------------------------------------- /CallScreening/web/WEB-INF/back.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/CallScreening/web/WEB-INF/back.JPG -------------------------------------------------------------------------------- /CallScreening/web/WEB-INF/background.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/CallScreening/web/WEB-INF/background.jpg -------------------------------------------------------------------------------- /CallScreening/web/WEB-INF/index.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | Tata Consultancy Services 7 | 8 | 9 |
10 | 11 | 12 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |

Welcome to iPage.

To Login, please enter your User id and password.
30 |
31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 44 | 45 | 46 |
User Id:
Password:
42 | 43 | New User,Click here to register!
47 | 48 | 49 |
50 | 51 | 52 | 53 | 59 | 60 |
61 | 62 | 63 | -------------------------------------------------------------------------------- /CallScreening/web/WEB-INF/login.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | New Page 1 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 17 | 18 | 19 | 20 |

Please enter your username and password

21 | 22 | 23 |

Username

24 |

Password

25 |

26 |
27 |

 

28 | 29 | 30 | 31 |
34 | 35 |

To begin calling... click on Call.

36 | 37 | 38 | 39 | 40 |
41 |
42 | 43 | 44 | 45 | 46 | 47 | 48 |
49 | 50 | 51 | 52 | 57 | 58 | 59 | 60 | 61 | 62 | -------------------------------------------------------------------------------- /CallScreening/web/WEB-INF/main.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | Tata Consultancy Services 7 | 8 | 9 |
10 | 11 | 12 | 17 | 18 | 19 | 20 |
23 | 24 |

To begin calling... click on Call.

25 | 26 | 27 | 28 | 29 |
30 |
31 | 32 |

Hookedon

33 | Call 34 | 35 | 36 | 37 | 38 |
39 | 40 | 41 | 42 | 47 | 48 |
49 | 50 | 51 | -------------------------------------------------------------------------------- /CallScreening/web/WEB-INF/sip.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 11 | 14 | 15 | 16 | CallScreening 17 | A simple application illustrating how to write a Proxy. 18 | 19 | 20 | 21 | 22 | CallScreening 23 | CallScreening 24 | CallScreening servlet 25 | com.tcs.voice.CallScreening 26 | 1 27 | 28 | 29 | 30 | 31 | CallScreening 32 | 33 | 34 | 35 | request.method 36 | INVITE 37 | 38 | 39 | request.to.uri 40 | sip:alice@open-ims.test 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | -------------------------------------------------------------------------------- /CallScreening/web/WEB-INF/ssdupdate.txt: -------------------------------------------------------------------------------- 1 | SEND_SSDUPDATEREQ 2 | RECV_OK 3 | RECV_BSCHALLREQ 4 | SEND_OK 5 | SEND_BSCHALLRES 6 | RECV_OK 7 | RECV_SSDUPDATERES 8 | SEND_OK 9 | SEND_AUTHREQ 10 | RECV_OK 11 | RECV_AUTHRES 12 | SEND_OK -------------------------------------------------------------------------------- /CallScreening/web/WEB-INF/t.css: -------------------------------------------------------------------------------- 1 | /* -- Reset default style -- */ 2 | body, h1, p{border:0; margin:0; padding:0;} 3 | body{font-family:Arial, Helvetica, sans-serif; font-size:12px;} 4 | 5 | /* ------------ */ 6 | /* HEADER */ 7 | #header{ 8 | padding:12px; 9 | color:#FFFFFF; 10 | background:#006699; 11 | } 12 | /* PAGE BODY */ 13 | #page-body{padding:54px;} 14 | h1{font-size:16px; font-weight:bold;} 15 | h1 a:link, a:visited{color:#333333;} 16 | .tag{font-size:12px; margin-bottom:20px;} 17 | .tag a:link, .tag a:visited{color:#999999;} 18 | 19 | /* FOOTER */ 20 | #footer{ 21 | padding:10px; 22 | border-top:solid 1px #DEDEDE; 23 | color:#999999; 24 | font-size:14px; 25 | } 26 | #footer a:link, #footer a:visited{ 27 | color:#666666; 28 | } 29 | -------------------------------------------------------------------------------- /CallScreening/web/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 13 | 14 | 15 | CallScreening 16 | CallScreening 17 | 18 | CSusers 19 | com.tcs.voice.CSusers 20 | 21 | 22 | 23 | CSusers 24 | CallScreening/CSusers 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /CallScreening/web/WEB-INF/weblogic.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | precompile 11 | 12 | 13 | true 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /CallScreening/web/back.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/CallScreening/web/back.JPG -------------------------------------------------------------------------------- /CallScreening/web/background.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/CallScreening/web/background.jpg -------------------------------------------------------------------------------- /CallScreening/web/index.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | Tata Consultancy Services 7 | 8 | 9 |
10 | 11 | 12 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |

Welcome to iPage.

To Login, please enter your User id and password.
30 |
31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 44 | 45 | 46 |
User Id:
Password:
42 | 43 | New User, to register!
47 | 48 | 49 |
50 | 51 | 52 | 53 | 59 | 60 |
61 | 62 | 63 | -------------------------------------------------------------------------------- /CallScreening/web/index1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | registration 4 | 5 | 6 |

welcome

7 |
8 |

your name

9 |

your mail 10 |

11 |
12 | 13 | -------------------------------------------------------------------------------- /CallScreening/web/index_old.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | Tata Consultancy Services 7 | 8 | 9 |
10 | 11 | 12 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |

Welcome to iPage.

To Login, please enter your User id and password.
30 |
31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 44 | 45 | 46 |
User Id:
Password:
42 | 43 | New User, to register!
47 | 48 | 49 |
50 | 51 | 52 | 53 | 59 | 60 |
61 | 62 | 63 | -------------------------------------------------------------------------------- /CallScreening/web/key.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/CallScreening/web/key.png -------------------------------------------------------------------------------- /CallScreening/web/login.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | My Company Name 9 | 12 | 13 |
14 |
15 |
16 | 19 |
20 |

Login

21 |
22 |
23 |
24 |
25 |
26 |

27 | 28 | 29 |

30 |

31 | 32 | 33 |

34 | 36 | 40 |
41 | 42 | 43 |
44 |
45 | 46 | 47 | -------------------------------------------------------------------------------- /CallScreening/web/main.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | Tata Consultancy Services 7 | 8 | 9 |
10 | 11 | 12 | 17 | 18 | 19 | 20 |
23 | 24 |

TO avail the service please registerREGISTER.

25 | 26 | 27 | 28 | 29 |
30 |
31 | 32 |

Alex

33 | Call 34 | 35 | 36 | 37 | 38 |
39 | 40 | 41 | 42 | 47 | 48 |
49 | 50 | 51 | -------------------------------------------------------------------------------- /CallScreening/web/mofail: -------------------------------------------------------------------------------- 1 | RECV_CMSERVICEREQ 2 | SEND_OK 3 | SEND_GLOBALCHALLRSP 4 | RECV_OK 5 | RECV_INVITE 6 | -------------------------------------------------------------------------------- /CallScreening/web/richa.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Invite 5 | Invite_richa.xml 6 | Send 7 | 8 | 9 | 100 Trying 10 | Receive 11 | 12 | 13 | Ack 14 | Ack_richa.xml 15 | Send 16 | 17 | 18 | -------------------------------------------------------------------------------- /CallScreening/web/t.css: -------------------------------------------------------------------------------- 1 | /* -- Reset default style -- */ 2 | body, h1, p{border:0; margin:0; padding:0;} 3 | body{font-family:Arial, Helvetica, sans-serif; font-size:12px;} 4 | 5 | /* ------------ */ 6 | /* HEADER */ 7 | #header{ 8 | padding:12px; 9 | color:#FFFFFF; 10 | background:#006699; 11 | } 12 | /* PAGE BODY */ 13 | #page-body{padding:54px;} 14 | h1{font-size:16px; font-weight:bold;} 15 | h1 a:link, a:visited{color:#333333;} 16 | .tag{font-size:12px; margin-bottom:20px;} 17 | .tag a:link, .tag a:visited{color:#999999;} 18 | 19 | /* FOOTER */ 20 | #footer{ 21 | padding:10px; 22 | border-top:solid 1px #DEDEDE; 23 | color:#999999; 24 | font-size:14px; 25 | } 26 | #footer a:link, #footer a:visited{ 27 | color:#666666; 28 | } 29 | -------------------------------------------------------------------------------- /CallSimple/dist/CallSimple.war: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/CallSimple/dist/CallSimple.war -------------------------------------------------------------------------------- /CallSimple/src/com/tcs/voice/CallSimple.java: -------------------------------------------------------------------------------- 1 | package com.tcs.voice; 2 | 3 | import java.io.IOException; 4 | import javax.servlet.*; 5 | import javax.servlet.sip.*; 6 | import javax.servlet.sip.Proxy; 7 | import org.apache.commons.logging.Log; 8 | import org.apache.commons.logging.LogFactory; 9 | import java.util.*; 10 | 11 | public class CallSimple extends SipServlet 12 | { 13 | private static SipFactory factory; 14 | private static SipApplicationSession sas; 15 | private static Proxy proxy; 16 | private URI uri; 17 | private URI uri2; 18 | 19 | public void init(ServletConfig config) throws ServletException 20 | { 21 | super.init(config); 22 | factory=(SipFactory)(this.getServletContext().getAttribute(SipServlet.SIP_FACTORY)); 23 | sas=factory.createApplicationSession(); 24 | 25 | } 26 | 27 | 28 | protected void doInvite(SipServletRequest req) throws javax.servlet.ServletException,java.io.IOException,java.lang.IllegalStateException,ServletParseException 29 | { 30 | System.out.println("Received an Invite Request: hello"); 31 | uri=req.getFrom().getURI(); 32 | uri2=req.getTo().getURI(); 33 | //req.setRequestURI(uri2); 34 | System.out.println(uri2); 35 | proxy=req.getProxy(true); 36 | proxy.setRecordRoute(true); 37 | proxy.proxyTo(uri2); 38 | System.out.println("Sent an Invite Request"); 39 | } 40 | protected void doProvisionalResponse(SipServletResponse resp) throws javax.servlet.ServletException,java.io.IOException 41 | { 42 | System.out.println("Received Ringing response"); 43 | resp.addHeader("Alert-Info","http://100.1.1.15:9002/vxml/examples/helloworld.wav"); 44 | proxy.proxyTo(uri); 45 | System.out.println("Forwarded the ringing response"); 46 | 47 | } 48 | protected void doSuccessResponse(SipServletResponse resp) throws javax.servlet.ServletException,java.io.IOException 49 | { 50 | System.out.println("Received a success reponse"); 51 | if(resp.getRequest().getFrom().getURI().equals(uri)) 52 | proxy.proxyTo(uri); 53 | else 54 | proxy.proxyTo(uri2); 55 | System.out.println("Sent the response"); 56 | } 57 | protected void doAck(SipServletRequest req) throws javax.servlet.ServletException,java.io.IOException 58 | { 59 | System.out.println("Received ack from sipphone"); 60 | proxy.proxyTo(uri2); 61 | System.out.println("Forwarded the ack"); 62 | } 63 | protected void doBye(SipServletRequest req) throws javax.servlet.ServletException,java.io.IOException 64 | { 65 | proxy=req.getProxy(true); 66 | System.out.println("Received a Bye request"); 67 | if(req.getFrom().getURI().equals(uri)) 68 | { 69 | proxy.proxyTo(uri2); 70 | } 71 | else 72 | { 73 | proxy.proxyTo(uri); 74 | } 75 | 76 | System.out.println("Forwarded the Bye request"); 77 | } 78 | 79 | } -------------------------------------------------------------------------------- /CallSimple/src/com/tcs/voice/SBSRBE.txt: -------------------------------------------------------------------------------- 1 | public class Sample_TimerServlet extends SipServlet 2 | implements TimerListener { 3 | private TimerService timerService; 4 | private static String TIMER_ID = "NOTIFY_TIMEOUT_TIMER"; 5 | public void init() throws ServletException { 6 | try { 7 | timerService = 8 | (TimerService)getServletContext().getAttribute 9 | ("javax.servlet.sip.TimerService"); 10 | } 11 | catch(Exception e) { 12 | log ("Exception initializing the servlet "+ e); 13 | } 14 | } 15 | protected void doSubscribe(SipServletRequest req) 16 | throws ServletException, IOException { 17 | req.createResponse(200).send(); 18 | req.getSession().createRequest("NOTIFY").send(); 19 | ServletTimer notifyTimeoutTimer = 20 | timerService.createTimer(req.getApplicationSession(), 3000, 21 | false, null); 22 | req.getApplicationSession().setAttribute(TIMER_ID, 23 | notifyTimeoutTimer); 24 | } 25 | protected void doSuccessResponse(SipServletResponse res) 26 | throws javax.servlet.ServletException, java.io.IOException { 27 | if (res.getMethod().equals("NOTIFY")) { 28 | ServletTimer notifyTimeoutTimer = 29 | (ServletTimer)(res.getApplicationSession().getAttribute(TIMER_ID)); 30 | if (notifyTimeoutTimer != null) { 31 | notifyTimeoutTimer.cancel(); 32 | res.getApplicationSession().removeAttribute(TIMER_ID); 33 | } 34 | } 35 | } 36 | public void timeout(ServletTimer timer) { 37 | // This indicates that the timer has fired because a 200 to 38 | // NOTIFY was not received. Here you can take any timeout 39 | // action. 40 | // ......... 41 | timer.getApplicationSession().removeAttribute("NOTIFY_TIMEOUT_TIMER"); 42 | } 43 | } -------------------------------------------------------------------------------- /CallSimple/web/Succesfullogin.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | New Page 1 8 | 9 | 10 | 11 | 12 | < 13 | 14 | 15 |
16 | 24 |
27 | 28 |

TO avail the service please registerREGISTER.

29 | 30 | 31 | 32 | 33 |
34 |
35 | 36 | 37 | HOME 38 | 39 | 40 | 41 | 42 |
43 | 44 | 45 | 46 | 51 | 52 | 53 | 54 | 55 |
56 |

 

57 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /CallSimple/web/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/CallSimple/web/Thumbs.db -------------------------------------------------------------------------------- /CallSimple/web/WEB-INF/GetResult.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |

Tatara Convergent Server

5 | Result 6 |
7 |
9 | 10 | 11 |
12 |
13 | Please click submit only when you have executed all the command on A1p Site in SIA 14 |
15 |
16 |
17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /CallSimple/web/WEB-INF/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/CallSimple/web/WEB-INF/Thumbs.db -------------------------------------------------------------------------------- /CallSimple/web/WEB-INF/back.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/CallSimple/web/WEB-INF/back.JPG -------------------------------------------------------------------------------- /CallSimple/web/WEB-INF/background.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/CallSimple/web/WEB-INF/background.jpg -------------------------------------------------------------------------------- /CallSimple/web/WEB-INF/index.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | Tata Consultancy Services 7 | 8 | 9 |
10 | 11 | 12 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |

Welcome to iPage.

To Login, please enter your User id and password.
30 |
31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 44 | 45 | 46 |
User Id:
Password:
42 | 43 | New User,Click here to register!
47 | 48 | 49 |
50 | 51 | 52 | 53 | 59 | 60 |
61 | 62 | 63 | -------------------------------------------------------------------------------- /CallSimple/web/WEB-INF/login.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | New Page 1 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 17 | 18 | 19 | 20 |

Please enter your username and password

21 | 22 | 23 |

Username

24 |

Password

25 |

26 |
27 |

 

28 | 29 | 30 | 31 |
34 | 35 |

To begin calling... click on Call.

36 | 37 | 38 | 39 | 40 |
41 |
42 | 43 | 44 | 45 | 46 | 47 | 48 |
49 | 50 | 51 | 52 | 57 | 58 | 59 | 60 | 61 | 62 | -------------------------------------------------------------------------------- /CallSimple/web/WEB-INF/main.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | Tata Consultancy Services 7 | 8 | 9 |
10 | 11 | 12 | 17 | 18 | 19 | 20 |
23 | 24 |

To begin calling... click on Call.

25 | 26 | 27 | 28 | 29 |
30 |
31 | 32 |

Hookedon

33 | Call 34 | 35 | 36 | 37 | 38 |
39 | 40 | 41 | 42 | 47 | 48 |
49 | 50 | 51 | -------------------------------------------------------------------------------- /CallSimple/web/WEB-INF/sip.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 11 | 14 | 15 | 16 | CallSimple 17 | A simple application illustrating how to write a Proxy. 18 | 19 | 20 | 21 | 22 | CallSimple 23 | CallSimple 24 | CallSimple servlet 25 | com.tcs.voice.CallSimple 26 | 1 27 | 28 | 29 | 30 | 31 | CallSimple 32 | 33 | 34 | 35 | request.method 36 | INVITE 37 | 38 | 39 | request.to.uri.param.RBT 40 | y 41 | 42 | 43 | 44 | request.uri.param.CS 45 | y 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | -------------------------------------------------------------------------------- /CallSimple/web/WEB-INF/ssdupdate.txt: -------------------------------------------------------------------------------- 1 | SEND_SSDUPDATEREQ 2 | RECV_OK 3 | RECV_BSCHALLREQ 4 | SEND_OK 5 | SEND_BSCHALLRES 6 | RECV_OK 7 | RECV_SSDUPDATERES 8 | SEND_OK 9 | SEND_AUTHREQ 10 | RECV_OK 11 | RECV_AUTHRES 12 | SEND_OK -------------------------------------------------------------------------------- /CallSimple/web/WEB-INF/t.css: -------------------------------------------------------------------------------- 1 | /* -- Reset default style -- */ 2 | body, h1, p{border:0; margin:0; padding:0;} 3 | body{font-family:Arial, Helvetica, sans-serif; font-size:12px;} 4 | 5 | /* ------------ */ 6 | /* HEADER */ 7 | #header{ 8 | padding:12px; 9 | color:#FFFFFF; 10 | background:#006699; 11 | } 12 | /* PAGE BODY */ 13 | #page-body{padding:54px;} 14 | h1{font-size:16px; font-weight:bold;} 15 | h1 a:link, a:visited{color:#333333;} 16 | .tag{font-size:12px; margin-bottom:20px;} 17 | .tag a:link, .tag a:visited{color:#999999;} 18 | 19 | /* FOOTER */ 20 | #footer{ 21 | padding:10px; 22 | border-top:solid 1px #DEDEDE; 23 | color:#999999; 24 | font-size:14px; 25 | } 26 | #footer a:link, #footer a:visited{ 27 | color:#666666; 28 | } 29 | -------------------------------------------------------------------------------- /CallSimple/web/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 13 | 14 | 15 | B2BUA 16 | B2BUA 17 | 18 | ACSHttpServlet 19 | b2bua.ACSHttpServlet 20 | 21 | 22 | ACSResultServlet 23 | b2bua.ACSResultServlet 24 | 25 | 26 | DataInsertion 27 | b2bua.DataInsertion 28 | 29 | 30 | ACSSipServlet 31 | B2BUA.ACSSipServlet 32 | 33 | 34 | 35 | ACSHttpServlet 36 | B2BUA/ACSHttpServlet 37 | 38 | 39 | 40 | ACSSipServlet 41 | B2BUA/ACSSipServlet 42 | 43 | 44 | 45 | DataInsertion 46 | B2BUA/DataInsertion 47 | 48 | 49 | 50 | main.html 51 | 52 | 53 | 54 | -------------------------------------------------------------------------------- /CallSimple/web/WEB-INF/weblogic.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | precompile 11 | 12 | 13 | true 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /CallSimple/web/back.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/CallSimple/web/back.JPG -------------------------------------------------------------------------------- /CallSimple/web/background.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/CallSimple/web/background.jpg -------------------------------------------------------------------------------- /CallSimple/web/index.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | Tata Consultancy Services 7 | 8 | 9 |
10 | 11 | 12 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |

Welcome to iPage.

To Login, please enter your User id and password.
30 |
31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 44 | 45 | 46 |
User Id:
Password:
42 | 43 | New User, to register!
47 | 48 | 49 |
50 | 51 | 52 | 53 | 59 | 60 |
61 | 62 | 63 | -------------------------------------------------------------------------------- /CallSimple/web/index1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | registration 4 | 5 | 6 |

welcome

7 |
8 |

your name

9 |

your mail 10 |

11 |
12 | 13 | -------------------------------------------------------------------------------- /CallSimple/web/index_old.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | Tata Consultancy Services 7 | 8 | 9 |
10 | 11 | 12 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |

Welcome to iPage.

To Login, please enter your User id and password.
30 |
31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 44 | 45 | 46 |
User Id:
Password:
42 | 43 | New User, to register!
47 | 48 | 49 |
50 | 51 | 52 | 53 | 59 | 60 |
61 | 62 | 63 | -------------------------------------------------------------------------------- /CallSimple/web/login.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | New Page 1 5 | 6 | 7 | 8 | 9 |

Login

10 |

Enter the Information

11 | 12 |
13 |

I.P Adress

14 | 15 | 16 |

17 |
18 |

 

19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /CallSimple/web/main.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | Tata Consultancy Services 7 | 8 | 9 |
10 | 11 | 12 | 17 | 18 | 19 | 20 |
23 | 24 |

TO avail the service please registerREGISTER.

25 | 26 | 27 | 28 | 29 |
30 |
31 | 32 |

Alex

33 | Call 34 | 35 | 36 | 37 | 38 |
39 | 40 | 41 | 42 | 47 | 48 |
49 | 50 | 51 | -------------------------------------------------------------------------------- /CallSimple/web/mofail: -------------------------------------------------------------------------------- 1 | RECV_CMSERVICEREQ 2 | SEND_OK 3 | SEND_GLOBALCHALLRSP 4 | RECV_OK 5 | RECV_INVITE 6 | -------------------------------------------------------------------------------- /CallSimple/web/richa.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Invite 5 | Invite_richa.xml 6 | Send 7 | 8 | 9 | 100 Trying 10 | Receive 11 | 12 | 13 | Ack 14 | Ack_richa.xml 15 | Send 16 | 17 | 18 | -------------------------------------------------------------------------------- /CallSimple/web/t.css: -------------------------------------------------------------------------------- 1 | /* -- Reset default style -- */ 2 | body, h1, p{border:0; margin:0; padding:0;} 3 | body{font-family:Arial, Helvetica, sans-serif; font-size:12px;} 4 | 5 | /* ------------ */ 6 | /* HEADER */ 7 | #header{ 8 | padding:12px; 9 | color:#FFFFFF; 10 | background:#006699; 11 | } 12 | /* PAGE BODY */ 13 | #page-body{padding:54px;} 14 | h1{font-size:16px; font-weight:bold;} 15 | h1 a:link, a:visited{color:#333333;} 16 | .tag{font-size:12px; margin-bottom:20px;} 17 | .tag a:link, .tag a:visited{color:#999999;} 18 | 19 | /* FOOTER */ 20 | #footer{ 21 | padding:10px; 22 | border-top:solid 1px #DEDEDE; 23 | color:#999999; 24 | font-size:14px; 25 | } 26 | #footer a:link, #footer a:visited{ 27 | color:#666666; 28 | } 29 | -------------------------------------------------------------------------------- /CallerID/README.md: -------------------------------------------------------------------------------- 1 | SIP Servlets 2 | ============== 3 | 4 | ###CallerID 5 | SIP Servlet for call session and user session handling . Records and manages Caller ID. 6 | 7 | 8 | More application descriptions are included here [Telecom SIP application summary] 9 | 10 | 11 | [Telecom SIP application summary]:https://altanaitelecom.wordpress.com/2014/01/15/applications-for-telecom-providers-that-cater-to-sip/ 12 | [Music on hold SIP Servlet Application ]:https://altanaitelecom.wordpress.com/2013/07/17/music-on-hold/ 13 | -------------------------------------------------------------------------------- /CallerID/web/WEB-INF/sip.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | CallerID 8 | 9 | 10 | CallerID 11 | com.HelloWorld.CallerID 12 | 13 | 14 | CallerID 15 | 16 | 17 | 18 | 19 | request.method 20 | INVITE 21 | 22 | 23 | request.uri.param.app 24 | CallerID 25 | 26 | 27 | 28 | 29 | request.method 30 | INVITE 31 | 32 | 33 | request.to.uri 34 | sip:1@10.1.5.15:5070 35 | 36 | 37 | 38 | 39 | 40 | --> 41 | -------------------------------------------------------------------------------- /CallerID/web/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | HelloWorld 8 | HelloWorld 9 | 21 | 22 | MyServlet 23 | com.HelloWorld.MyServlet 24 | 25 | 26 | MyServlet 27 | /serv1 28 | 29 | 30 | -------------------------------------------------------------------------------- /CallerID/web/WEB-INF/weblogic.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | precompile 11 | 12 | 13 | true 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /GoogleCalendar/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | Musichold 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | 15 | org.eclipse.jdt.core.javanature 16 | 17 | 18 | -------------------------------------------------------------------------------- /GoogleCalendar/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | #Fri Jun 29 12:25:58 IST 2012 2 | eclipse.preferences.version=1 3 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 4 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 5 | org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve 6 | org.eclipse.jdt.core.compiler.compliance=1.6 7 | org.eclipse.jdt.core.compiler.debug.lineNumber=generate 8 | org.eclipse.jdt.core.compiler.debug.localVariable=generate 9 | org.eclipse.jdt.core.compiler.debug.sourceFile=generate 10 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 11 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 12 | org.eclipse.jdt.core.compiler.source=1.6 13 | -------------------------------------------------------------------------------- /GoogleCalendar/bin/com/tcs/GoogleCalendar.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/GoogleCalendar/bin/com/tcs/GoogleCalendar.class -------------------------------------------------------------------------------- /GoogleCalendar/log4j.properties: -------------------------------------------------------------------------------- 1 | log4j.rootLogger=debug, stdout 2 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 3 | log4j.appender.stdout.Target=System.out 4 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 5 | log4j.appender.stdout.layout.ConversionPattern=[%5p] %d{mm:ss} 6 | (%F:%M:%L)%n%m%n%n -------------------------------------------------------------------------------- /GoogleCalendar/web/WEB-INF/sip.xml: -------------------------------------------------------------------------------- 1 | 10 | 11 | 12 | 15 | 16 | 17 | GoogleCalendar 18 | 19 | 20 | GoogleCalendar 21 | com.tcs.GoogleCalendar 22 | 23 | 24 | GoogleCalendar 25 | 26 | 27 | 28 | request.method 29 | INVITE 30 | 31 | 32 | request.method 33 | BYE 34 | 35 | 36 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /GoogleCalendar/web/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 10 | 11 | 14 | 15 | 16 | 17 | GoogleCalendar 18 | GoogleCalendar 19 | 20 | GoogleCalendar 21 | com.tcs.GoogleCalendar 22 | 23 | 24 | GoogleCalendar 25 | /serv1 26 | 27 | 28 | -------------------------------------------------------------------------------- /GoogleCalendar/web/WEB-INF/weblogic.xml: -------------------------------------------------------------------------------- 1 | 10 | 11 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | precompile 21 | 22 | 23 | true 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /IPTV2/src/com/tcs/Service.java: -------------------------------------------------------------------------------- 1 | package com.tcs; 2 | 3 | public interface Service{ 4 | void registerWithBroker(); 5 | void hold(String key); 6 | void stop(String key); 7 | void resume(String key); 8 | } -------------------------------------------------------------------------------- /IPTV2/src/com/tcs/iptv/Call.java: -------------------------------------------------------------------------------- 1 | package com.tcs.iptv; 2 | import com.tcs.*; 3 | import java.util.*; 4 | public class Call 5 | { 6 | protected CallLeg leg; 7 | protected String user; 8 | protected long startTimeMs; 9 | protected long taskTimeMs; 10 | protected long prevTimeGap; 11 | public void add(String user, CallLeg leg) 12 | { 13 | startTimeMs = System.currentTimeMillis( ); 14 | prevTimeGap=startTimeMs; 15 | this.user=user; 16 | this.leg=leg; 17 | } 18 | public String getUserName() 19 | { 20 | return user; 21 | } 22 | public CallLeg getCallLeg() 23 | { 24 | return leg; 25 | } 26 | public void setCallLeg(CallLeg leg) 27 | { 28 | this.leg=leg; 29 | } 30 | public void calculateTimeGap() 31 | { 32 | taskTimeMs=(System.currentTimeMillis( ) - startTimeMs)+prevTimeGap; 33 | } 34 | public long returnTimeGap() 35 | { 36 | startTimeMs=System.currentTimeMillis(); 37 | prevTimeGap=taskTimeMs; 38 | return taskTimeMs; 39 | } 40 | 41 | } -------------------------------------------------------------------------------- /IPTV2/web/Succesfullogin.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | New Page 1 8 | 9 | 10 | 11 | 12 | < 13 | 14 | 15 |
16 | 24 |
27 | 28 |

TO avail the service please registerREGISTER.

29 | 30 | 31 | 32 | 33 |
34 |
35 | 36 | 37 | HOME 38 | 39 | 40 | 41 | 42 |
43 | 44 | 45 | 46 | 51 | 52 | 53 | 54 | 55 |
56 |

 

57 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /IPTV2/web/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/IPTV2/web/Thumbs.db -------------------------------------------------------------------------------- /IPTV2/web/WEB-INF/GetResult.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |

Tatara Convergent Server

5 | Result 6 |
7 |
9 | 10 | 11 |
12 |
13 | Please click submit only when you have executed all the command on A1p Site in SIA 14 |
15 |
16 |
17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /IPTV2/web/WEB-INF/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/IPTV2/web/WEB-INF/Thumbs.db -------------------------------------------------------------------------------- /IPTV2/web/WEB-INF/back.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/IPTV2/web/WEB-INF/back.JPG -------------------------------------------------------------------------------- /IPTV2/web/WEB-INF/background.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/IPTV2/web/WEB-INF/background.jpg -------------------------------------------------------------------------------- /IPTV2/web/WEB-INF/index.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | Tata Consultancy Services 7 | 8 | 9 |
10 | 11 | 12 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |

Welcome to iPage.

To Login, please enter your User id and password.
30 |
31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 44 | 45 | 46 |
User Id:
Password:
42 | 43 | New User,Click here to register!
47 | 48 | 49 |
50 | 51 | 52 | 53 | 59 | 60 |
61 | 62 | 63 | -------------------------------------------------------------------------------- /IPTV2/web/WEB-INF/login.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | New Page 1 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 17 | 18 | 19 | 20 |

Please enter your username and password

21 | 22 | 23 |

Username

24 |

Password

25 |

26 |
27 |

 

28 | 29 | 30 | 31 |
34 | 35 |

To begin calling... click on Call.

36 | 37 | 38 | 39 | 40 |
41 |
42 | 43 | 44 | 45 | 46 | 47 | 48 |
49 | 50 | 51 | 52 | 57 | 58 | 59 | 60 | 61 | 62 | -------------------------------------------------------------------------------- /IPTV2/web/WEB-INF/main.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | Tata Consultancy Services 7 | 8 | 9 |
10 | 11 | 12 | 17 | 18 | 19 | 20 |
23 | 24 |

To begin calling... click on Call.

25 | 26 | 27 | 28 | 29 |
30 |
31 | 32 |

Hookedon

33 | Call 34 | 35 | 36 | 37 | 38 |
39 | 40 | 41 | 42 | 47 | 48 |
49 | 50 | 51 | -------------------------------------------------------------------------------- /IPTV2/web/WEB-INF/sip.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 11 | 14 | 15 | 16 | IPTV 17 | A simple application illustrating how to write a back-to-back user agent (B2BUA). 18 | 19 | 20 | 21 | 22 | IPTV 23 | IPTV 24 | IPTV servlet 25 | com.tcs.iptv.IPTV 26 | 1 27 | 28 | 29 | 30 | 31 | IPTV 32 | 33 | 34 | 35 | request.method 36 | INVITE 37 | 38 | 39 | request.method 40 | BYE 41 | 42 | 43 | request.method 44 | CANCEL 45 | 46 | 47 | request.method 48 | SUBSCRIBE 49 | 50 | 51 | request.method 52 | MESSAGE 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | -------------------------------------------------------------------------------- /IPTV2/web/WEB-INF/ssdupdate.txt: -------------------------------------------------------------------------------- 1 | SEND_SSDUPDATEREQ 2 | RECV_OK 3 | RECV_BSCHALLREQ 4 | SEND_OK 5 | SEND_BSCHALLRES 6 | RECV_OK 7 | RECV_SSDUPDATERES 8 | SEND_OK 9 | SEND_AUTHREQ 10 | RECV_OK 11 | RECV_AUTHRES 12 | SEND_OK -------------------------------------------------------------------------------- /IPTV2/web/WEB-INF/t.css: -------------------------------------------------------------------------------- 1 | /* -- Reset default style -- */ 2 | body, h1, p{border:0; margin:0; padding:0;} 3 | body{font-family:Arial, Helvetica, sans-serif; font-size:12px;} 4 | 5 | /* ------------ */ 6 | /* HEADER */ 7 | #header{ 8 | padding:12px; 9 | color:#FFFFFF; 10 | background:#006699; 11 | } 12 | /* PAGE BODY */ 13 | #page-body{padding:54px;} 14 | h1{font-size:16px; font-weight:bold;} 15 | h1 a:link, a:visited{color:#333333;} 16 | .tag{font-size:12px; margin-bottom:20px;} 17 | .tag a:link, .tag a:visited{color:#999999;} 18 | 19 | /* FOOTER */ 20 | #footer{ 21 | padding:10px; 22 | border-top:solid 1px #DEDEDE; 23 | color:#999999; 24 | font-size:14px; 25 | } 26 | #footer a:link, #footer a:visited{ 27 | color:#666666; 28 | } 29 | -------------------------------------------------------------------------------- /IPTV2/web/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 13 | 14 | 15 | B2BUA 16 | B2BUA 17 | 18 | ACSHttpServlet 19 | b2bua.ACSHttpServlet 20 | 21 | 22 | ACSResultServlet 23 | b2bua.ACSResultServlet 24 | 25 | 26 | DataInsertion 27 | b2bua.DataInsertion 28 | 29 | 30 | ACSSipServlet 31 | B2BUA.ACSSipServlet 32 | 33 | 34 | 35 | ACSHttpServlet 36 | B2BUA/ACSHttpServlet 37 | 38 | 39 | 40 | ACSSipServlet 41 | B2BUA/ACSSipServlet 42 | 43 | 44 | 45 | DataInsertion 46 | B2BUA/DataInsertion 47 | 48 | 49 | 50 | main.html 51 | 52 | 53 | 54 | -------------------------------------------------------------------------------- /IPTV2/web/WEB-INF/weblogic.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | precompile 11 | 12 | 13 | true 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /IPTV2/web/back.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/IPTV2/web/back.JPG -------------------------------------------------------------------------------- /IPTV2/web/background.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/IPTV2/web/background.jpg -------------------------------------------------------------------------------- /IPTV2/web/index.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | Tata Consultancy Services 7 | 8 | 9 |
10 | 11 | 12 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |

Welcome to iPage.

To Login, please enter your User id and password.
30 |
31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 44 | 45 | 46 |
User Id:
Password:
42 | 43 | New User, to register!
47 | 48 | 49 |
50 | 51 | 52 | 53 | 59 | 60 |
61 | 62 | 63 | -------------------------------------------------------------------------------- /IPTV2/web/index1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | registration 4 | 5 | 6 |

welcome

7 |
8 |

your name

9 |

your mail 10 |

11 |
12 | 13 | -------------------------------------------------------------------------------- /IPTV2/web/index_old.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | Tata Consultancy Services 7 | 8 | 9 |
10 | 11 | 12 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |

Welcome to iPage.

To Login, please enter your User id and password.
30 |
31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 44 | 45 | 46 |
User Id:
Password:
42 | 43 | New User, to register!
47 | 48 | 49 |
50 | 51 | 52 | 53 | 59 | 60 |
61 | 62 | 63 | -------------------------------------------------------------------------------- /IPTV2/web/login.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | New Page 1 5 | 6 | 7 | 8 | 9 |

Login

10 |

Enter the Information

11 | 12 |
13 |

I.P Adress

14 | 15 | 16 |

17 |
18 |

 

19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /IPTV2/web/main.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | Tata Consultancy Services 7 | 8 | 9 |
10 | 11 | 12 | 17 | 18 | 19 | 20 |
23 | 24 |

TO avail the service please registerREGISTER.

25 | 26 | 27 | 28 | 29 |
30 |
31 | 32 |

Alex

33 | Call 34 | 35 | 36 | 37 | 38 |
39 | 40 | 41 | 42 | 47 | 48 |
49 | 50 | 51 | -------------------------------------------------------------------------------- /IPTV2/web/mofail: -------------------------------------------------------------------------------- 1 | RECV_CMSERVICEREQ 2 | SEND_OK 3 | SEND_GLOBALCHALLRSP 4 | RECV_OK 5 | RECV_INVITE 6 | -------------------------------------------------------------------------------- /IPTV2/web/richa.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Invite 5 | Invite_richa.xml 6 | Send 7 | 8 | 9 | 100 Trying 10 | Receive 11 | 12 | 13 | Ack 14 | Ack_richa.xml 15 | Send 16 | 17 | 18 | -------------------------------------------------------------------------------- /IPTV2/web/t.css: -------------------------------------------------------------------------------- 1 | /* -- Reset default style -- */ 2 | body, h1, p{border:0; margin:0; padding:0;} 3 | body{font-family:Arial, Helvetica, sans-serif; font-size:12px;} 4 | 5 | /* ------------ */ 6 | /* HEADER */ 7 | #header{ 8 | padding:12px; 9 | color:#FFFFFF; 10 | background:#006699; 11 | } 12 | /* PAGE BODY */ 13 | #page-body{padding:54px;} 14 | h1{font-size:16px; font-weight:bold;} 15 | h1 a:link, a:visited{color:#333333;} 16 | .tag{font-size:12px; margin-bottom:20px;} 17 | .tag a:link, .tag a:visited{color:#999999;} 18 | 19 | /* FOOTER */ 20 | #footer{ 21 | padding:10px; 22 | border-top:solid 1px #DEDEDE; 23 | color:#999999; 24 | font-size:14px; 25 | } 26 | #footer a:link, #footer a:visited{ 27 | color:#666666; 28 | } 29 | -------------------------------------------------------------------------------- /MusicOnHold/log4j.properties: -------------------------------------------------------------------------------- 1 | log4j.rootLogger=WARN, CA 2 | log4j.appender.CA=org.apache.log4j.ConsoleAppender 3 | log4j.appender.CA.layout=org.apache.log4j.PatternLayout 4 | #log4j.appender.CA.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n 5 | #log4j.appender.CA.layout.ConversionPattern=%5r %-5p [%t] %c{2} - %m%n 6 | log4j.appender.CA.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %c{1} [%p] %m%n 7 | -------------------------------------------------------------------------------- /MusicOnHold/web/WEB-INF/sip.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | Musichold 8 | 9 | 10 | Musichold 11 | com.tcs.Musichold 12 | 13 | 14 | Musichold 15 | 16 | 17 | 18 | request.method 19 | INVITE 20 | 21 | 22 | request.method 23 | BYE 24 | 25 | 26 | 27 | 28 | 29 | --> 30 | -------------------------------------------------------------------------------- /MusicOnHold/web/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | Musichold 8 | Musichold 9 | 21 | 22 | Musichold 23 | com.tcs.Musichold 24 | 25 | 26 | Musichold 27 | /serv1 28 | 29 | 30 | -------------------------------------------------------------------------------- /MusicOnHold/web/WEB-INF/weblogic.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | precompile 11 | 12 | 13 | true 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /ParentalControl/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /ParentalControl/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | ParentalControl 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.wst.jsdt.core.javascriptValidator 10 | 11 | 12 | 13 | 14 | org.eclipse.jdt.core.javabuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.wst.common.project.facet.core.builder 20 | 21 | 22 | 23 | 24 | org.eclipse.wst.validation.validationbuilder 25 | 26 | 27 | 28 | 29 | 30 | org.eclipse.jem.workbench.JavaEMFNature 31 | org.eclipse.wst.common.modulecore.ModuleCoreNature 32 | org.eclipse.wst.common.project.facet.core.nature 33 | org.eclipse.jdt.core.javanature 34 | org.eclipse.wst.jsdt.core.jsNature 35 | 36 | 37 | -------------------------------------------------------------------------------- /ParentalControl/.settings/.jsdtscope: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /ParentalControl/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.2 3 | org.eclipse.jdt.core.compiler.compliance=1.4 4 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=warning 5 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=warning 6 | org.eclipse.jdt.core.compiler.source=1.3 7 | -------------------------------------------------------------------------------- /ParentalControl/.settings/org.eclipse.wst.common.component: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /ParentalControl/.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /ParentalControl/.settings/org.eclipse.wst.jsdt.ui.superType.container: -------------------------------------------------------------------------------- 1 | org.eclipse.wst.jsdt.launching.baseBrowserLibrary -------------------------------------------------------------------------------- /ParentalControl/.settings/org.eclipse.wst.jsdt.ui.superType.name: -------------------------------------------------------------------------------- 1 | Window -------------------------------------------------------------------------------- /ParentalControl/ImportedClasses/com/tcs/ParentalControl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ParentalControl/ImportedClasses/com/tcs/ParentalControl.class -------------------------------------------------------------------------------- /ParentalControl/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Ant-Version: Apache Ant 1.8.1 3 | Created-By: Ant, auto-build for ParentalControl 4 | 5 | -------------------------------------------------------------------------------- /ParentalControl/WebContent/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ParentalControl/WebContent/Thumbs.db -------------------------------------------------------------------------------- /ParentalControl/WebContent/WEB-INF/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ParentalControl/WebContent/WEB-INF/Thumbs.db -------------------------------------------------------------------------------- /ParentalControl/WebContent/WEB-INF/sip.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 11 | 14 | 15 | 16 | ParentalControl 17 | A simple application illustrating how to write a Proxy. 18 | 19 | 20 | 21 | 22 | ParentalControl 23 | ParentalControl 24 | ParentalControlservlet 25 | com.tcs.ParentalControl 26 | 1 27 | 28 | 29 | 30 | 31 | ParentalControl 32 | 33 | 34 | 35 | 36 | request.method 37 | INVITE 38 | 39 | 40 | request.method 41 | MESSAGE 42 | 43 | 44 | 45 | request.to.uri.user 46 | myiptv 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | -------------------------------------------------------------------------------- /ParentalControl/WebContent/WEB-INF/t.css: -------------------------------------------------------------------------------- 1 | /* -- Reset default style -- */ 2 | body, h1, p{border:0; margin:0; padding:0;} 3 | body{font-family:Arial, Helvetica, sans-serif; font-size:12px;} 4 | 5 | /* ------------ */ 6 | /* HEADER */ 7 | #header{ 8 | padding:12px; 9 | color:#FFFFFF; 10 | background:#006699; 11 | } 12 | /* PAGE BODY */ 13 | #page-body{padding:54px;} 14 | h1{font-size:16px; font-weight:bold;} 15 | h1 a:link, a:visited{color:#333333;} 16 | .tag{font-size:12px; margin-bottom:20px;} 17 | .tag a:link, .tag a:visited{color:#999999;} 18 | 19 | /* FOOTER */ 20 | #footer{ 21 | padding:10px; 22 | border-top:solid 1px #DEDEDE; 23 | color:#999999; 24 | font-size:14px; 25 | } 26 | #footer a:link, #footer a:visited{ 27 | color:#666666; 28 | } 29 | -------------------------------------------------------------------------------- /ParentalControl/WebContent/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 11 | 12 | 13 | 14 | 17 | 18 | 19 | B2BUA 20 | B2BUA 21 | 22 | ACSHttpServlet 23 | b2bua.ACSHttpServlet 24 | 25 | 26 | ACSResultServlet 27 | b2bua.ACSResultServlet 28 | 29 | 30 | DataInsertion 31 | b2bua.DataInsertion 32 | 33 | 34 | ACSSipServlet 35 | B2BUA.ACSSipServlet 36 | 37 | 38 | 39 | ACSHttpServlet 40 | B2BUA/ACSHttpServlet 41 | 42 | 43 | 44 | ACSSipServlet 45 | B2BUA/ACSSipServlet 46 | 47 | 48 | 49 | DataInsertion 50 | B2BUA/DataInsertion 51 | 52 | 53 | 54 | main.html 55 | 56 | 57 | 58 | -------------------------------------------------------------------------------- /ParentalControl/WebContent/WEB-INF/weblogic.xml: -------------------------------------------------------------------------------- 1 | 11 | 12 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | precompile 22 | 23 | 24 | true 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /ParentalControl/WebContent/t.css: -------------------------------------------------------------------------------- 1 | /* -- Reset default style -- */ 2 | body, h1, p{border:0; margin:0; padding:0;} 3 | body{font-family:Arial, Helvetica, sans-serif; font-size:12px;} 4 | 5 | /* ------------ */ 6 | /* HEADER */ 7 | #header{ 8 | padding:12px; 9 | color:#FFFFFF; 10 | background:#006699; 11 | } 12 | /* PAGE BODY */ 13 | #page-body{padding:54px;} 14 | h1{font-size:16px; font-weight:bold;} 15 | h1 a:link, a:visited{color:#333333;} 16 | .tag{font-size:12px; margin-bottom:20px;} 17 | .tag a:link, .tag a:visited{color:#999999;} 18 | 19 | /* FOOTER */ 20 | #footer{ 21 | padding:10px; 22 | border-top:solid 1px #DEDEDE; 23 | color:#999999; 24 | font-size:14px; 25 | } 26 | #footer a:link, #footer a:visited{ 27 | color:#666666; 28 | } 29 | -------------------------------------------------------------------------------- /ParentalControl/timer.txt: -------------------------------------------------------------------------------- 1 | /* 2 | *@ for the timer service 3 | */ 4 | import java.util.Timer; 5 | import java.util.TimerTask; 6 | ---------------------------------------------------------- 7 | 8 | 9 | Timer timer = new Timer(); 10 | timer.schedule(new TimerTask() { 11 | @Override 12 | public void run() { 13 | System.out.println("timer running fro 10 seconds "); 14 | } 15 | }, 10*1000); -------------------------------------------------------------------------------- /ParentalControl/web/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ParentalControl/web/Thumbs.db -------------------------------------------------------------------------------- /ParentalControl/web/WEB-INF/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ParentalControl/web/WEB-INF/Thumbs.db -------------------------------------------------------------------------------- /ParentalControl/web/WEB-INF/lib/cldc-1.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ParentalControl/web/WEB-INF/lib/cldc-1.1.jar -------------------------------------------------------------------------------- /ParentalControl/web/WEB-INF/lib/commons-codec-1.4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ParentalControl/web/WEB-INF/lib/commons-codec-1.4.jar -------------------------------------------------------------------------------- /ParentalControl/web/WEB-INF/lib/commons-collections-3.2.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ParentalControl/web/WEB-INF/lib/commons-collections-3.2.1.jar -------------------------------------------------------------------------------- /ParentalControl/web/WEB-INF/lib/commons-io-1.4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ParentalControl/web/WEB-INF/lib/commons-io-1.4.jar -------------------------------------------------------------------------------- /ParentalControl/web/WEB-INF/lib/commons-lang-2.4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ParentalControl/web/WEB-INF/lib/commons-lang-2.4.jar -------------------------------------------------------------------------------- /ParentalControl/web/WEB-INF/lib/commons-logging-1.1.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ParentalControl/web/WEB-INF/lib/commons-logging-1.1.1.jar -------------------------------------------------------------------------------- /ParentalControl/web/WEB-INF/lib/commons-logging-1.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ParentalControl/web/WEB-INF/lib/commons-logging-1.1.jar -------------------------------------------------------------------------------- /ParentalControl/web/WEB-INF/lib/commons-logging.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ParentalControl/web/WEB-INF/lib/commons-logging.jar -------------------------------------------------------------------------------- /ParentalControl/web/WEB-INF/lib/cos.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ParentalControl/web/WEB-INF/lib/cos.jar -------------------------------------------------------------------------------- /ParentalControl/web/WEB-INF/lib/log4j-1.2.8.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ParentalControl/web/WEB-INF/lib/log4j-1.2.8.jar -------------------------------------------------------------------------------- /ParentalControl/web/WEB-INF/lib/ojdbc6.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ParentalControl/web/WEB-INF/lib/ojdbc6.jar -------------------------------------------------------------------------------- /ParentalControl/web/WEB-INF/lib/postgresql-9.1-901.jdbc3.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ParentalControl/web/WEB-INF/lib/postgresql-9.1-901.jdbc3.jar -------------------------------------------------------------------------------- /ParentalControl/web/WEB-INF/lib/postgresql-9.1-902.jdbc4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ParentalControl/web/WEB-INF/lib/postgresql-9.1-902.jdbc4.jar -------------------------------------------------------------------------------- /ParentalControl/web/WEB-INF/lib/postgresql.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ParentalControl/web/WEB-INF/lib/postgresql.jar -------------------------------------------------------------------------------- /ParentalControl/web/WEB-INF/lib/servlet.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ParentalControl/web/WEB-INF/lib/servlet.jar -------------------------------------------------------------------------------- /ParentalControl/web/WEB-INF/lib/sipservlet-1_1-api.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ParentalControl/web/WEB-INF/lib/sipservlet-1_1-api.jar -------------------------------------------------------------------------------- /ParentalControl/web/WEB-INF/lib/sipservlet.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ParentalControl/web/WEB-INF/lib/sipservlet.jar -------------------------------------------------------------------------------- /ParentalControl/web/WEB-INF/sip.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 11 | 14 | 15 | 16 | ParentalControl 17 | A simple application illustrating how to write a Proxy. 18 | 19 | 20 | 21 | 22 | ParentalControl 23 | ParentalControl 24 | ParentalControlservlet 25 | com.tcs.ParentalControl 26 | 1 27 | 28 | 29 | 30 | 31 | ParentalControl 32 | 33 | 34 | 35 | 36 | request.method 37 | INVITE 38 | 39 | 40 | request.method 41 | MESSAGE 42 | 43 | 44 | 45 | request.to.uri.user 46 | myiptv 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | -------------------------------------------------------------------------------- /ParentalControl/web/WEB-INF/t.css: -------------------------------------------------------------------------------- 1 | /* -- Reset default style -- */ 2 | body, h1, p{border:0; margin:0; padding:0;} 3 | body{font-family:Arial, Helvetica, sans-serif; font-size:12px;} 4 | 5 | /* ------------ */ 6 | /* HEADER */ 7 | #header{ 8 | padding:12px; 9 | color:#FFFFFF; 10 | background:#006699; 11 | } 12 | /* PAGE BODY */ 13 | #page-body{padding:54px;} 14 | h1{font-size:16px; font-weight:bold;} 15 | h1 a:link, a:visited{color:#333333;} 16 | .tag{font-size:12px; margin-bottom:20px;} 17 | .tag a:link, .tag a:visited{color:#999999;} 18 | 19 | /* FOOTER */ 20 | #footer{ 21 | padding:10px; 22 | border-top:solid 1px #DEDEDE; 23 | color:#999999; 24 | font-size:14px; 25 | } 26 | #footer a:link, #footer a:visited{ 27 | color:#666666; 28 | } 29 | -------------------------------------------------------------------------------- /ParentalControl/web/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 8 | B2BUA 9 | B2BUA 10 | 11 | ACSHttpServlet 12 | b2bua.ACSHttpServlet 13 | 14 | 15 | ACSResultServlet 16 | b2bua.ACSResultServlet 17 | 18 | 19 | DataInsertion 20 | b2bua.DataInsertion 21 | 22 | 23 | ACSSipServlet 24 | B2BUA.ACSSipServlet 25 | 26 | 27 | 28 | ACSHttpServlet 29 | B2BUA/ACSHttpServlet 30 | 31 | 32 | 33 | ACSSipServlet 34 | B2BUA/ACSSipServlet 35 | 36 | 37 | 38 | DataInsertion 39 | B2BUA/DataInsertion 40 | 41 | 42 | 43 | main.html 44 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /ParentalControl/web/WEB-INF/weblogic.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | precompile 11 | 12 | 13 | true 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /ParentalControl/web/t.css: -------------------------------------------------------------------------------- 1 | /* -- Reset default style -- */ 2 | body, h1, p{border:0; margin:0; padding:0;} 3 | body{font-family:Arial, Helvetica, sans-serif; font-size:12px;} 4 | 5 | /* ------------ */ 6 | /* HEADER */ 7 | #header{ 8 | padding:12px; 9 | color:#FFFFFF; 10 | background:#006699; 11 | } 12 | /* PAGE BODY */ 13 | #page-body{padding:54px;} 14 | h1{font-size:16px; font-weight:bold;} 15 | h1 a:link, a:visited{color:#333333;} 16 | .tag{font-size:12px; margin-bottom:20px;} 17 | .tag a:link, .tag a:visited{color:#999999;} 18 | 19 | /* FOOTER */ 20 | #footer{ 21 | padding:10px; 22 | border-top:solid 1px #DEDEDE; 23 | color:#999999; 24 | font-size:14px; 25 | } 26 | #footer a:link, #footer a:visited{ 27 | color:#666666; 28 | } 29 | -------------------------------------------------------------------------------- /Registrar/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /Registrar/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | Musichold 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | 15 | org.eclipse.jdt.core.javanature 16 | 17 | 18 | -------------------------------------------------------------------------------- /Registrar/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | #Fri Jun 29 12:25:58 IST 2012 2 | eclipse.preferences.version=1 3 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 4 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 5 | org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve 6 | org.eclipse.jdt.core.compiler.compliance=1.6 7 | org.eclipse.jdt.core.compiler.debug.lineNumber=generate 8 | org.eclipse.jdt.core.compiler.debug.localVariable=generate 9 | org.eclipse.jdt.core.compiler.debug.sourceFile=generate 10 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 11 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 12 | org.eclipse.jdt.core.compiler.source=1.6 13 | -------------------------------------------------------------------------------- /Registrar/bin/com/tcs/Registrar.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/Registrar/bin/com/tcs/Registrar.class -------------------------------------------------------------------------------- /Registrar/log4j.properties: -------------------------------------------------------------------------------- 1 | log4j.rootLogger=debug, stdout 2 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 3 | log4j.appender.stdout.Target=System.out 4 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 5 | log4j.appender.stdout.layout.ConversionPattern=[%5p] %d{mm:ss} 6 | (%F:%M:%L)%n%m%n%n -------------------------------------------------------------------------------- /Registrar/web/WEB-INF/sip.xml: -------------------------------------------------------------------------------- 1 | 11 | 12 | 13 | 14 | 17 | 18 | 19 | Registrar 20 | 21 | 22 | Registrar 23 | com.tcs.Registrar 24 | 25 | 26 | Registrar 27 | 28 | 29 | request.method 30 | REGISTER 31 | 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /Registrar/web/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 11 | 12 | 15 | 16 | 17 | 18 | Registrar 19 | Registrar 20 | 32 | 33 | Registrar 34 | com.tcs.Registrar 35 | 36 | 37 | Registrar 38 | /serv1 39 | 40 | 41 | -------------------------------------------------------------------------------- /Registrar/web/WEB-INF/weblogic.xml: -------------------------------------------------------------------------------- 1 | 11 | 12 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | precompile 22 | 23 | 24 | true 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /ServiceBroker/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ServiceBroker/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | ServiceBroker 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.wst.jsdt.core.javascriptValidator 10 | 11 | 12 | 13 | 14 | org.eclipse.jdt.core.javabuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.wst.common.project.facet.core.builder 20 | 21 | 22 | 23 | 24 | org.eclipse.wst.validation.validationbuilder 25 | 26 | 27 | 28 | 29 | 30 | org.eclipse.jem.workbench.JavaEMFNature 31 | org.eclipse.wst.common.modulecore.ModuleCoreNature 32 | org.eclipse.wst.common.project.facet.core.nature 33 | org.eclipse.jdt.core.javanature 34 | org.eclipse.wst.jsdt.core.jsNature 35 | 36 | 37 | -------------------------------------------------------------------------------- /ServiceBroker/.settings/.jsdtscope: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /ServiceBroker/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 4 | org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve 5 | org.eclipse.jdt.core.compiler.compliance=1.5 6 | org.eclipse.jdt.core.compiler.debug.lineNumber=generate 7 | org.eclipse.jdt.core.compiler.debug.localVariable=generate 8 | org.eclipse.jdt.core.compiler.debug.sourceFile=generate 9 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 10 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 11 | org.eclipse.jdt.core.compiler.source=1.5 12 | -------------------------------------------------------------------------------- /ServiceBroker/.settings/org.eclipse.wst.common.component: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /ServiceBroker/.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /ServiceBroker/.settings/org.eclipse.wst.jsdt.ui.superType.container: -------------------------------------------------------------------------------- 1 | org.eclipse.wst.jsdt.launching.baseBrowserLibrary -------------------------------------------------------------------------------- /ServiceBroker/.settings/org.eclipse.wst.jsdt.ui.superType.name: -------------------------------------------------------------------------------- 1 | Window -------------------------------------------------------------------------------- /ServiceBroker/.settings/org.hibernate.eclipse.console.prefs: -------------------------------------------------------------------------------- 1 | default.configuration= 2 | eclipse.preferences.version=1 3 | hibernate3.enabled=false 4 | -------------------------------------------------------------------------------- /ServiceBroker/ImportedClasses/Service/Scenario.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ServiceBroker/ImportedClasses/Service/Scenario.class -------------------------------------------------------------------------------- /ServiceBroker/ImportedClasses/Service/ServiceBroker.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ServiceBroker/ImportedClasses/Service/ServiceBroker.class -------------------------------------------------------------------------------- /ServiceBroker/ImportedClasses/Service/User.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ServiceBroker/ImportedClasses/Service/User.class -------------------------------------------------------------------------------- /ServiceBroker/README.md: -------------------------------------------------------------------------------- 1 | SIP Servlets 2 | ============== 3 | 4 | ###Service Broker 5 | Service Broker gives the TSP the option to use the exiting service in various permutations and combinations . For example Services like 6 | IPTV , CALL management , Voice Call etc can be made to execute in sequence o a single call requets such that the combined logic serves a purpose . 7 | All this saves the operator the time , energy and money required to make new services , while creating advanced logic from already existing services . 8 | 9 | 10 | More application descriptions are included here [Telecom SIP application summary] 11 | 12 | 13 | [Telecom SIP application summary]:https://altanaitelecom.wordpress.com/2014/01/15/applications-for-telecom-providers-that-cater-to-sip/ 14 | 15 | -------------------------------------------------------------------------------- /ServiceBroker/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Ant-Version: Apache Ant 1.8.1 3 | Created-By: Ant, auto-build for ServiceBroker 4 | 5 | -------------------------------------------------------------------------------- /ServiceBroker/WebContent/Page1.jsp: -------------------------------------------------------------------------------- 1 | <%@ page contentType="text/html; charset=iso-8859-1" language="java" errorPage="" %> 2 | Untitled Document
TATA CONSULTANCY SERVICES




                  HOME




Login Id

Password









Contact-
Tata Consultancy Services,
TCS Towers,
Gurgaon.
Experience Certainity....
-------------------------------------------------------------------------------- /ServiceBroker/WebContent/Page2.jsp: -------------------------------------------------------------------------------- 1 | <%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %> Untitled Document 2 | No Frames 3 | 4 | -------------------------------------------------------------------------------- /ServiceBroker/WebContent/Page3.jsp: -------------------------------------------------------------------------------- 1 | <%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %> Untitled Document HOME



Select the services you are using:

Voice Call
IPTV
Service 3

-------------------------------------------------------------------------------- /ServiceBroker/WebContent/Page4.jsp: -------------------------------------------------------------------------------- 1 | <%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %> Untitled Document HOME



Define your options here:


Voice Call Running First Voice Call
Stop Pause Continue
IPTV
Cancel Hold Continue
IPTV Running First IPTV
Stop Pause Continue
IPTV
Cancel Pause Continue


-------------------------------------------------------------------------------- /ServiceBroker/WebContent/Page5.jsp: -------------------------------------------------------------------------------- 1 | <%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %> <% application.setAttribute("task1", request.getParameter("task1")); application.setAttribute("task2", request.getParameter("task2")); application.setAttribute("task3", request.getParameter("task3")); application.setAttribute("task4", request.getParameter("task4")); %> Untitled Document HOME



Succesfully Entered your choices!!!!!!!!!!!!!!
-------------------------------------------------------------------------------- /ServiceBroker/WebContent/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ServiceBroker/WebContent/Thumbs.db -------------------------------------------------------------------------------- /ServiceBroker/WebContent/WEB-INF/GetResult.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |

Tatara Convergent Server

5 | Result 6 |
7 |
9 | 10 | 11 |
12 |
13 | Please click submit only when you have executed all the command on A1p Site in SIA 14 |
15 |
16 |
17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /ServiceBroker/WebContent/WEB-INF/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ServiceBroker/WebContent/WEB-INF/Thumbs.db -------------------------------------------------------------------------------- /ServiceBroker/WebContent/WEB-INF/back.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ServiceBroker/WebContent/WEB-INF/back.JPG -------------------------------------------------------------------------------- /ServiceBroker/WebContent/WEB-INF/background.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ServiceBroker/WebContent/WEB-INF/background.jpg -------------------------------------------------------------------------------- /ServiceBroker/WebContent/WEB-INF/index.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | Tata Consultancy Services 7 | 8 | 9 |
10 | 11 | 12 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |

Welcome to iPage.

To Login, please enter your User id and password.
30 |
31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 44 | 45 | 46 |
User Id:
Password:
42 | 43 | New User,Click here to register!
47 | 48 | 49 |
50 | 51 | 52 | 53 | 59 | 60 |
61 | 62 | 63 | -------------------------------------------------------------------------------- /ServiceBroker/WebContent/WEB-INF/lib/Diameter.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ServiceBroker/WebContent/WEB-INF/lib/Diameter.jar -------------------------------------------------------------------------------- /ServiceBroker/WebContent/WEB-INF/lib/algorithm.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ServiceBroker/WebContent/WEB-INF/lib/algorithm.jar -------------------------------------------------------------------------------- /ServiceBroker/WebContent/WEB-INF/lib/commons-logging.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ServiceBroker/WebContent/WEB-INF/lib/commons-logging.jar -------------------------------------------------------------------------------- /ServiceBroker/WebContent/WEB-INF/lib/cos.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ServiceBroker/WebContent/WEB-INF/lib/cos.jar -------------------------------------------------------------------------------- /ServiceBroker/WebContent/WEB-INF/lib/filterbuilder.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ServiceBroker/WebContent/WEB-INF/lib/filterbuilder.jar -------------------------------------------------------------------------------- /ServiceBroker/WebContent/WEB-INF/lib/htmllexer.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ServiceBroker/WebContent/WEB-INF/lib/htmllexer.jar -------------------------------------------------------------------------------- /ServiceBroker/WebContent/WEB-INF/lib/htmlparser.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ServiceBroker/WebContent/WEB-INF/lib/htmlparser.jar -------------------------------------------------------------------------------- /ServiceBroker/WebContent/WEB-INF/lib/junit.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ServiceBroker/WebContent/WEB-INF/lib/junit.jar -------------------------------------------------------------------------------- /ServiceBroker/WebContent/WEB-INF/lib/log4j-1.2.8.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ServiceBroker/WebContent/WEB-INF/lib/log4j-1.2.8.jar -------------------------------------------------------------------------------- /ServiceBroker/WebContent/WEB-INF/lib/rtp_DesktopDLL.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ServiceBroker/WebContent/WEB-INF/lib/rtp_DesktopDLL.dll -------------------------------------------------------------------------------- /ServiceBroker/WebContent/WEB-INF/lib/sax2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ServiceBroker/WebContent/WEB-INF/lib/sax2.jar -------------------------------------------------------------------------------- /ServiceBroker/WebContent/WEB-INF/lib/servlet.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ServiceBroker/WebContent/WEB-INF/lib/servlet.jar -------------------------------------------------------------------------------- /ServiceBroker/WebContent/WEB-INF/lib/sipservlet.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ServiceBroker/WebContent/WEB-INF/lib/sipservlet.jar -------------------------------------------------------------------------------- /ServiceBroker/WebContent/WEB-INF/lib/thumbelina.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ServiceBroker/WebContent/WEB-INF/lib/thumbelina.jar -------------------------------------------------------------------------------- /ServiceBroker/WebContent/WEB-INF/lib/xerces.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ServiceBroker/WebContent/WEB-INF/lib/xerces.jar -------------------------------------------------------------------------------- /ServiceBroker/WebContent/WEB-INF/lib/xercesSamples.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ServiceBroker/WebContent/WEB-INF/lib/xercesSamples.jar -------------------------------------------------------------------------------- /ServiceBroker/WebContent/WEB-INF/login.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | New Page 1 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 17 | 18 | 19 | 20 |

Please enter your username and password

21 | 22 | 23 |

Username

24 |

Password

25 |

26 |
27 |

 

28 | 29 | 30 | 31 |
34 | 35 |

To begin calling... click on Call.

36 | 37 | 38 | 39 | 40 |
41 |
42 | 43 | 44 | 45 | 46 | 47 | 48 |
49 | 50 | 51 | 52 | 57 | 58 | 59 | 60 | 61 | 62 | -------------------------------------------------------------------------------- /ServiceBroker/WebContent/WEB-INF/main.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | Tata Consultancy Services 7 | 8 | 9 |
10 | 11 | 12 | 17 | 18 | 19 | 20 |
23 | 24 |

To begin calling... click on Call.

25 | 26 | 27 | 28 | 29 |
30 |
31 | 32 |

Hookedon

33 | Call 34 | 35 | 36 | 37 | 38 |
39 | 40 | 41 | 42 | 47 | 48 |
49 | 50 | 51 | -------------------------------------------------------------------------------- /ServiceBroker/WebContent/WEB-INF/sip.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 11 | 14 | 15 | 16 | ServiceBroker 17 | A simple application illustrating how to write a back-to-back user agent (B2BUA). 18 | 19 | 20 | 21 | 22 | SB 23 | SB 24 | Service Broker servlet 25 | Service.ServiceBroker 26 | 1 27 | 28 | 29 | 30 | 31 | SB 32 | 33 | 34 | 35 | request.method 36 | INVITE 37 | 38 | 39 | request.method 40 | BYE 41 | 42 | 43 | request.method 44 | CANCEL 45 | 46 | 47 | request.method 48 | SUBSCRIBE 49 | 50 | 51 | request.method 52 | MESSAGE 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | -------------------------------------------------------------------------------- /ServiceBroker/WebContent/WEB-INF/ssdupdate.txt: -------------------------------------------------------------------------------- 1 | SEND_SSDUPDATEREQ 2 | RECV_OK 3 | RECV_BSCHALLREQ 4 | SEND_OK 5 | SEND_BSCHALLRES 6 | RECV_OK 7 | RECV_SSDUPDATERES 8 | SEND_OK 9 | SEND_AUTHREQ 10 | RECV_OK 11 | RECV_AUTHRES 12 | SEND_OK -------------------------------------------------------------------------------- /ServiceBroker/WebContent/WEB-INF/t.css: -------------------------------------------------------------------------------- 1 | /* -- Reset default style -- */ 2 | body, h1, p{border:0; margin:0; padding:0;} 3 | body{font-family:Arial, Helvetica, sans-serif; font-size:12px;} 4 | 5 | /* ------------ */ 6 | /* HEADER */ 7 | #header{ 8 | padding:12px; 9 | color:#FFFFFF; 10 | background:#006699; 11 | } 12 | /* PAGE BODY */ 13 | #page-body{padding:54px;} 14 | h1{font-size:16px; font-weight:bold;} 15 | h1 a:link, a:visited{color:#333333;} 16 | .tag{font-size:12px; margin-bottom:20px;} 17 | .tag a:link, .tag a:visited{color:#999999;} 18 | 19 | /* FOOTER */ 20 | #footer{ 21 | padding:10px; 22 | border-top:solid 1px #DEDEDE; 23 | color:#999999; 24 | font-size:14px; 25 | } 26 | #footer a:link, #footer a:visited{ 27 | color:#666666; 28 | } 29 | -------------------------------------------------------------------------------- /ServiceBroker/WebContent/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 13 | 14 | 15 | B2BUA 16 | B2BUA 17 | 18 | ACSHttpServlet 19 | b2bua.ACSHttpServlet 20 | 21 | 22 | ACSResultServlet 23 | b2bua.ACSResultServlet 24 | 25 | 26 | DataInsertion 27 | b2bua.DataInsertion 28 | 29 | 30 | ACSSipServlet 31 | B2BUA.ACSSipServlet 32 | 33 | 34 | 35 | ACSHttpServlet 36 | B2BUA/ACSHttpServlet 37 | 38 | 39 | 40 | ACSSipServlet 41 | B2BUA/ACSSipServlet 42 | 43 | 44 | 45 | DataInsertion 46 | B2BUA/DataInsertion 47 | 48 | 49 | 50 | Page1.jsp 51 | 52 | 53 | 54 | -------------------------------------------------------------------------------- /ServiceBroker/WebContent/WEB-INF/weblogic.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | precompile 11 | 12 | 13 | true 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /ServiceBroker/WebContent/frame1.html: -------------------------------------------------------------------------------- 1 | Untitled Document WE SERVE YOU BETTER....... -------------------------------------------------------------------------------- /ServiceBroker/WebContent/frame2.html: -------------------------------------------------------------------------------- 1 | Untitled Document HOME


List of Services Availiable:


Voice Call

IPTV

Service 3



To describe Interaction between services click here:

-------------------------------------------------------------------------------- /ServiceBroker/WebContent/image2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ServiceBroker/WebContent/image2.jpg -------------------------------------------------------------------------------- /ServiceBroker/WebContent/img3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ServiceBroker/WebContent/img3.jpg -------------------------------------------------------------------------------- /ServiceBroker/src/Service/Scenario.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Purpose : Provides tasks for building IMS Application called Service Broker . 3 | * Author : Altanai Bisht 4 | * Author : http://altanaitelecom.wordpress.com 5 | * Author : Telecom Research and Development 6 | * Date : Jun 2012 7 | */ 8 | 9 | package Service; 10 | 11 | class Scenario 12 | { 13 | public String[] findDecision(String currentService,String requestedService) 14 | { 15 | String decision[]=new String[2]; 16 | if(currentService.equals("VoiceCall") && requestedService.equals("IPTV")) 17 | { 18 | decision[0]="task1"; 19 | decision[1]="task2"; 20 | } 21 | else if(currentService.equals("IPTV") && requestedService.equals("VoiceCall")) 22 | { 23 | decision[0]="task4"; 24 | decision[1]="task3"; 25 | } 26 | return decision; 27 | } 28 | public String findAddress(String service) 29 | { 30 | String address=""; 31 | if(service.equals("VoiceCall")) 32 | { 33 | address="sip:ser@100.1.1.10:5061"; 34 | } 35 | else if(service.equals("IPTV")) 36 | { 37 | address="sip:iptv@100.1.1.5:5061"; 38 | } 39 | return address; 40 | } 41 | } -------------------------------------------------------------------------------- /ServiceBroker/src/Service/User.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Purpose : Provides tasks for building IMS Application called Service Broker . 3 | * Author : Altanai Bisht 4 | * Author : http://altanaitelecom.wordpress.com 5 | * Author : Telecom Research and Development 6 | * Date : Jun 2012 7 | */ 8 | 9 | package Service; 10 | 11 | import java.util.*; 12 | 13 | class User 14 | { 15 | protected String userName; 16 | protected ArrayList currentLayoutActiveSession=new ArrayList(); 17 | public User(String userName,String currentService) 18 | { 19 | this.userName=userName; 20 | currentLayoutActiveSession.add(currentService); 21 | } 22 | public void addNewService(String newService) 23 | { 24 | currentLayoutActiveSession.add(newService); 25 | } 26 | public String getUserName() 27 | { 28 | return userName; 29 | } 30 | public String getService() 31 | { 32 | return currentLayoutActiveSession.get(0); 33 | } 34 | public int noOfService() 35 | { 36 | return currentLayoutActiveSession.size(); 37 | } 38 | public void removeService(String service) 39 | { 40 | int i=currentLayoutActiveSession.indexOf(service); 41 | currentLayoutActiveSession.remove(i); 42 | } 43 | } -------------------------------------------------------------------------------- /ServiceBroker/web/Page1.jsp: -------------------------------------------------------------------------------- 1 | <%@ page contentType="text/html; charset=iso-8859-1" language="java" errorPage="" %> 2 | Service Broker
Service Broker




                  HOME




Login Id

Password









Contact-
-------------------------------------------------------------------------------- /ServiceBroker/web/Page2.jsp: -------------------------------------------------------------------------------- 1 | <%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %> Service Broker 2 | No Frames 3 | 4 | -------------------------------------------------------------------------------- /ServiceBroker/web/Page3.jsp: -------------------------------------------------------------------------------- 1 | <%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %> Service Broker HOME



Select the services you are using:

Voice Call
IPTV
Service 3

-------------------------------------------------------------------------------- /ServiceBroker/web/Page4.jsp: -------------------------------------------------------------------------------- 1 | <%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %> Service Broker HOME



Define your options here:


Voice Call Running First Voice Call
Stop Pause Continue
IPTV
Cancel Hold Continue
IPTV Running First IPTV
Stop Pause Continue
IPTV
Cancel Pause Continue


-------------------------------------------------------------------------------- /ServiceBroker/web/Page5.jsp: -------------------------------------------------------------------------------- 1 | <%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %> <% application.setAttribute("task1", request.getParameter("task1")); application.setAttribute("task2", request.getParameter("task2")); application.setAttribute("task3", request.getParameter("task3")); application.setAttribute("task4", request.getParameter("task4")); %> Untitled Document HOME



Succesfully Entered your choices!!!!!!!!!!!!!!
-------------------------------------------------------------------------------- /ServiceBroker/web/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ServiceBroker/web/Thumbs.db -------------------------------------------------------------------------------- /ServiceBroker/web/WEB-INF/GetResult.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |

Convergent Server

5 | Result 6 |
7 |
9 | 10 | 11 |
12 |
13 | Please click submit only when you have executed all the command on A1p Site in SIA 14 |
15 |
16 |
17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /ServiceBroker/web/WEB-INF/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ServiceBroker/web/WEB-INF/Thumbs.db -------------------------------------------------------------------------------- /ServiceBroker/web/WEB-INF/back.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ServiceBroker/web/WEB-INF/back.JPG -------------------------------------------------------------------------------- /ServiceBroker/web/WEB-INF/background.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ServiceBroker/web/WEB-INF/background.jpg -------------------------------------------------------------------------------- /ServiceBroker/web/WEB-INF/index.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | Service Broker 7 | 8 | 9 |
10 | 11 | 12 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |

Welcome to iPage.

To Login, please enter your User id and password.
30 |
31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 44 | 45 | 46 |
User Id:
Password:
42 | 43 | New User,Click here to register!
47 | 48 | 49 |
50 | 51 | 52 | 53 | 59 | 60 |
61 | 62 | 63 | -------------------------------------------------------------------------------- /ServiceBroker/web/WEB-INF/lib/Diameter.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ServiceBroker/web/WEB-INF/lib/Diameter.jar -------------------------------------------------------------------------------- /ServiceBroker/web/WEB-INF/lib/algorithm.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ServiceBroker/web/WEB-INF/lib/algorithm.jar -------------------------------------------------------------------------------- /ServiceBroker/web/WEB-INF/lib/commons-logging.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ServiceBroker/web/WEB-INF/lib/commons-logging.jar -------------------------------------------------------------------------------- /ServiceBroker/web/WEB-INF/lib/cos.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ServiceBroker/web/WEB-INF/lib/cos.jar -------------------------------------------------------------------------------- /ServiceBroker/web/WEB-INF/lib/filterbuilder.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ServiceBroker/web/WEB-INF/lib/filterbuilder.jar -------------------------------------------------------------------------------- /ServiceBroker/web/WEB-INF/lib/htmllexer.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ServiceBroker/web/WEB-INF/lib/htmllexer.jar -------------------------------------------------------------------------------- /ServiceBroker/web/WEB-INF/lib/htmlparser.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ServiceBroker/web/WEB-INF/lib/htmlparser.jar -------------------------------------------------------------------------------- /ServiceBroker/web/WEB-INF/lib/junit.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ServiceBroker/web/WEB-INF/lib/junit.jar -------------------------------------------------------------------------------- /ServiceBroker/web/WEB-INF/lib/log4j-1.2.8.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ServiceBroker/web/WEB-INF/lib/log4j-1.2.8.jar -------------------------------------------------------------------------------- /ServiceBroker/web/WEB-INF/lib/rtp_DesktopDLL.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ServiceBroker/web/WEB-INF/lib/rtp_DesktopDLL.dll -------------------------------------------------------------------------------- /ServiceBroker/web/WEB-INF/lib/sax2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ServiceBroker/web/WEB-INF/lib/sax2.jar -------------------------------------------------------------------------------- /ServiceBroker/web/WEB-INF/lib/thumbelina.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ServiceBroker/web/WEB-INF/lib/thumbelina.jar -------------------------------------------------------------------------------- /ServiceBroker/web/WEB-INF/lib/xerces.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ServiceBroker/web/WEB-INF/lib/xerces.jar -------------------------------------------------------------------------------- /ServiceBroker/web/WEB-INF/lib/xercesSamples.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ServiceBroker/web/WEB-INF/lib/xercesSamples.jar -------------------------------------------------------------------------------- /ServiceBroker/web/WEB-INF/login.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Service Broker 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 17 | 18 | 19 | 20 |

Please enter your username and password

21 | 22 | 23 |

Username

24 |

Password

25 |

26 |
27 |

 

28 | 29 | 30 | 31 |
34 | 35 |

To begin calling... click on Call.

36 | 37 | 38 | 39 | 40 |
41 |
42 | 43 | 44 | 45 | 46 | 47 | 48 |
49 | 50 | 51 | 52 | 57 | 58 | 59 | 60 | 61 | 62 | -------------------------------------------------------------------------------- /ServiceBroker/web/WEB-INF/main.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | Service Broker 7 | 8 | 9 |
10 | 11 | 12 | 17 | 18 | 19 | 20 |
23 | 24 |

To begin calling... click on Call.

25 | 26 | 27 | 28 | 29 |
30 |
31 | 32 |

Hookedon

33 | Call 34 | 35 | 36 | 37 | 38 |
39 | 40 | 41 | 42 | 47 | 48 |
49 | 50 | 51 | -------------------------------------------------------------------------------- /ServiceBroker/web/WEB-INF/sip.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 12 | 15 | 16 | 17 | ServiceBroker 18 | A simple application illustrating how to write a back-to-back user agent (B2BUA). 19 | 20 | 21 | 22 | 23 | SB 24 | SB 25 | Service Broker servlet 26 | Service.ServiceBroker 27 | 1 28 | 29 | 30 | 31 | 32 | SB 33 | 34 | 35 | 36 | request.method 37 | INVITE 38 | 39 | 40 | request.method 41 | BYE 42 | 43 | 44 | request.method 45 | CANCEL 46 | 47 | 48 | request.method 49 | SUBSCRIBE 50 | 51 | 52 | request.method 53 | MESSAGE 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | -------------------------------------------------------------------------------- /ServiceBroker/web/WEB-INF/ssdupdate.txt: -------------------------------------------------------------------------------- 1 | SEND_SSDUPDATEREQ 2 | RECV_OK 3 | RECV_BSCHALLREQ 4 | SEND_OK 5 | SEND_BSCHALLRES 6 | RECV_OK 7 | RECV_SSDUPDATERES 8 | SEND_OK 9 | SEND_AUTHREQ 10 | RECV_OK 11 | RECV_AUTHRES 12 | SEND_OK -------------------------------------------------------------------------------- /ServiceBroker/web/WEB-INF/t.css: -------------------------------------------------------------------------------- 1 | /* -- Reset default style -- */ 2 | body, h1, p{border:0; margin:0; padding:0;} 3 | body{font-family:Arial, Helvetica, sans-serif; font-size:12px;} 4 | 5 | /* ------------ */ 6 | /* HEADER */ 7 | #header{ 8 | padding:12px; 9 | color:#FFFFFF; 10 | background:#006699; 11 | } 12 | /* PAGE BODY */ 13 | #page-body{padding:54px;} 14 | h1{font-size:16px; font-weight:bold;} 15 | h1 a:link, a:visited{color:#333333;} 16 | .tag{font-size:12px; margin-bottom:20px;} 17 | .tag a:link, .tag a:visited{color:#999999;} 18 | 19 | /* FOOTER */ 20 | #footer{ 21 | padding:10px; 22 | border-top:solid 1px #DEDEDE; 23 | color:#999999; 24 | font-size:14px; 25 | } 26 | #footer a:link, #footer a:visited{ 27 | color:#666666; 28 | } 29 | -------------------------------------------------------------------------------- /ServiceBroker/web/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 2 | 11 | 14 | 15 | 16 | B2BUA 17 | B2BUA 18 | 19 | ACSHttpServlet 20 | b2bua.ACSHttpServlet 21 | 22 | 23 | ACSResultServlet 24 | b2bua.ACSResultServlet 25 | 26 | 27 | DataInsertion 28 | b2bua.DataInsertion 29 | 30 | 31 | ACSSipServlet 32 | B2BUA.ACSSipServlet 33 | 34 | 35 | 36 | ACSHttpServlet 37 | B2BUA/ACSHttpServlet 38 | 39 | 40 | 41 | ACSSipServlet 42 | B2BUA/ACSSipServlet 43 | 44 | 45 | 46 | DataInsertion 47 | B2BUA/DataInsertion 48 | 49 | 50 | 51 | Page1.jsp 52 | 53 | 54 | 55 | -------------------------------------------------------------------------------- /ServiceBroker/web/WEB-INF/weblogic.xml: -------------------------------------------------------------------------------- 1 | 10 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | precompile 20 | 21 | 22 | true 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /ServiceBroker/web/frame1.html: -------------------------------------------------------------------------------- 1 | Service Broker WE SERVE YOU BETTER....... -------------------------------------------------------------------------------- /ServiceBroker/web/frame2.html: -------------------------------------------------------------------------------- 1 | Service Broker HOME


List of Services Availiable:


Voice Call

IPTV

Service 3



To describe Interaction between services click here:

-------------------------------------------------------------------------------- /ServiceBroker/web/image2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/ServiceBroker/web/image2.jpg -------------------------------------------------------------------------------- /ThirdPartyTransfer/src/com/ThirdPartyTransfer/TransferController.java: -------------------------------------------------------------------------------- 1 | /** 2 | * @(#)TransferController.java 3 | * 4 | * 5 | * @author 6 | * @version 1.00 2010/7/29 7 | */ 8 | package com.ThirdPartyController; 9 | import javax.servlet.*; 10 | import javax.servlet.sip.*; 11 | import java.io.*; 12 | import java.util.HashMap; 13 | 14 | public class TransferController extends SipServlet { 15 | 16 | public SipFactory fact; 17 | public SipApplicationSession sas; 18 | 19 | public void init(ServletConfig config) throws ServletException 20 | { 21 | fact=(SipFactory)config.getServletContext.getAttribute(SipServlet.SIP_FACTORY); 22 | sas=fact.createApplicationSession(); 23 | } 24 | protected void doInvite(SipServletRequest req) throws ServletException,IOException 25 | { 26 | SipServletRequest req2=fact.createRequest(sas,"INVITE",req.getFrom(),"to"); 27 | req2.send(); 28 | } 29 | protected void doSuccessResponse(SipServlet) 30 | 31 | 32 | 33 | } -------------------------------------------------------------------------------- /ThirdPartyTransfer/web/WEB-INF/sip.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | ThirdPartyTransfer 8 | 9 | 10 | ThirdPartyTransfer 11 | com.ThirdPartyTransfer.TransferController 12 | 13 | 14 | ThirdPartyTransfer 15 | 16 | 17 | request.methodACK 18 | request.methodINVITE 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /ThirdPartyTransfer/web/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | ThirdPartyTransfer 8 | ThirdPartyTransfer 9 | 21 | 31 | 32 | -------------------------------------------------------------------------------- /ThirdPartyTransfer/web/WEB-INF/weblogic.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | precompile 11 | 12 | 13 | true 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /VoiceCall/src/com/VoiceCall.java: -------------------------------------------------------------------------------- 1 | package com; 2 | import java.io.IOException; 3 | import java.util.HashMap; 4 | import javax.servlet.*; 5 | import javax.servlet.sip.*; 6 | import org.apache.commons.logging.Log; 7 | import org.apache.commons.logging.LogFactory; 8 | 9 | public class VoiceCall extends SipServlet{ 10 | public ServletContext context; 11 | SipApplicationSession sas; 12 | public SipFactory factory; 13 | SipServletRequest incoming; 14 | public static final Log log = LogFactory.getLog(VoiceCall.class); 15 | public void init(ServletConfig config) { 16 | try{ 17 | log.info("Init."); 18 | super.init(config); 19 | 20 | factory = (SipFactory) getServletContext().getAttribute( 21 | SipServlet.SIP_FACTORY); 22 | sas=factory.createApplicationSession(); 23 | context=config.getServletContext(); 24 | context.setAttribute("servlet",this); 25 | //registerWithBroker(); 26 | } 27 | catch(Exception e){ 28 | log.info("VoiceCall:27 "+e.toString()); 29 | } 30 | } 31 | 32 | public void doRequest(SipServletRequest req){ 33 | try{ 34 | if(req.getMethod().equals("INVITE") && req.isInitial()){ 35 | SipServletRequest req2=factory.createRequest(sas,"MESSAGE","sip:ser@100.1.1.15:5061","sip:100.1.1.15:2519"); 36 | req2.setHeader("Type","Query"); 37 | req2.send(); 38 | incoming=req; 39 | } 40 | else{ 41 | ((CallLeg)req.getSession().getAttribute("CALL_LEG")).transferReq(req); 42 | } 43 | } 44 | catch(Exception e){ 45 | log.info("VoiceCall:39 "+e.toString()); 46 | } 47 | } 48 | 49 | public void doResponse(SipServletResponse res){ 50 | try{ 51 | if(res.getRequest().getMethod().equals("MESSAGE") && res.getContent().equals("OK")){ 52 | System.out.println("Message Reply Recieved "+ res.getContent()); 53 | SipServletRequest req=factory.createRequest(sas,"INVITE","sip:ser@100.1.1.15:5061","sip:1@100.1.1.15:5070"); 54 | CallLeg leg1=new CallLeg(incoming, factory, log); 55 | CallLeg leg2=new CallLeg(req, factory, log); 56 | leg1.state="Invited"; 57 | leg1.otherLeg=leg2; 58 | leg2.otherLeg=leg1; 59 | leg2.startCall(); 60 | } 61 | else 62 | ((CallLeg)res.getSession().getAttribute("CALL_LEG")).transferRes(res); 63 | } 64 | catch(Exception e){ 65 | log.info("VoiceCall:44 "+e.toString()); 66 | } 67 | } 68 | } -------------------------------------------------------------------------------- /VoiceCall/web/WEB-INF/sip.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | VoiceCall 7 | 8 | VoiceCall 9 | com.VoiceCall 10 | 11 | 12 | VoiceCall 13 | 14 | 15 | request.methodREGISTER 16 | request.methodINVITE 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /VoiceCall/web/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | VoiceCall 8 | VoiceCall 9 | 21 | 22 | -------------------------------------------------------------------------------- /VoiceCall/web/WEB-INF/weblogic.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | precompile 11 | 12 | 13 | true 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /Voicemailserver/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /Voicemailserver/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | Voicemailserver 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.wst.jsdt.core.javascriptValidator 10 | 11 | 12 | 13 | 14 | org.eclipse.jdt.core.javabuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.wst.common.project.facet.core.builder 20 | 21 | 22 | 23 | 24 | org.eclipse.wst.validation.validationbuilder 25 | 26 | 27 | 28 | 29 | 30 | org.eclipse.jem.workbench.JavaEMFNature 31 | org.eclipse.wst.common.modulecore.ModuleCoreNature 32 | org.eclipse.wst.common.project.facet.core.nature 33 | org.eclipse.jdt.core.javanature 34 | org.eclipse.wst.jsdt.core.jsNature 35 | 36 | 37 | -------------------------------------------------------------------------------- /Voicemailserver/.settings/.jsdtscope: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /Voicemailserver/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.2 3 | org.eclipse.jdt.core.compiler.compliance=1.4 4 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=warning 5 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=warning 6 | org.eclipse.jdt.core.compiler.source=1.3 7 | -------------------------------------------------------------------------------- /Voicemailserver/.settings/org.eclipse.wst.common.component: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /Voicemailserver/.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /Voicemailserver/.settings/org.eclipse.wst.jsdt.ui.superType.container: -------------------------------------------------------------------------------- 1 | org.eclipse.wst.jsdt.launching.baseBrowserLibrary -------------------------------------------------------------------------------- /Voicemailserver/.settings/org.eclipse.wst.jsdt.ui.superType.name: -------------------------------------------------------------------------------- 1 | Window -------------------------------------------------------------------------------- /Voicemailserver/ImportedClasses/com/tcs/Voicemailserver$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/Voicemailserver/ImportedClasses/com/tcs/Voicemailserver$1.class -------------------------------------------------------------------------------- /Voicemailserver/ImportedClasses/com/tcs/Voicemailserver.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/Voicemailserver/ImportedClasses/com/tcs/Voicemailserver.class -------------------------------------------------------------------------------- /Voicemailserver/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Ant-Version: Apache Ant 1.8.1 3 | Created-By: Ant, auto-build for Voicemailserver 4 | 5 | -------------------------------------------------------------------------------- /Voicemailserver/WebContent/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/Voicemailserver/WebContent/Thumbs.db -------------------------------------------------------------------------------- /Voicemailserver/WebContent/WEB-INF/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/Voicemailserver/WebContent/WEB-INF/Thumbs.db -------------------------------------------------------------------------------- /Voicemailserver/WebContent/WEB-INF/config.properties: -------------------------------------------------------------------------------- 1 | #Tue Sep 04 12:03:09 IST 2012 2 | voicemailuri=sip:Voicemailserver@10.1.5.20:5061 3 | vxmluri=sip:1@10.1.5.15:5070 4 | VoxpilotAudioPath=C:\\Voxpilot\\vxmlinterpreter\\www\\audio 5 | voxpilotAudioString=http://10.1.5.15:9002/audio/ 6 | SMTP_HOST_NAME=smtp.gmail.com 7 | emailSubjectTxt=Recorded Voice Message 8 | emailFromAddress=tcscns@gmail.com 9 | sendTo=tcscns1@gmail.com 10 | SSL_FACTORY=javax.net.ssl.SSLSocketFactory 11 | SMTP_PORT=465 12 | -------------------------------------------------------------------------------- /Voicemailserver/WebContent/WEB-INF/sip.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 11 | 14 | 15 | 16 | Voicemailserver 17 | A simple application illustrating how to write a back-to-back user agent (B2BUA). 18 | 19 | 20 | 21 | 22 | MP 23 | MP 24 | Voice Call servlet 25 | com.tcs.Voicemailserver 26 | 1 27 | 28 | 29 | 30 | 31 | MP 32 | 33 | 34 | 35 | 36 | request.method 37 | INVITE 38 | 39 | 40 | 41 | 42 | request.method 43 | BYE 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | -------------------------------------------------------------------------------- /Voicemailserver/WebContent/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 12 | 13 | 14 | VoiceMailServer 15 | >VoiceMailServer 16 | 17 | ACSHttpServlet 18 | b2bua.ACSHttpServlet 19 | 20 | 21 | ACSResultServlet 22 | b2bua.ACSResultServlet 23 | 24 | 25 | DataInsertion 26 | b2bua.DataInsertion 27 | 28 | 29 | ACSSipServlet 30 | B2BUA.ACSSipServlet 31 | 32 | 33 | 34 | ACSHttpServlet 35 | B2BUA/ACSHttpServlet 36 | 37 | 38 | 39 | ACSSipServlet 40 | B2BUA/ACSSipServlet 41 | 42 | 43 | 44 | DataInsertion 45 | B2BUA/DataInsertion 46 | 47 | 48 | 49 | main.html 50 | 51 | 52 | 53 | -------------------------------------------------------------------------------- /Voicemailserver/WebContent/WEB-INF/weblogic.xml: -------------------------------------------------------------------------------- 1 | 8 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | precompile 18 | 19 | 20 | true 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /Voicemailserver/config.properties: -------------------------------------------------------------------------------- 1 | #Tue Sep 04 12:03:09 IST 2012 2 | voicemailuri=sip:Voicemailserver@10.1.5.20:5061 3 | vxmluri=sip:1@10.1.5.15:5070 4 | VoxpilotAudioPath=C:\\Voxpilot\\vxmlinterpreter\\www\\audio 5 | voxpilotAudioString=http://10.1.5.15:9002/audio/ 6 | SMTP_HOST_NAME=smtp.gmail.com 7 | emailSubjectTxt=Recorded Voice Message 8 | emailFromAddress=tcscns@gmail.com 9 | sendTo=tcscns1@gmail.com 10 | SSL_FACTORY=javax.net.ssl.SSLSocketFactory 11 | SMTP_PORT=465 12 | -------------------------------------------------------------------------------- /Voicemailserver/src/com/tcs/config.properties: -------------------------------------------------------------------------------- 1 | #Tue Sep 04 12:03:09 IST 2012 2 | voicemailuri=sip:Voicemailserver@10.1.5.15:5061 3 | vxmluri=sip:1@10.1.5.15:5070 4 | VoxpilotAudioPath=C:\\Voxpilot\\vxmlinterpreter\\www\\audio 5 | voxpilotAudioString=http://10.1.5.15:9002/audio/ 6 | SMTP_HOST_NAME=smtp.gmail.com 7 | emailSubjectTxt=Recorded Voice Message 8 | emailFromAddress=tcscns@gmail.com 9 | sendTo=tcscns1@gmail.com 10 | SSL_FACTORY=javax.net.ssl.SSLSocketFactory 11 | SMTP_PORT=465 12 | -------------------------------------------------------------------------------- /Voicemailserver/web/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/Voicemailserver/web/Thumbs.db -------------------------------------------------------------------------------- /Voicemailserver/web/WEB-INF/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/Voicemailserver/web/WEB-INF/Thumbs.db -------------------------------------------------------------------------------- /Voicemailserver/web/WEB-INF/config.properties: -------------------------------------------------------------------------------- 1 | #Tue Sep 04 12:03:09 IST 2012 2 | voicemailuri=sip:Voicemailserver@10.1.5.20:5061 3 | vxmluri=sip:1@10.1.5.15:5070 4 | VoxpilotAudioPath=C:\\Voxpilot\\vxmlinterpreter\\www\\audio 5 | voxpilotAudioString=http://10.1.5.15:9002/audio/ 6 | SMTP_HOST_NAME=smtp.gmail.com 7 | emailSubjectTxt=Recorded Voice Message 8 | emailFromAddress=tcscns@gmail.com 9 | sendTo=tcscns1@gmail.com 10 | SSL_FACTORY=javax.net.ssl.SSLSocketFactory 11 | SMTP_PORT=465 12 | -------------------------------------------------------------------------------- /Voicemailserver/web/WEB-INF/lib/Diameter.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/Voicemailserver/web/WEB-INF/lib/Diameter.jar -------------------------------------------------------------------------------- /Voicemailserver/web/WEB-INF/lib/Shortcut to lib.lnk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/Voicemailserver/web/WEB-INF/lib/Shortcut to lib.lnk -------------------------------------------------------------------------------- /Voicemailserver/web/WEB-INF/lib/algorithm.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/Voicemailserver/web/WEB-INF/lib/algorithm.jar -------------------------------------------------------------------------------- /Voicemailserver/web/WEB-INF/lib/commons-logging.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/Voicemailserver/web/WEB-INF/lib/commons-logging.jar -------------------------------------------------------------------------------- /Voicemailserver/web/WEB-INF/lib/cos.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/Voicemailserver/web/WEB-INF/lib/cos.jar -------------------------------------------------------------------------------- /Voicemailserver/web/WEB-INF/lib/filterbuilder.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/Voicemailserver/web/WEB-INF/lib/filterbuilder.jar -------------------------------------------------------------------------------- /Voicemailserver/web/WEB-INF/lib/htmllexer.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/Voicemailserver/web/WEB-INF/lib/htmllexer.jar -------------------------------------------------------------------------------- /Voicemailserver/web/WEB-INF/lib/htmlparser.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/Voicemailserver/web/WEB-INF/lib/htmlparser.jar -------------------------------------------------------------------------------- /Voicemailserver/web/WEB-INF/lib/junit.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/Voicemailserver/web/WEB-INF/lib/junit.jar -------------------------------------------------------------------------------- /Voicemailserver/web/WEB-INF/lib/log4j-1.2.8.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/Voicemailserver/web/WEB-INF/lib/log4j-1.2.8.jar -------------------------------------------------------------------------------- /Voicemailserver/web/WEB-INF/lib/rtp_DesktopDLL.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/Voicemailserver/web/WEB-INF/lib/rtp_DesktopDLL.dll -------------------------------------------------------------------------------- /Voicemailserver/web/WEB-INF/lib/sax2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/Voicemailserver/web/WEB-INF/lib/sax2.jar -------------------------------------------------------------------------------- /Voicemailserver/web/WEB-INF/lib/thumbelina.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/Voicemailserver/web/WEB-INF/lib/thumbelina.jar -------------------------------------------------------------------------------- /Voicemailserver/web/WEB-INF/lib/xerces.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/Voicemailserver/web/WEB-INF/lib/xerces.jar -------------------------------------------------------------------------------- /Voicemailserver/web/WEB-INF/lib/xercesSamples.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altanai/sip-servlets/b85fdfc2e2fbec2dcc4add75d6f3f801b0159abd/Voicemailserver/web/WEB-INF/lib/xercesSamples.jar -------------------------------------------------------------------------------- /Voicemailserver/web/WEB-INF/sip.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 11 | 14 | 15 | 16 | Voicemailserver 17 | A simple application illustrating how to write a back-to-back user agent (B2BUA). 18 | 19 | 20 | 21 | 22 | MP 23 | MP 24 | Voice Call servlet 25 | com.tcs.Voicemailserver 26 | 1 27 | 28 | 29 | 30 | 31 | MP 32 | 33 | 34 | 35 | 36 | request.method 37 | INVITE 38 | 39 | 40 | 41 | 42 | request.method 43 | BYE 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | -------------------------------------------------------------------------------- /Voicemailserver/web/WEB-INF/sip.xml~: -------------------------------------------------------------------------------- 1 | 2 | 3 | 11 | 14 | 15 | 16 | CallParking 17 | A simple application illustrating how to write a back-to-back user agent (B2BUA). 18 | 19 | 20 | 21 | 22 | MP 23 | MP 24 | Voice Call servlet 25 | com.tcs.CallParking 26 | 1 27 | 28 | 29 | 30 | 31 | MP 32 | 33 | 34 | 35 | 36 | 37 | request.method 38 | INVITE 39 | 40 | 41 | request.uri.param.app 42 | parking 43 | 44 | 45 | 46 | request.method 47 | BYE 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | -------------------------------------------------------------------------------- /Voicemailserver/web/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 8 | B2BUA 9 | B2BUA 10 | 11 | ACSHttpServlet 12 | b2bua.ACSHttpServlet 13 | 14 | 15 | ACSResultServlet 16 | b2bua.ACSResultServlet 17 | 18 | 19 | DataInsertion 20 | b2bua.DataInsertion 21 | 22 | 23 | ACSSipServlet 24 | B2BUA.ACSSipServlet 25 | 26 | 27 | 28 | ACSHttpServlet 29 | B2BUA/ACSHttpServlet 30 | 31 | 32 | 33 | ACSSipServlet 34 | B2BUA/ACSSipServlet 35 | 36 | 37 | 38 | DataInsertion 39 | B2BUA/DataInsertion 40 | 41 | 42 | 43 | main.html 44 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /Voicemailserver/web/WEB-INF/weblogic.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | precompile 11 | 12 | 13 | true 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | --------------------------------------------------------------------------------