add type of number and number plan vars to the caller profile
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5647 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
bf3f15e855
commit
e6fdcedeb9
|
@ -67,16 +67,24 @@ SWITCH_BEGIN_EXTERN_C
|
||||||
char *caller_id_name;
|
char *caller_id_name;
|
||||||
/*! Caller ID Number */
|
/*! Caller ID Number */
|
||||||
char *caller_id_number;
|
char *caller_id_number;
|
||||||
|
uint8_t caller_ton;
|
||||||
|
uint8_t caller_numplan;
|
||||||
/*! Caller Network Address (when applicable) */
|
/*! Caller Network Address (when applicable) */
|
||||||
char *network_addr;
|
char *network_addr;
|
||||||
/*! ANI (when applicable) */
|
/*! ANI (when applicable) */
|
||||||
char *ani;
|
char *ani;
|
||||||
|
uint8_t ani_ton;
|
||||||
|
uint8_t ani_numplan;
|
||||||
/*! ANI II (when applicable) */
|
/*! ANI II (when applicable) */
|
||||||
char *aniii;
|
char *aniii;
|
||||||
/*! RDNIS */
|
/*! RDNIS */
|
||||||
char *rdnis;
|
char *rdnis;
|
||||||
|
uint8_t rdnis_ton;
|
||||||
|
uint8_t rdnis_numplan;
|
||||||
/*! Destination Number */
|
/*! Destination Number */
|
||||||
char *destination_number;
|
char *destination_number;
|
||||||
|
uint8_t destination_number_ton;
|
||||||
|
uint8_t destination_number_numplan;
|
||||||
/*! channel type */
|
/*! channel type */
|
||||||
char *source;
|
char *source;
|
||||||
/*! channel name */
|
/*! channel name */
|
||||||
|
|
|
@ -86,6 +86,14 @@ SWITCH_DECLARE(switch_caller_profile_t *) switch_caller_profile_clone(switch_cor
|
||||||
profile->source = switch_core_session_strdup(session, tocopy->source);
|
profile->source = switch_core_session_strdup(session, tocopy->source);
|
||||||
profile->context = switch_core_session_strdup(session, tocopy->context);
|
profile->context = switch_core_session_strdup(session, tocopy->context);
|
||||||
profile->chan_name = switch_core_session_strdup(session, tocopy->chan_name);
|
profile->chan_name = switch_core_session_strdup(session, tocopy->chan_name);
|
||||||
|
profile->caller_ton = tocopy->caller_ton;
|
||||||
|
profile->caller_numplan = tocopy->caller_numplan;
|
||||||
|
profile->ani_ton = tocopy->ani_ton;
|
||||||
|
profile->ani_numplan = tocopy->ani_numplan;
|
||||||
|
profile->rdnis_ton = tocopy->rdnis_ton;
|
||||||
|
profile->rdnis_numplan = tocopy->rdnis_numplan;
|
||||||
|
profile->destination_number_ton = tocopy->destination_number_ton;
|
||||||
|
profile->destination_number_numplan = tocopy->destination_number_numplan;
|
||||||
profile->flags = tocopy->flags;
|
profile->flags = tocopy->flags;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue