DID EXTEN Routing Reports
Posted: Thu Apr 19, 2018 7:17 am
We need to forward a particular DID calls to external server(carrier), I have setup following parameters in DID definition.
DID Route: EXTEN
Extension: 991234567890
Extension Context: ipdialing
Context defined in extensions.conf
[ipdialing]
exten => _99X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _99X.,n,Dial(${SIP100}/${EXTEN:2},,To)
exten => _99X.,n,Hangup
* SIP100 is the Globals String defined in carrier.
Call flow is working fine, I need to know how I can capture forward call stats. “Inbound DID Report” is only showing number of call routed through extension method but I also need to know the total call duration for the forward calls, Secondly please advise either agi://127.0.0.1:4577/call_log script is required in this scenario, I through it will be helpful to log CDRs.
Thanks,
Zee
--------
VERSION: 2.12-541a BUILD: 160306-1053
Asterisk 1.8.23.0-vici, libpri-1.4.15 with DAHDI Version: 2.11
Dell R720 – No additional hardware.
DID Route: EXTEN
Extension: 991234567890
Extension Context: ipdialing
Context defined in extensions.conf
[ipdialing]
exten => _99X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _99X.,n,Dial(${SIP100}/${EXTEN:2},,To)
exten => _99X.,n,Hangup
* SIP100 is the Globals String defined in carrier.
Call flow is working fine, I need to know how I can capture forward call stats. “Inbound DID Report” is only showing number of call routed through extension method but I also need to know the total call duration for the forward calls, Secondly please advise either agi://127.0.0.1:4577/call_log script is required in this scenario, I through it will be helpful to log CDRs.
Thanks,
Zee
--------
VERSION: 2.12-541a BUILD: 160306-1053
Asterisk 1.8.23.0-vici, libpri-1.4.15 with DAHDI Version: 2.11
Dell R720 – No additional hardware.