SPA3102

Discussion in '3CX Phone System - General' started by JohnAtMPRA, Oct 27, 2013.

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

    Joined:
    Oct 27, 2013
    Messages:
    1
    Likes Received:
    0
    Several issues:
    I'm trying something really simple! network of PC's, one PSTN line connected thru a 3102. I'd like to make and receive calls to/from the PSTN.
    I set up the 3102 as VoIP gateway according to 3CX instructions. But my 3102 is s/w version 3.3.6(GW) so doesn't quite match.
    Found it would register only when the User ID was set to 10000 (the extension no) - otherwise there was an authentication failure.
    Now it's registered, but when I make a call it seems the 3102 doesn't know what to do with it. (log below)
    Also, incoming calls don't seem to reach the 3CX - I'd expect a notification from the 3102, but nothing.
    I entered my IP address in the syslog server and debug server of the 3102 and am running syslogd but get no logs generated, so can't tell what the 3102 thinks of it all.
    Thanks for any clues!
    regards, John.

    3CX Log of o/g call:
    7-Oct-2013 09:52:43.183 Call to T:Line:10000>>07703326888@[Dev:sip:10000@192.168.1.202:5062] from L:3.1[Extn] failed, cause: Cause: 408 Request Timeout/INVITE from local
    27-Oct-2013 09:52:43.183 L:3.2[Line:10000>>07703326888] got Failure: Failure Recv 408/INVITE from 0.0.0.0:0 tid=04134d3afd7c6b0e Call-ID=NjVkZWZlYWE3YjQxNTFiMDA2YmY5NGFlNjBhZmU1NjM.:
    SIP/2.0 408 Request Timeout
    Via: SIP/2.0/UDP 192.168.1.203:5060;branch=z9hG4bK-d8754z-04134d3afd7c6b0e-1---d8754z-;rport
    To: <sip:07703326888@192.168.1.202:5060>;tag=fc79fb7c
    From: "John Marshall"<sip:10000@192.168.1.203:5060>;tag=1b59771f
    Call-ID: NjVkZWZlYWE3YjQxNTFiMDA2YmY5NGFlNjBhZmU1NjM.
    CSeq: 1 INVITE
    Content-Length: 0
    27-Oct-2013 09:52:43.183 [CM503003]: Call(C:3): Call to <sip:07703326888@192.168.1.202:5060> has failed; Cause: 408 Request Timeout/INVITE from local
    27-Oct-2013 09:52:43.183 Session 1900 has failed in leg L:3.2[Line:10000>>07703326888] ; Cause: 408 Request Timeout/INVITE from local
    27-Oct-2013 09:52:43.183 Failure from <sip:07703326888@192.168.1.202:5060>;tag=fc79fb7c to "John Marshall"<sip:10000@192.168.1.203:5060>;tag=1b59771f
    27-Oct-2013 09:52:36.285 Currently active calls - 1: [3]
    27-Oct-2013 09:52:11.062 [CM503025]: Call(C:3): Calling T:Line:10000>>07703326888@[Dev:sip:10000@192.168.1.202:5062] for L:3.1[Extn]
    27-Oct-2013 09:52:11.062 Route to L:3.2[Line:10000>>07703326888] sends Invite-OUT Send Req INVITE from 0.0.0.0:0 tid=703a2e063f00b417 Call-ID=NjVkZWZlYWE3YjQxNTFiMDA2YmY5NGFlNjBhZmU1NjM.:
    INVITE sip:07703326888@192.168.1.202:5060 SIP/2.0
    Via: SIP/2.0/ ;branch=z9hG4bK-d8754z-703a2e063f00b417-1---d8754z-;rport
    Max-Forwards: 70
    Contact: <sip:10000@192.168.1.203:5060>
    To: <sip:07703326888@192.168.1.202:5060>
    From: "John Marshall"<sip:10000@192.168.1.203:5060>;tag=1b59771f
    Call-ID: NjVkZWZlYWE3YjQxNTFiMDA2YmY5NGFlNjBhZmU1NjM.
    CSeq: 1 INVITE
    Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REGISTER, SUBSCRIBE, NOTIFY, REFER, INFO, MESSAGE
    Content-Type: application/sdp
    Supported: replaces
    Content-Length: 358

    v=0
    o=3cxPS 290782707712 32279363585 IN IP4 192.168.1.203
    s=3cxPS Audio call
    c=IN IP4 192.168.1.203
    t=0 0
    m=audio 7008 RTP/AVP 0 8 3 13 9 110 99 101
    a=rtpmap:0 PCMU/8000
    a=rtpmap:8 PCMA/8000
    a=rtpmap:3 GSM/8000
    a=rtpmap:13 CN/8000
    a=rtpmap:9 G722/8000
    a=rtpmap:110 iLBC/8000
    a=rtpmap:99 SPEEX/8000
    a=rtpmap:101 telephone-event/8000
    a=sendrecv
    27-Oct-2013 09:52:11.038 Outbound URI is used: sip:10000@192.168.1.202:5062
    27-Oct-2013 09:52:11.038 SLA is globally disabled
    27-Oct-2013 09:52:11.037 Added leg L:3.2[Line:10000>>07703326888]
     
  2. lneblett

    lneblett Well-Known Member

    Joined:
    Sep 7, 2010
    Messages:
    2,083
    Likes Received:
    61
    Your description is a little confusing as you indicate you want to use the device as an FXO gateway; yet refer to the extension number which implies an FXS device. The 3102 can operate as either or both. The log is indicating that the 3102 is not responding back to the system; hence the timeout error message. This makes it most likely a set-up issue. While it is understood that you want to use the device as the FXO to the PSTN, what are you using to try and initiate the call? The part From: "John Marshall"<sip:10000@192.168.1.203:5060>;tag=1b59771f is what makes it look like you are using the device as an extension rather than a Gateway.

    Leejor, a highly active poster on the forum, knows more about the ins & outs of the 3102 than anyone I know. Do a search for the 3102 and you will likely see the solution to the obstacles as he addressed them all. Otherwise, you will need to be a little more explicit in your desire and some screenshots of the device set-up would help.
     
  3. leejor

    leejor Well-Known Member

    Joined:
    Jan 22, 2008
    Messages:
    10,878
    Likes Received:
    307
    Must have missed your post the first time 'round. If you are still having issues, post the PSTN tab from the 3102 (we'll start with that), and go from there. It may be something to do with the port(s) you are using and the one(s) that 3CX thinks you are using.

    In addition, explain how you want to use the 3102. Simply as a gateway, or as both a gateway and an extension?
     
  4. amygoda

    amygoda Member

    Joined:
    Sep 18, 2006
    Messages:
    436
    Likes Received:
    0
    Hello,

    My advice
    Reset to factory set
    and do the settings again

    Do not forget
    pstn port must be 5062 at 3CX and SPA3102 settings
    spa3102 must have the same ip each time
     
Thread Status:
Not open for further replies.