Thanks for replying, the scratch installation is because am working online
here is my agi-DID_route.agi debug:
CentOS-76-64-minimal*CLI>
== Using SIP RTP CoS mark 5
> 0x7f06f059a2d0 -- Strict RTP learning after remote address set to: 154.72.160.32:3442
-- Executing [8002277655@trunkinbound:1] AGI("SIP/9165494360-0000000f", "agi-DID_route.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-DID_route.agi
<SIP/9165494360-0000000f>AGI Tx >> agi_request: agi-DID_route.agi
<SIP/9165494360-0000000f>AGI Tx >> agi_channel: SIP/9165494360-0000000f
<SIP/9165494360-0000000f>AGI Tx >> agi_language: en
<SIP/9165494360-0000000f>AGI Tx >> agi_type: SIP
<SIP/9165494360-0000000f>AGI Tx >> agi_uniqueid: 1571298361.15
<SIP/9165494360-0000000f>AGI Tx >> agi_version: 13.17.2-vici
<SIP/9165494360-0000000f>AGI Tx >> agi_callerid: 9165494360
<SIP/9165494360-0000000f>AGI Tx >> agi_calleridname: soft_1
<SIP/9165494360-0000000f>AGI Tx >> agi_callingpres: 0
<SIP/9165494360-0000000f>AGI Tx >> agi_callingani2: 0
<SIP/9165494360-0000000f>AGI Tx >> agi_callington: 0
<SIP/9165494360-0000000f>AGI Tx >> agi_callingtns: 0
<SIP/9165494360-0000000f>AGI Tx >> agi_dnid: 8002277655
<SIP/9165494360-0000000f>AGI Tx >> agi_rdnis: unknown
<SIP/9165494360-0000000f>AGI Tx >> agi_context: trunkinbound
<SIP/9165494360-0000000f>AGI Tx >> agi_extension: 8002277655
<SIP/9165494360-0000000f>AGI Tx >> agi_priority: 1
<SIP/9165494360-0000000f>AGI Tx >> agi_enhanced: 0.0
<SIP/9165494360-0000000f>AGI Tx >> agi_accountcode: 9165494360
<SIP/9165494360-0000000f>AGI Tx >> agi_threadid: 139664535451392
<SIP/9165494360-0000000f>AGI Tx >>
-- <SIP/9165494360-0000000f>AGI Script agi-DID_route.agi completed, returning 0
-- Executing [8002277655@trunkinbound:2] Hangup("SIP/9165494360-0000000f", "") in new stack
== Spawn extension (trunkinbound, 8002277655, 2) exited non-zero on 'SIP/9165494360-0000000f'
[Oct 17 09:46:01] WARNING[1748][C-0000062e]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
-- Executing [h@trunkinbound:1] AGI("SIP/9165494360-0000000f", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16--------------------)") in new stack
AGI Tx >> agi_network: yes
AGI Tx >> agi_network_script: call_log--HVcauses--PRI-----NODEBUG-----16--------------------)
<SIP/9165494360-0000000f>AGI Tx >> agi_request:
agi://127.0.0.1:4577/call_log--HVcauses ... ----------)
<SIP/9165494360-0000000f>AGI Tx >> agi_channel: SIP/9165494360-0000000f
<SIP/9165494360-0000000f>AGI Tx >> agi_language: en
<SIP/9165494360-0000000f>AGI Tx >> agi_type: SIP
<SIP/9165494360-0000000f>AGI Tx >> agi_uniqueid: 1571298361.15
<SIP/9165494360-0000000f>AGI Tx >> agi_version: 13.17.2-vici
<SIP/9165494360-0000000f>AGI Tx >> agi_callerid: 9165494360
<SIP/9165494360-0000000f>AGI Tx >> agi_calleridname: soft_1
<SIP/9165494360-0000000f>AGI Tx >> agi_callingpres: 0
<SIP/9165494360-0000000f>AGI Tx >> agi_callingani2: 0
<SIP/9165494360-0000000f>AGI Tx >> agi_callington: 0
<SIP/9165494360-0000000f>AGI Tx >> agi_callingtns: 0
<SIP/9165494360-0000000f>AGI Tx >> agi_dnid: 8002277655
<SIP/9165494360-0000000f>AGI Tx >> agi_rdnis: unknown
<SIP/9165494360-0000000f>AGI Tx >> agi_context: trunkinbound
<SIP/9165494360-0000000f>AGI Tx >> agi_extension: h
<SIP/9165494360-0000000f>AGI Tx >> agi_priority: 1
<SIP/9165494360-0000000f>AGI Tx >> agi_enhanced: 0.0
<SIP/9165494360-0000000f>AGI Tx >> agi_accountcode: 9165494360
<SIP/9165494360-0000000f>AGI Tx >> agi_threadid: 139664535451392
<SIP/9165494360-0000000f>AGI Tx >>
-- <SIP/9165494360-0000000f>AGI Script
agi://127.0.0.1:4577/call_log--HVcauses ... ----------) completed, returning 0
<SIP/9165494360-0000000f>AGI Tx >> HANGUP
== Manager 'sendcron' logged on from 127.0.0.1