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] Calling and called number detection



On 2002.08.12 04:51 Sedat Yilmazer wrote:
> Hi
> 
>  I have a faxserver with Eicon DivaServer PRI. I am trying to catch the
> calling and the called number. After setting the ModemRestCmds to
> "AT#CID=7" I got the numbers but some how hylafax does not recognize
> them ( actually I must say luckly it does not recognize them so instead
> of just the cid I have also the DAD ( called number) ..)
>  I got the following faxrcvd activation line which combines the calling
> and the called number in 5th and 6th parameters. Is this designed so and
> can I relay on this?
> 
> 
> ---- from fax receive log file.
> RECV FAX: bin/faxrcvd "recvq/fax00008.tif" "ttyds02" "00000014" ""
> "RING CID: 02122920744  DAD: 3348600"
> "RING CID: 02122920744  DAD: 3348600"
> 
> 
> 
> ---- From the system log ( I have session and server tracing set to
> 0xFFF
> 
> Aug 12 12:04:29 localhost FaxGetty[1525]: ANSWER: CID NUMBER "RING CID:
> 2122920744 DAD: 3348600" NAME "RING CID: 2122920744 DAD: 3348600"
> Aug 12 12:04:29 localhost FaxGetty[1525]: STATE CHANGE: LISTENING ->
> ANSWERING

Yes, you can route (relay) on this information.

You have to parse the "RING CID: 02122920744  DAD: 3348600" in your 
etc/FaxDispatch file to do this.

Eicon has a new #CID=n value to use so that CID and DAD are on separate 
lines.  That way you can have faxgetty parse the information for you.

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
  *To learn about commercial HylaFAX(tm) support, mail sales@hylafax.org.*




Project hosted by iFAX Solutions