LibSip_Common.ttcn 977 Bytes
Newer Older
/**
 * @author STF160, STF471
 * @version $Id: LibSip_Common.ttcn 488 2014-09-18 10:17:19Z rennoch $
 * @desc This module provides the common definitions for SIP messages.
 *              This module is part of LibSipV3.
*/
module LibSip_Common {

  type set length (1..infinity) of charstring Charstring_List;
  
  // [20.1, 20.3, 20.4, 20.7, 20.9, 20.10, 20.11, 20.18, 20.20, 20.27, 20.28, 20.30, 20.31,
  // 20.33, 20.34, 20.39, 20.42, 20.44]


  type union GenValue {
    charstring  tokenOrHost,
    charstring  quotedString
  }

Yann Garcia's avatar
Yann Garcia committed
  type record GenericParam
  {
    charstring             id,
    GenValue               paramValue optional
  }
  
  // [?]
  type set of GenericParam SemicolonParam_List;
  
  // [?]
  type set of GenericParam AmpersandParam_List;
  
  // [?]
  type set of GenericParam CommaParam_List;
  //------------------------------------------------------------------------------
      
}
with {
    encode "LibSip V3";
} // end module LibSip_Common