Hey Gurus,
I am trying to setup the system to recieve DID and CLID information from my PBX. I have the system setup with t38modem to a TCP SIP trunk. I can get the CLID to come through on the fax but it doesn't seem to be getting the DID information. I had it working once before but I lost my notes and the system died. I was hoping someone might be able to point me in the right direction with the config.
Here is m t38modem
# $Id$
#
# HylaFAX configuration for a T38FAX Pseudo Modem
#
# This file was originally sourced with permission from
# Vyacheslav Frolov's t38modem software in OpenH323 package.
#
ServerTracing: 1
SessionTracing: 0x2FFF
RecvFileMode: 0644
LogFileMode: 0644
DeviceMode: 0600
SpeakerVolume: quiet
GettyArgs: ""
QualifyCID: etc/cid
ModemType: Class1 # use class 1 interface
ModemFlowControl: rtscts # default
ModemRevQueryCmd: AT+FREV?
ModemResetCmds: "AT#CID=10" # enable ANI/DNIS reporting
RingsBeforeAnswer: 3 # collect info between two RINGs
CallIDPattern: "NMBR = " # pattern string for calling number
CallIDPattern: "NDID = " # pattern string for called number
#
## AvantFAX
#
FaxRcvdCmd: bin/faxrcvd.php
DynamicConfig: bin/dynconf.php
UseJobTSI: true
Here is the CLID stuff from local_config.php:
// The config.<devid> file has these settings set:
// CallIDPattern: "NMBR="
// CallIDPattern: "NAME="
// CallIDPattern: "NDID="
//
$CALLIDn_CIDNumber = 1;
$CALLIDn_CIDName = 1;
$CALLIDn_DIDNum = 2;
When I do a faxstat on a recieved fax, I get this output:
/var/spool/hylafax/recvq/fax000000006.tif:
Sender: <UNSPECIFIED>
Pages: 1
Quality: Fine
Page: North American Letter
Received: 2016:02:18 16:43:37
TimeToRecv: 0:00:29
SignalRate: 9600 bit/s
DataFormat: 2-D MR
ErrCorrect: No
CallID1: (FROM FAX CLID)
CallID2:
So I am thinking that t38modem config might not be setup to recieve the information correctly.
When I put the trace level high on the t38modem, I get this info in the log so I know the information is beling sent to the server:
(Sorry about all the covering up information, I know it can make it confusing)
INVITEsip:(DID)@(AVANTFAXIP)SIP/2.0Min-SE:1200Route:<sip:(AVANTFAXIP);lr;phase=terminating;transport=tcp>Alert-Info:<cid:internal@invalid.unknown.domain>;avaya-cm-alert-type=internalCSeq:1INVITEVia:SIP/2.0/TCP(PBXIP);branch=z9hG4bK80d6542a1dbe51bfb56d0cc9200Session-Expires:1200;refresher=uacHistory-Info:<sip:(TOFAXEXT)@(SIPDOMAIN)>;index=1History-Info:"(TO FAX NAME)"<sip:(TOFAXEXT)@(SIPDOMAIN)?Reason=SIP%3Bcause%3D302%3Btext%3D%22Moved%20Temporarily%22&Reason=Redirection%3Bcause%3DNORMAL%3Bavaya-cm-reason%3D%22cover-all%22>;index=1.1History-Info:<sip:%2348(DID)@(SIPDOMAIN)>;index=2.1User-Agent:AvayaCM/R015x.02.1.016.4From:"(FAX FROM NAME)"<sip:(FAXFROMCLID)@(SIPDOMAIN)>;tag=80d6542a1dbe51bdb56d0cc9200Call-ID:80d6542a1dbe51beb56d0cc9200Supported:timer,replaces,join,histinfo,100relTo:sip:(DID)@(AVANTFAXIP)P-Asserted-Identity:"(FAX FROM NAME)"<sip:(FAXFROMNUMBER)@(SIPDOMAIN)>Contact:"(FAX FROM NAME)"<sip:(FAXFROMNUMBER)@(PBXIP);transport=tcp>Allow:INVITE,CANCEL,BYE,ACK,PRACK,SUBSCRIBE,NOTIFY,REFER,OPTIONS,INFO,PUBLISHContent-Type:application/sdpContent-Length:211Max-Forwards:71Record-Route:<sip:(PBXIP);lr;transport=tcp>Accept-Language:en
If Possible, I would even love to get the name from the CLID to be recoded, but mainly I need the DID and the CLID for routing. I just can't remember for the life of me how it was working before.
Last edit: Kevin 2016-02-19
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hey Gurus,
I am trying to setup the system to recieve DID and CLID information from my PBX. I have the system setup with t38modem to a TCP SIP trunk. I can get the CLID to come through on the fax but it doesn't seem to be getting the DID information. I had it working once before but I lost my notes and the system died. I was hoping someone might be able to point me in the right direction with the config.
Here is m t38modem
Here is the CLID stuff from local_config.php:
When I do a faxstat on a recieved fax, I get this output:
So I am thinking that t38modem config might not be setup to recieve the information correctly.
When I put the trace level high on the t38modem, I get this info in the log so I know the information is beling sent to the server:
(Sorry about all the covering up information, I know it can make it confusing)
If Possible, I would even love to get the name from the CLID to be recoded, but mainly I need the DID and the CLID for routing. I just can't remember for the life of me how it was working before.
Last edit: Kevin 2016-02-19
I found this little gem:
https://sourceforge.net/p/hylafax/mailman/message/27122927/
I changed my device configuration (config.ttyx0 files) to the following:
Changed the order the local config to this:
I hope this helps someone in the future.