Re: Need script to get Seconds / Minutes of Incoming Fax Call
Lee Howard <[email protected]> Wed, 16 Aug 2017 13:02:25 -0700
| Newsgroups | gmane.comp.telephony.fax.hylafax.user |
|---|---|
| Message-ID | <[email protected]> |
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.
____________________ HylaFAX(tm) Users Mailing List _______________________
To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe [email protected] < /dev/null
*To learn about commercial HylaFAX(tm) support, mail [email protected].*