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

Rehman <[email protected]> Thu, 17 Aug 2017 00:04:15 +0400
Newsgroups gmane.comp.telephony.fax.hylafax.user
Message-ID <CAACNsh1-_NM5BfLaQcu=er=xY47WNP7GzWzk3zykjxrwqvEdyA@mail.gmail.com>
Thank you!  :)   Worked !

On Aug 17, 2017 1:02 AM, "Lee Howard" <[email protected]> wrote:

> On 08/16/2017 02:38 AM, Rehman wrote:
>
>> 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
>> ?
>>
> .....
>
>>
>>     -- 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
>>
>
> See, you're calling IAX2/5000 without the extension.  Therefore the DID
> won't go to iaxmodem and faxgetty, etc.
>
> If you want the DID to pass into HylaFAX and not be "s" then you need to
> provide it in the dialplan.
>
> In your case I guess that would be something like this:
>
> Dial(IAX2/5000/${EXTEN})
>
> Thanks,
>
> Lee.
>