Testing SIP Call Flows Using XML Protocol Templates

  • M. Ranganathan
  • Olivier Deruelle
  • Doug Montgomery
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 2644)


A Session Initiation Protocol (SIP) Call Flow is a causal sequence of messages that is exchanged between interacting SIP entities. We present a novel test system for SIP based on the notion of XML Protocol Templates, of SIP call flows. These templates can be pattern matched against incoming messages and augmented with general purpose code to implement specific protocol responses. This architecture allows test systems to be easily scripted, modifed and composed. We describe these techniques in the construction of a SIP web-based interoperability tester (SIP-WIT) and comment on their potential more general use for scripting SIP services.


Session Initiation Protocol User Agent Proxy Server Incoming Message Transition Node 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


  1. 1.
    Johnston, A., Donovan, S., Sparks, R., Cunningham, C., Willis, D., Rosenberg, J., Summers, K., Schulzrinne, H.: SIP Call Flows. Note
  2. 2.
    Specification Lead Harris, C. (DynamicSoft Inc.): JAIN SIP 1.0 API. Note
  3. 3.
    Specification Lead Rafferty, C. (Ubiquity Ltd.): JAIN SIP LITE API. Note
  4. 4.
    Specification Lead Kristensen, A. (DynamicSoft Inc.): SIP Servlet API. Note
  5. 5.
    Lennox, J., Schulzrinne, H.: CPL: A Language for User Control of Internet Telephony Services. Note
  6. 6.
    Hugunin, J., Warsaw, B., van Rossum, G.: Jython: A Python implementation in JAVA. Note
  7. 7.
    Lennox, J., Schulzrinne, H., Rosenberg, J.: Common Gateway Interface for SIP. Note
  8. 8.
    Rosenberg, J., Schulzrinne, H., Camarillo, G., Johnston, A., Peterson, J., Sparks, R., Handley M., Schooler, E.: SIP: Session Initiation Protocol RFC 3261.
  9. 9.
    Handley, M., Schulzrinne, H., Schooler, E., Rosenberg, J.: SIP: Session Initiation Protocol RFC 2543. Note
  10. 10.
    Fielding, R., Gettys, J., Mogul, J., Frystyk, H., Masinter, L., Leach, P., Berners-Lee, T.: Hypertext Transfer Protocol-HTTP/1.1 (RFC 2068). Note
  11. 11.
    NIST Advanced Networking Technologies Division: NIST-SIP Web-based Interoperability Tool (SIP-WIT) Note
  12. 12.
    NIST Advanced Networking Technologies Divsion: NIST-SIP Parser and Stack. Note
  13. 13.
    Wiles, A., Vassiliou-Gioles T., Moseley, S., Mueller, S.: Experiences of Using TTCN-3 for Testing SIP and OSP. Note
  14. 14.
    Dahm, M.: Apache Byte Code Engineering Library (BCEL). Note
  15. 15.
    Schieferdecker, I., Pietsch, S., Vassilou-Gioles, T.: Systematic Testing of Internet Protocols — First Experiences in Using TTCN-3 For SIP. Note Africom 2001, Capetown, South Africa,
  16. 16.
    Parr, T.: ANTLR parser gnerator. Note
  17. 17.
    Auburn R.J., et al.: Call Control XML. Note
  18. 18.
    SIP Interoperability Test Event.: Note

Copyright information

© IFIP 2003

Authors and Affiliations

  • M. Ranganathan
    • 1
  • Olivier Deruelle
    • 1
  • Doug Montgomery
    • 1
  1. 1.Advanced Networking Technologies DivisionNational Institute of Standards and TechnologyUSA

Personalised recommendations