func: static int skinny_indicate(struct ast_channel *ast, int ind, const void *data, size_t datalen) struct skinny_subchannel * sub = ast -> tech_pvt ; struct skinny_line * l = sub -> line ; struct skinny_device * d = l -> device ; struct skinnysession * s = d -> session ; if ( ! s )  ast_log ( LOG_NOTICE , "Asked to indicate '%s' condition on channel %s, but session does not exist.\n" , control2str ( ind ) , ast -> name ); static char *control2str(int ind) char * tmp ; switch ( ind )  if ( ! ( tmp = ast_threadstorage_get ( & control2str_threadbuf , CONTROL2STR_BUFSIZE ) ) )  snprintf ( tmp , CONTROL2STR_BUFSIZE , "UNKNOWN-%d" , ind ); return tmp ; 