/* Message: DialedNumberMessage Opcode: 0x011d Type: CallControl Direction: pbx2dev VarLength: no  */
static void handle_DialedNumberMessage(ptvcursor_t *cursor, packet_info *pinfo _U_)
/* Message: DialedNumberMessage Opcode: 0x011d Type: CallControl Direction: pbx2dev VarLength: no  */
static void handle_DialedNumberMessage(ptvcursor_t *cursor, packet_info *pinfo _U_)
{
  guint32 hdr_version = tvb_get_letohl(ptvcursor_tvbuff(cursor), 4);
  guint32 VariableDirnumSize = (hdr_version >= V18_MSG_TYPE) ? 25 : 24;
  ptvcursor_add(cursor, hf_skinny_dialedNumber, VariableDirnumSize, ENC_ASCII|ENC_NA);
  si->lineId = tvb_get_letohl(ptvcursor_tvbuff(cursor), ptvcursor_current_offset(cursor));
  ptvcursor_add(cursor, hf_skinny_lineInstance, 4, ENC_LITTLE_ENDIAN);
  si->callId = tvb_get_letohl(ptvcursor_tvbuff(cursor), ptvcursor_current_offset(cursor));
  ptvcursor_add(cursor, hf_skinny_callReference, 4, ENC_LITTLE_ENDIAN);
}