Page 1 of 1

Missing caller / called name for incoming or outgoing calls

PostPosted: 03/03/2015, 9:23
by eugenio.chernolyev@wildix.com
Symptom:
You created a phonebook on the PBX but during incoming or outgoing calls you cannot see the contact name

Diagnosis:
To understand the reason that caused the problem, it is recommended to check the call log in the Dialplan debug menu (WMS > Top menu > Debug)

-- Executing [39229XXXXX@users supporto:1] NoOp("SIP/303-00000633", "Executing 'Dial the trunk': number - 39229XXXXX, tr_name - bri0_0_0, maxcalls - ")
-- Executing [39229XXXXX@users supporto:1] NoOp("SIP/303-00000633", "Set callclass to 4")
-- Executing [39229XXXXX@users supporto:1] NoOp("SIP/303-00000633", "Executing 'Lookup called name in phonebook': id - all, number - 3922976797")
-- Executing [39229XXXXX@users supporto:1] NoOp("SIP/303-00000633", "Search number not found in phonebook")
-- Executing [39229XXXXX@users supporto:1] NoOp("SIP/303-00000633", "Set Connected name to desttype out")
-- Executing [39229XXXXX@users supporto:1] NoOp("SIP/303-00000633", "Set Connected num to 39229XXXXX desttype out")
-- Executing [39229XXXXX@users supporto:1] NoOp("SIP/303-00000633", "Caller number set to 303")
-- Executing [39229XXXXX@users supporto:1] Dial("SIP/303-00000633", "SIP/bri0_0_0/39229XXXXX,,b(predial^extcall^1(39229XXXXX,,))")

You can note that the system does not perform number normalization consequently no corresponding contact name is found in the phonebook. The number normalization is important because the contacts in the phonebooks are normally saved using the international format (+.)

Solution :

In order to perform number normalization you need to set the “Country code” in the settings of the Trunk

Country_Code.png
Country_Code.png (10.95 KiB) Viewed 3785 times


Due to number normalization the caller / called number will be transformed from 39229XXXXX to +3939229XXXXX


-- Executing [39229XXXXX@users supporto:1] NoOp("SIP/303-0000062f", "Executing 'Dial the trunk': number - 39229XXXXX, tr_name - bri0_0_0, maxcalls - ")
-- Executing [39229XXXXX@users supporto:1] NoOp("SIP/303-0000062f", "Set callclass to 4")
-- Executing [39229XXXXX@users supporto:1] NoOp("SIP/303-0000062f", "Executing 'Lookup called name in phonebook': id - all, number - 3922976797")
-- Executing [39229XXXXX@users supporto:1] NoOp("SIP/303-0000062f", "Country code for this peer: 39")
-- Executing [39229XXXXX@users supporto:1] NoOp("SIP/303-0000062f", "Perform normalization for number 39229XXXXX. Result number: +393922976797")
-- Executing [39229XXXXX@users supporto:1] NoOp("SIP/303-0000062f", "Try save to_name Eugenio Chernolyev")
-- Executing [39229XXXXX@users supporto:1] NoOp("SIP/303-0000062f", "Set call type to external”)
-- Executing [39229XXXXX@users supporto:1] NoOp("SIP/303-0000062f", "Set Connected name to Eugenio Chernolyev desttype out")
-- Executing [39229XXXXX@users supporto:1] NoOp("SIP/303-0000062f", "Set Connected num to +3939229XXXXX desttype out")
-- Executing [39229XXXXX@users supporto:1] NoOp("SIP/303-0000062f", "Caller number set to 303")
-- Executing [39229XXXXX@users supporto:1] Dial("SIP/303-0000062f", "SIP/bri0_0_0/39229XXXXX,,b(predial^extcall^1(+39 39229XXXXX,Eugenio Chernolyev,))")