Need script to get Seconds / Minutes of Incoming Fax Call

Rehman <[email protected]> Tue, 13 Jun 2017 17:03:42 +0400
Newsgroups gmane.comp.telephony.fax.hylafax.user
Message-ID <CAACNsh3suUTMtDHcv7=hiN34R5Y0HvgbcjJs6RzRi511LZEnjA@mail.gmail.com>
Hi there,

I am need some statistics for the incoming fax call.

I am using Asterisk 11, iaxmodem 1.2 and Hylafax + 5.5.5.

For outbound, I was able to get the time in seconds as you have a common
identifier which you can use as a key to pull records from multiple
sources.. Not sure how can I do that for incoming ?

In the xferlog file, there are 2 calls, one RECV and the second one is the
dial out to iaxmodem

Plus, the other issue is I am getting the DID in Asterisk as "s" extension.
So I am unable to do any routing based upon DID at the Hylafax level.

Any help would be appreciated !

-- 
Best Regards,
Rehman