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] Can not get the DynamicConfig to work



* Mikhail Teterin <mi+kde@xxxxxxxxxxxxxxxxx> [080501 09:45]:
> Ok, I got pretty far -- the specified script is actually executed for
> every phone call. However, the script's only argument upon invocation
> is the name of the device (/dev/ttyd0) -- the promised callerID
> information is NOT passed on command line and the script can not do
> its work...

> I know, that the information is captured, because the CID details (name
> and number) are logged (via syslog):

> How do I get these values passed to the script? Thanks!

That means that your faxgetty isn't configured correctly to "capture" the
Caller ID.  You'll need to look closely at the CallIDPattern config
options in the man page, and set them correctly for the Call ID syntax
your modem is using.  If CallID is being properly captured (not just
reported by the modem), you should see something like:

	Mar 13 17:29:08 yugib FaxGetty[24220]: STATE CHANGE: RUNNING -> LISTENING
	Mar 13 17:29:08 yugib FaxGetty[24220]: --> [17:NAME=Unknown Name]
	Mar 13 17:29:08 yugib FaxGetty[24220]: --> [15:NMBR=6138439627]
	Mar 13 17:29:08 yugib FaxGetty[24220]: --> [11:ANID=<NONE>]
	Mar 13 17:29:08 yugib FaxGetty[24220]: --> [11:CDID=<NONE>]
	Mar 13 17:29:08 yugib FaxGetty[24220]: --> [15:NDID=6134821076]
	Mar 13 17:29:08 yugib FaxGetty[24220]: --> [4:RING]
	Mar 13 17:29:08 yugib FaxGetty[24220]: ANSWER: Call ID 1 "6138439627"
	Mar 13 17:29:08 yugib FaxGetty[24220]: ANSWER: Call ID 2 "Unknown Name"
	Mar 13 17:29:08 yugib FaxGetty[24220]: ANSWER: Call ID 3 "<NONE>"
	Mar 13 17:29:08 yugib FaxGetty[24220]: ANSWER: Call ID 4 "6134821076"

This comes from mey having the following settings:
	CallIDPattern:          "NMBR="
	CallIDPattern:          "NAME="
	CallIDPattern:          "ANID="
	CallIDPattern:          "NDID="

a.



-- 
Aidan Van Dyk                                             aidan@xxxxxxxx
Senior Software Developer                          +1 215 825-8700 x8103
iFAX Solutions, Inc.                                http://www.ifax.com/

Attachment: signature.asc
Description: Digital signature




Project hosted by iFAX Solutions