fix caller id fields in show channels show calls etc

This commit is contained in:
Anthony Minessale
2010-08-17 17:26:36 -05:00
parent 1413a9d5db
commit 5f763d0d1b
5 changed files with 70 additions and 25 deletions
+1
View File
@@ -108,6 +108,7 @@ SWITCH_BEGIN_EXTERN_C
struct switch_caller_extension *caller_extension;
switch_memory_pool_t *pool;
struct switch_caller_profile *next;
switch_call_direction_t direction;
};
/*! \brief An Abstract Representation of a dialplan Application */
+1 -1
View File
@@ -708,7 +708,7 @@ SWITCH_DECLARE(int) switch_split_user_domain(char *in, char **user, char **domai
#endif
#endif
#define DUMP_EVENT(_e) {char *event_str;switch_event_serialize(_e, &event_str, SWITCH_FALSE);printf("DUMP\n%s\n", event_str);free(event_str);}
#define DUMP_EVENT(_e) {char *event_str;switch_event_serialize(_e, &event_str, SWITCH_FALSE);switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "DUMP\n%s\n", event_str);free(event_str);}
#ifndef _MSC_VER
#define switch_inet_ntop inet_ntop