on 01-24-2014 02:11 PM
The following fields are defined for the Original Called Number (OCN).
Field Name Type Comments Assoc. enum/value
noa number Nature of address gtdMNoaType
npi number Number plan indicator gtdMNpiType
pi number Presentation indicator gtdMPiType
num Null terminated string Telephony number Alphanumeric char string (see telephone-number, ENG-110144, for syntax, up to 32 chars)
Hi Laris,
Please try with following code and print values.
set gtdHandle [infotag get evt_gtd gtd_iam]
if {$gtdHandle > 0} {
if {[infotag get gtd_attr_exists gtd_iam ocn.-1]} {
set ocn_noa [object get gtd event_gtd ocn.1.noa]
set ocn_npi [object get gtd event_gtd ocn.1.npi]
set ocn_num [object get gtd event_gtd ocn.1.#]
}
}
Thanks,
Raghavendra
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: