HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] DID reporting



Mark Ratering wrote:

Lee Howard wrote:

In Asterisk's dialplan (extensions.conf) you do this:

exten => fax,1,dial(SIP/fax,,D(w1234))

Of course, you'll need to modify that to suit your needs.

Lee.


Still testing to see if i have it working. Just curious though. What does the 'w' do? Assuming this works, how do i have asterisk relay the (possibly 10 digit) number that the customer's fax machine called to hylafax?


From the Asterisk CLI run 'show application dial', and you'll do well.

The "w" tells Asterisk to wait 500 ms (half a second) after the line goes off-hook before sending the DTMF.

The DID in my example is "1234". So you'll probabably refer to ${EXTEN} in your usage... or some other variable. If you're using fax detection then you'll need to set a variable to ${EXTEN} before the call gets forwarded to "fax". Personally I'd recommend against using fax detection, and that way you'd have something like this:

exten => 5551212,1,dial(SIP/fax,,D(w5551212))

Lee.


____________________ HylaFAX(tm) Users Mailing List _______________________ To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions