Re: Need script to get Seconds / Minutes of Incoming Fax Call

Rehman <[email protected]> Wed, 16 Aug 2017 13:38:04 +0400
Newsgroups gmane.comp.telephony.fax.hylafax.user
Message-ID <CAACNsh3VGuboyHkDw+oKTzxEJFm9E6FFdm4+WW7ddyghqV+B7w@mail.gmail.com>
Hey Thanks Lee,

I am stuck with this "s" extension. For some reason, asterisk simply
doesn't pass the DID to Hyla, Can it be the modem config for CallID Pattern
?

CallIDPattern:          "NMBR="
CallIDPattern:          "NAME="
CallIDPattern:        "ANID="
CallIDPattern:          "NDID="


Here is my Asterisk CLI output, Below is my HylaFax log file

    -- Executing [12014307355@inbound:5] Set("SIP/FLOWROUTE-00000002",
"iaxext=5000") in new stack
    -- Executing [12014307355@inbound:6] NoOp("SIP/FLOWROUTE-00000002",
"Modem is ttyIAX0 and Extension is 5000, CID : +5067, DID : 12014307355")
in new stack
    -- Executing [12014307355@inbound:7] Dial("SIP/FLOWROUTE-00000002",
"IAX2/5000,30,Ttr") in new stack
    -- Call accepted by 127.0.0.1 (format ulaw)
    -- Format for call is (ulaw)
    -- Called IAX2/5000
    -- IAX2/5000-1932 is ringing
    -- IAX2/5000-1932 answered SIP/FLOWROUTE-00000002


Hylafax log,

Aug 16 05:23:18.58: [ 2041]: SESSION BEGIN 000000149 7183011231
Aug 16 05:23:18.58: [ 2041]: HylaFAX (tm) Version 5.5.5
Aug 16 05:23:18.58: [ 2041]: CallID: '+5067' 'Unknown' '<NONE>' 's'
Aug 16 05:23:18.58: [ 2041]: DynamicConfig:
/var/spool/hylafax/bin/dynconf.php '/dev/ttyIAX0' '+5067' 'Unknown'
'<NONE>' 's'
Aug 16 05:23:18.83: [ 2041]: MODEM set XON/XOFF/FLUSH: input ignored,
output disabled
Aug 16 05:23:18.83: [ 2041]: <-- [4:ATA\r]
Aug 16 05:23:22.58: [ 2041]: --> [7:CONNECT]
Aug 16 05:23:22.58: [ 2041]: ANSWER: FAX CONNECTION  DEVICE '/dev/ttyIAX0'





-- 
Best Regards,
Rehman
Voice : +971-55-3157060
IM: [email protected]



On Wed, Jul 5, 2017 at 10:11 PM, Lee Howard <[email protected]> wrote:

> On 06/13/2017 06:03 AM, Rehman wrote:
>
>> Plus, the other issue is I am getting the DID in Asterisk as "s"
>> extension.
>>
>
> That's probably because you're not sending the call to an extension.
>
> Dial(IAX2/iaxmodem/${EXTEN})
>
> Thanks,
>
> Lee.
>