Receiving fax through SPA3102

Discussion in '3CX Phone System - General' started by Informatics, Oct 27, 2010.

Thread Status:
Not open for further replies.
  1. Informatics

    Joined:
    Oct 26, 2010
    Messages:
    7
    Likes Received:
    0
    We are unable to receive faxes from an external source to our 3cx system.

    Our configuration is Phone line -> SPA3102 -> 3CX

    I have configured a PSTN device in 3cx and set it to send fax to email of extension 888. We do not need to send faxes from this line, only receive them. I have been working with linksys and according to them the SPA3102 configuration looks correct. In the SPA3102 on the PSTN line tab i have this configuration:
    network Jitter = Very High
    Jitter Buffer = Disable
    Silence Supp enable = No
    Echo Canc Enable = No
    Echo Canc Adapt Enable = Yes
    Echo Supp Enable = No
    Fax CED Detect Enable = Yes
    Fax CNG Detect Enable = Yes
    Fax Passthru Codec = G711u
    Fax Codec Symmetric = Yes
    Fax PassThru Method = ReINVITE
    Fax Process NSE= Yes
    Fax Disable Ecan = No

    The 3cx system is answering the call, but immediately hanging up. Here is part of the log for a call:

    11:48:03.781 [CM503008]: Call(142): Call is terminated
    11:48:03.656 Remote SDP is set for legC:142.2
    11:48:02.265 Session 49474 of leg C:142.1 is confirmed
    11:48:02.171 [CM503007]: Call(142): Device joined: sip:888@192.168.0.5:5100;user=phone
    11:48:02.171 [CM503007]: Call(142): Device joined: sip:10002@192.168.0.8:5062
    11:48:02.171 [MS210007] C:142.1:Answer provided. Connection(by pass mode): 192.168.0.5:10002(10003)
    11:48:02.156 [MS210001] C:142.2:Answer received. RTP connection[unsecure]: 192.168.0.5:10002(10003)
    11:48:02.156 Remote SDP is set for legC:142.2
    11:48:02.156 [CM503002]: Call(142): Alerting sip:888@192.168.0.5:5100;user=phone
    11:48:02.125 [CM503025]: Call(142): Calling @[Dev:sip:888@192.168.0.5:5100;user=phone]
    11:48:02.125 [MS210006] C:142.2:Offer provided. Connection(by pass mode): 192.168.0.8:16388(16389)
    11:48:02.093 [CM503004]: Call(142): Route 1: @[Dev:sip:888@192.168.0.5:5100;user=phone]
    11:48:02.093 [CM503010]: Making route(s) to <sip:888@192.168.0.5:5060;user=fax>
    11:48:02.093 [MS210000] C:142.1:Offer received. RTP connection: 192.168.0.8:16388(16389)
    11:48:02.078 Remote SDP is set for legC:142.1
    11:48:02.078 [CM505002]: Gateway:[363-0403] Device info: Device Identified: [Man: Linksys;Mod: SPA Series;Rev: General] Capabilities:[reinvite, no-replaces, able-no-sdp, recvonly] UserAgent: [Linksys/SPA3102-5.1.10(GW)] PBX contact: [sip:10002@192.168.0.5:5060]
    11:48:02.078 [CM503001]: Call(142): Incoming call from 10002@(Ln.10002@363-0403) to <sip:888@192.168.0.5:5060;user=fax>
    11:48:02.062 [CM503012]: Inbound office hours rule (unnamed) for 10002 forwards to Fax:888
    11:48:02.062 Looking for inbound target: called=10002; caller=10002
    11:48:02.046 [CM500002]: Info on incoming INVITE:
    INVITE sip:10002@192.168.0.5 SIP/2.0
    Via: SIP/2.0/UDP 192.168.0.8:5062;branch=z9hG4bK-64c2c3f4
    Max-Forwards: 70
    Contact: "10002"<sip:10002@192.168.0.8:5062>
    To: <sip:10002@192.168.0.5>
    From: "10002"<sip:10002@192.168.0.5>;tag=b3489d1b5cd787co1
    Call-ID: cbb94035-bc279568@192.168.0.8
    CSeq: 102 INVITE
    Expires: 240
    Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER
    Proxy-Authorization: Digest username="10002",realm="3CXPhoneSystem",nonce="414d535c02d8e8c159:d21a164878215b7988bd2a86885eec7b",uri="sip:10002@192.168.0.5",algorithm=MD5,response="71a56ec14561c9e3326ef9c605bd1db4"
    Supported: x-sipura, replaces
    User-Agent: Linksys/SPA3102-5.1.10(GW)
    Content-Length: 0
    Remote-Party-ID: 10002 <sip:10002@192.168.0.5>;screen=yes;party=calling


    Also, here is what i believe to be the relevant part of a packet trace

    INVITE sip:10002@192.168.0.8:5062 SIP/2.0
    Via: SIP/2.0/UDP 192.168.0.5:5060;branch=z9hG4bK-d8754z-69363b179834630e-1---d8754z-;rport
    Max-Forwards: 70
    Contact: <sip:10002@192.168.0.5:5060>
    To: "10002"<sip:10002@192.168.0.5>;tag=be4a522d761daaa0o1
    From: <sip:10002@192.168.0.5>;tag=8e6e5b26
    Call-ID: 396b0ef1-87474ac@192.168.0.8
    CSeq: 2 INVITE
    Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REGISTER, SUBSCRIBE, NOTIFY, REFER, INFO, MESSAGE
    Content-Type: application/sdp
    Supported: replaces
    User-Agent: 3CXPhoneSystem 9.0.13530.0
    Content-Length: 297

    v=0
    o=3cxPS 298114351104 549437046786 IN IP4 192.168.0.5
    s=3cxPS Audio call
    c=IN IP4 192.168.0.5
    t=0 0
    m=image 10000 udptl t38
    a=T38FaxVersion:0
    a=T38MaxBitRate:14400
    a=T38FaxRateManagement:transferredTCF
    a=T38FaxMaxBuffer:10500
    a=T38FaxMaxDatagram:1500
    a=T38FaxUdpEC:t38UDPRedundancy
    SIP/2.0 488 Not Acceptable Here
    To: "10002"<sip:10002@192.168.0.5>;tag=be4a522d761daaa0o1
    From: <sip:10002@192.168.0.5>;tag=8e6e5b26
    Call-ID: 396b0ef1-87474ac@192.168.0.8
    CSeq: 2 INVITE
    Via: SIP/2.0/UDP 192.168.0.5:5060;branch=z9hG4bK-d8754z-69363b179834630e-1---d8754z-
    Contact: 10002 <sip:10002@192.168.0.8:5062>
    Warning: 304 spa "Media type not available"
    Server: Linksys/SPA3102-5.1.10(GW)
    Content-Length: 0

    ACK sip:10002@192.168.0.8:5062 SIP/2.0
    Via: SIP/2.0/UDP 192.168.0.5:5060;branch=z9hG4bK-d8754z-69363b179834630e-1---d8754z-;rport
    Max-Forwards: 70
    To: "10002"<sip:10002@192.168.0.5>;tag=be4a522d761daaa0o1
    From: <sip:10002@192.168.0.5>;tag=8e6e5b26
    Call-ID: 396b0ef1-87474ac@192.168.0.8
    CSeq: 2 ACK
    Content-Length: 0

    BYE sip:10002@192.168.0.8:5062 SIP/2.0
    Via: SIP/2.0/UDP 192.168.0.5:5060;branch=z9hG4bK-d8754z-6a54451566487f54-1---d8754z-;rport
    Max-Forwards: 70
    Contact: <sip:10002@192.168.0.5:5060>
    To: "10002"<sip:10002@192.168.0.5>;tag=be4a522d761daaa0o1
    From: <sip:10002@192.168.0.5>;tag=8e6e5b26
    Call-ID: 396b0ef1-87474ac@192.168.0.8
    CSeq: 3 BYE
    User-Agent: 3CXPhoneSystem 9.0.13530.0
    Reason: SIP;description="Application Rejected Sdp(usually no common codec)"
    Content-Length: 0


    Has anyone been able to get this type of configuration to work? If any more information is required, just let me know.

    Any help will be greatly appreciated. Thanks.
     
  2. RichardCrabb1

    RichardCrabb1 New Member

    Joined:
    Mar 7, 2009
    Messages:
    196
    Likes Received:
    0
    Have you set T.38 enable to yes? This links gives the detail of how to configure a 3102 for FAX http: //www.3cx.com/sip-phones/linksys-spa-3102-fax/ No longer available. New link: http://www.3cx.com/sip-phones/

    Does that help?

    Richard Crabb
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Informatics

    Joined:
    Oct 26, 2010
    Messages:
    7
    Likes Received:
    0
    Thanks for the quick reply.

    I have reviewed that document before, and as far as I can tell, this document is just for sending faxes through Line 1. We do not need to send faxes. We only need to receive faxes through the PSTN line, so I currently have line 1 disabled.

    Correct me if I am wrong with this configuration, but as far as I can tell, I shouldn't have to use Line 1 just to receive faxes.

    Any other idea's?

    Thanks
     
  4. leejor

    leejor Well-Known Member

    Joined:
    Jan 22, 2008
    Messages:
    10,777
    Likes Received:
    286
    There is a FAX enable T38 in the PSTN Line tab, is that set to yes? I would also try changing (playing with) the FAX Passthru Method and the FAX Disable ECAN. This feature ( F D E) turns off the echo canceller if a fax tone is detected, when set to yes.
    Also check the FAX Tone detect Mode, it should be caller or callee or caller only.
     
  5. Informatics

    Joined:
    Oct 26, 2010
    Messages:
    7
    Likes Received:
    0
    On the PSTN line tab I do not have the FAX Enable T38 or the FAX Tone Detect Mode options. I do however have them on the Line 1 tab.

    Just for reference I am running Software Version: 5.1.10(GW) and Hardware Version: 1.4.5(a) on the SPA3102.

    I'll see what happens when I set FAX Disable ECAN to YES though.

    Thanks for the help.
     
  6. leejor

    leejor Well-Known Member

    Joined:
    Jan 22, 2008
    Messages:
    10,777
    Likes Received:
    286
    If you don't have the Linksys Admin guide, you should be able to get it here. http://www.belldandy.idv.hk/wordpress/index.php/2010/04/linksys-ata-pdf/
     
  7. bluetel2

    bluetel2 Member

    Joined:
    Oct 16, 2008
    Messages:
    377
    Likes Received:
    6
    Hi all,

    i have exactly this same scenario. anybody found solution ?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. matthewt

    Joined:
    Sep 9, 2011
    Messages:
    1
    Likes Received:
    0
    Hi,
    Have you tried turning windows firewall off? That can block the port which 3CX uses for Fax to E-mail
     
  9. bluetel2

    bluetel2 Member

    Joined:
    Oct 16, 2008
    Messages:
    377
    Likes Received:
    6
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Thread Status:
Not open for further replies.