![]() |
On 2002.03.27 09:41 Francois Scala wrote: > > Hello, > > I have two "digital fax router" from ascom, with 4 isdn lines and tens > of fax numbers. > The goals is to get which fax number was dialed. > > The procedure to obtain this information from the router (which is > controlable with AT commands) is: > > 1) set the fax in voice mode > 2) wait for ring, answers > 3) the fax say "VCON" and ".1.2.3.4" > the 1234 is the end of the number i'm looking for > 4) set back the fax into fax mode > 5) receive the data > .... > > > The question is, can hylafax do this ? With or without patching the > sources ? Edit etc/config and add the line: QualifyCID: etc/cid Create the file etc/cid containing the line: ^.*$ Edit etc/config.<devid> and change ServerTracing: ServerTracing: 0xFFF Restart faxgetty. Place a call to your "digital fax router" and check your system log (usually /var/log/messages) to look for the exact syntax of the messages that the modem produces during/before the ring sequence. I.e, if the modem sends: RING DATE = 0524 TIME = 0309 NMBR = 8005551212 NAME = ELVIS PRESLY RING Then we pay attention to the parts we want ("NMBR = 8005551212", "NAME = ELVIS PRESLY") and we assign the non-changing parts to the CIDName and CIDNumber values in etc/config.<devid>: CIDName: "NAME = " CIDNumber: "NMBR = " (Note: I realize that all of this example is in the context for Caller-ID, but the procedure is precicely the same for all other similar types of things where data is passed from the modem during the RING sequence, of which you are asking.) Change ServerTracing back to what you prefer in etc/config.<devid> and restart faxgetty. You can now use the environment variables CIDNAME and CIDNUMBER in your etc/FaxDispatch file to route the notification to whom you will. (Note: this part requires 4.1.1.) 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@hylafax.org < /dev/null