Hylafax Mailing List Archives

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

Re: [hylafax-users] Fax Extension Numbers





"Jay R. Ashworth" wrote:

> > The thing is, I think this works (in the PBX case) like so:
> > - user calls fax number
> > - PBX decides to route to fax modem port
> > - PBX rings fax modem port
> > - fax modem answers
> > - PBX sends DTMFs for extension (pause?)
> > - PBX opens line between caller and fax modem
> > - normal fax transmission ensues
> >
> > I don't think the receiver hears the CNG until *after* the
> > extension DTMFs have been sent.
>
> I've modified 'machine' to 'modem' for clarity in that paragraph.
>
> > Thinking it through, I'd expect that the sender doesn't
> > even know the call was answered until after the DTMFs were
> > sent.
>
> See, this is the thing: if you were using a PBX, it would be
> translating *incoming* DID info into DTMF, and handing it to the port
> the modem was on.  If you didn't have a PBX, it would be the *user's
> DTMF* that came through.  If you had a PBX, you wouldn't have to depend
> on the remote sending tones at all; they'd *dial a different number*
> and the PBX would translate.  But in either case, those tones have to
> be sent the modem *after it goes off hook*, but *before it generates
> answer tone*.  I don't know if you can do that.

Yes, it can be done. Here is ZYXEL U1496+ session example:

Feb 16 11:22:54.26: [16542]: SESSION BEGIN 00002621 xxxxxxxxxxxx
Feb 16 11:22:54.27: [16542]: EXTERN GETTY: START "/var/spool/fax/bin/egetty -s
/var/spool/fax/egetty", pid 24928

Fri Feb 16 11:22:54 2001 [24928]: start egetty
Fri Feb 16 11:22:54 2001 [24928]: >>> 'AT\r'
Fri Feb 16 11:22:54 2001 [24928]: <<< '\r\nOK\r\n'
Fri Feb 16 11:22:54 2001 [24928]: >>> 'AT+FCLASS=?\r'
Fri Feb 16 11:22:54 2001 [24928]: <<< '\r\n0,2,2.0,6,8\r\nOK\r\n'
Fri Feb 16 11:22:54 2001 [24928]: >>> 'AT+FCLASS?\r'
Fri Feb 16 11:22:54 2001 [24928]: <<< '\r\n2.0\r\nOK\r\n'
Fri Feb 16 11:22:54 2001 [24928]: >>> 'AT+FCLASS=8\r'             # to voice class
Fri Feb 16 11:22:54 2001 [24928]: <<< '\r\nOK\r\n'
Fri Feb 16 11:22:54 2001 [24928]: >>> 'ATS39.6=1\r'                   # enable receiving DLE codes
Fri Feb 16 11:22:55 2001 [24928]: <<< '\r\nOK\r\n'
Fri Feb 16 11:22:55 2001 [24928]: >>> 'AT+VLS=2\r'                    # voice connection
Fri Feb 16 11:22:55 2001 [24928]: <<< '\r\nVCON\r\n'
Fri Feb 16 11:22:55 2001 [24928]: >>> 'AT+VTX\r'                       # start sending voice  prompt

Fri Feb 16 11:22:55 2001 [24928]: <<< '\r\nCONNECT\r\n'
Fri Feb 16 11:23:02 2001 [24928]: <<< '<DLE>'
Fri Feb 16 11:23:02 2001 [24928]: <<< '5'                                     # DTMF digit detected
Fri Feb 16 11:23:03 2001 [24928]: <<< '<DLE>'
Fri Feb 16 11:23:03 2001 [24928]: <<< '6'
Fri Feb 16 11:23:04 2001 [24928]: <<< '<DLE>'
Fri Feb 16 11:23:04 2001 [24928]: <<< '1'
Fri Feb 16 11:23:05 2001 [24928]: <<< '<DLE>'
Fri Feb 16 11:23:05 2001 [24928]: <<< '2'
Fri Feb 16 11:23:06 2001 [24928]: >>> <NUL><DLE><ETX>
Fri Feb 16 11:23:06 2001 [24928]: <<< '\r\nVCON\r\n'
Fri Feb 16 11:23:06 2001 [24928]: Number: 5612                       # extension number
Fri Feb 16 11:23:06 2001 [24928]: >>> 'AT+VTX\r'                 # start sending other voice  prompt

Fri Feb 16 11:23:06 2001 [24928]: <<< '\r\nCONNECT\r\n'
Fri Feb 16 11:23:14 2001 [24928]: <<< '<DLE>'
Fri Feb 16 11:23:14 2001 [24928]: <<< 'c'                                      # fax tone detected
(sender pressed START)
Fri Feb 16 11:23:14 2001 [24928]: >>> <NUL><DLE><ETX>
Fri Feb 16 11:23:16 2001 [24928]: <<< '\r\nVCON\r\n'
Fri Feb 16 11:23:16 2001 [24928]: >>> 'ATS39.6=0\r'
Fri Feb 16 11:23:16 2001 [24928]: <<< '\r\nOK\r\n'
Fri Feb 16 11:23:16 2001 [24928]: >>> 'AT+FCLASS=2.0\r'
Fri Feb 16 11:23:16 2001 [24928]: <<< '\r\nOK\r\n'
Fri Feb 16 11:23:16 2001 [24928]: >>> 'ATA\r'                           # generates answer tone
Fri Feb 16 11:23:26 2001 [24928]: <<< '\r\nCONNECT FAX\r\n'
Fri Feb 16 11:23:26 2001 [24928]: exit 2                     # return to faxgetty with CALLTYPE_FAX

Feb 16 11:23:26.41: [16542]: EXTERN GETTY: exit status 01000
Feb 16 11:23:26.41: [16542]: ANSWER: FAX CONNECTION
Feb 16 11:23:26.41: [16542]: RECV FAX: begin
Feb 16 11:23:26.50: [16542]: --> [4:+FCO]
Feb 16 11:23:30.14: [16542]: --> [26:+FTI:                     ]
.......

See also http://www.hylafax.org/archive/2000-12/msg00092.html






____________________ HylaFAX(tm) Users Mailing List _______________________
 To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services