Dismiss Notice
We would like to remind you that we’re updating our login process for all 3CX forums whereby you will be able to login with the same credentials you use for the Partner or Customer Portal. Click here to read more.

Patton 4112 VG Outbound Calls

Discussion in '3CX Phone System - General' started by Adam Bradley, Mar 19, 2018.

Thread Status:
Not open for further replies.
  1. Adam Bradley

    Joined:
    Mar 19, 2018
    Messages:
    3
    Likes Received:
    0
    Hey Guys,

    Normally I don't manage our 3CX system but the current tech is on leave. We had everything working fine at one of our satellite offices that has a Patton 4112 Analog Gateway installed. It recently lost one of the two lines and stopped allowing outbound calls. The second line was fixed and the FXO enable and is working but the unit will still not allow outbound calls.

    3CX server reports 503 Service Unavailable when trying to route calls to the Patton. Debug info on the sip-gateway shows:

    09:49:20 SIP_ER> [GW GW_SIP] NO PROVIDER FOUND
    09:49:20 SIP_SI> [STACK] Process unhandled INVITE packet
    09:49:20 SIP_ER> [STACK] INVITE REQUEST ON GENERIC SERVICE MANAGER
    09:49:20 SIP_ER> [STACK] REQUEST OUT OF DIALOG (INVITE)

    Any help of where to look would be appreciated.
     
  2. eddv123

    eddv123 Well-Known Member

    Joined:
    Aug 15, 2017
    Messages:
    1,412
    Likes Received:
    186
    Hi Adam,

    Check the status of the line by logging into the Patton's web interface and going to:
    / Ports / FXO / Port fxo ?/?/status

    You are looking for "Line State:" what does it say ?

    Please confirm on this line you do not have anything enabled like "Feature-line" or "Redcare" based on where you are these might have different names (I am UK based) basically the line offers PBX type functionality and will conflict with 3CX.

    The fragment looks like there is no service at all on the line however but if you want more clarification you will need to console into the device and run the commands for FXO from this guide:

    https://www.patton.com/support/kb_art.asp?art=67&p=0

    For FXO you are looking specifically for the commands:

    enable
    show running‐config
    debug call‐router
    debug call‐control
    debug fxo
    debug ccfxo
    debug context sip‐gateway signaling detail 5
    debug context sip‐gateway transport detail 5
    debug context sip‐gateway error
     
  3. leejor

    leejor Well-Known Member

    Joined:
    Jan 22, 2008
    Messages:
    11,095
    Likes Received:
    327
    What was the issue with the line that failed? Perhaps the same thing has occurred again. Is the gateway, or the riser/phone wiring cabinet accessible to "just anyone". If it is located in a common area, things can become "disconnected".
     
  4. Adam Bradley

    Joined:
    Mar 19, 2018
    Messages:
    3
    Likes Received:
    0
    Results of the log below. FXO Line state is Up on both ports.

    INVITE sip:0000000000@10.3.91.129:5060 SIP/2.0
    Via: SIP/2.0/UDP 192.168.0.128:5060;branch=z9hG4bK-524287-1---28084d28242aa74a;rport
    Max-Forwards: 70
    Contact: <sip:192.168.0.128:5060>
    To: <sip:0000000000@10.3.91.129:5060>
    From: "Adam Bradley"<sip:267@192.168.0.128:5060>;tag=7c5b0971
    Call-ID: _YCyeDkL16JN0lQR6heIEw..
    CSeq: 1 INVITE
    Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REGISTER, SUBSCRIBE, NOTIFY, REFER, INFO, MESSAGE, UPDATE
    Content-Type: application/sdp
    Supported: replaces, timer
    User-Agent: 3CXPhoneSystem 15.5.9348.3 (8713)
    Content-Length: 331

    v=0
    o=3cxPS 529824481280 3003121665 IN IP4 192.168.0.128
    s=3cxPS Audio call
    c=IN IP4 192.168.0.128
    t=0 0
    m=audio 7100 RTP/AVP 18 0 8 9 101
    a=rtpmap:18 G729/8000
    a=fmtp:18 annexb=no
    a=rtpmap:0 PCMU/8000
    a=rtpmap:8 PCMA/8000
    a=rtpmap:9 G722/8000
    a=ptime:20
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-15
    a=sendrecv

    16:15:16 SIP_SI> [STACK] received packet local IP 10.3.91.129
    16:15:16 SIP_SI> [STACK] received packet local port 5060
    16:15:16 SIP_SI> [STACK] registration entry 0 app GW_SIP, id 19610000
    16:15:16 SIP_SI> [STACK] registration entry 0 host 10.3.91.129
    16:15:16 SIP_SI> [STACK] registration entry 0 port 5060
    16:15:16 SIP_SI> [STACK] Forward INVITE request to GW_SIP
    16:15:16 SIP_SI> [GW GW_SIP] Received INVITE request
    16:15:16 SIP_ER> [GW GW_SIP] NO PROVIDER FOUND
    16:15:16 SIP_SI> [STACK] Process unhandled INVITE packet
    16:15:16 SIP_ER> [STACK] INVITE REQUEST ON GENERIC SERVICE MANAGER
    16:15:16 SIP_TR> [STACK] > 436 Stack: to 192.168.0.128
    SIP/2.0 503 Service Unavailable
    Via: SIP/2.0/UDP 192.168.0.128:5060;branch=z9hG4bK-524287-1---28084d28242aa74a;rport=5060;received=192.168.0.128
    From: "Adam Bradley"<sip:267@192.168.0.128:5060>;tag=7c5b0971
    To: <sip:0406984484@10.3.91.129:5060>;tag=4026587197
    Call-ID: _YCyeDkL16JN0lQR6heIEw..
    CSeq: 1 INVITE
    Server: Patton SN4112 JO EUI 00A0BA0C9D82 R6.T 2016-05-04 H323 SIP FXS FXO M5T SIP Stack/4.2.14.18
    Content-Length: 0


    16:15:16 SIP_ER> [STACK] REQUEST OUT OF DIALOG (INVITE)
    16:15:16 SIP_TR> [STACK] < 335 Stack: from 192.168.0.128
    ACK sip:0000000000@10.3.91.129:5060 SIP/2.0
    Via: SIP/2.0/UDP 192.168.0.128:5060;branch=z9hG4bK-524287-1---28084d28242aa74a;rport
    Max-Forwards: 70
    To: <sip:0000000000@10.3.91.129:5060>;tag=4026587197
    From: "Adam Bradley"<sip:267@192.168.0.128:5060>;tag=7c5b0971
    Call-ID: _YCyeDkL16JN0lQR6heIEw..
    CSeq: 1 ACK
    Content-Length: 0


    16:15:35 SIP_SI> [GW GW_SIP] Determine LocalHost Address: dst=192.168.88.128 traffic-class=4294967295
    16:15:35 SIP_SI> [GW GW_SIP] Determine LocalHost Address - updated traffic with gateway traffic-class=2
    16:15:35 SIP_SI> [GW GW_SIP] Determine LocalHost Address - local address from ip stack: 10.3.91.129
    16:15:35 SIP_SI> [GW GW_SIP] Determine LocalHost Address: dst=192.168.88.128 traffic-class=2
    16:15:35 SIP_SI> [GW GW_SIP] Determine LocalHost Address - local address from ip stack: 10.3.91.129
    16:15:35 SIP_TR> [STACK] > 435 Stack: to 192.168.88.128
    REGISTER sip:192.168.88.128:5060 SIP/2.0
    Via: SIP/2.0/UDP 10.3.91.129:5060;branch=z9hG4bK10e6c1586590d2c64
    Max-Forwards: 70
    From: <sip:10001@192.168.88.128>;tag=32cce7f0c1
    To: <sip:10001@192.168.88.128>
    Call-ID: 6b2acb23035c9067
    CSeq: 33463 REGISTER
    Contact: <sip:10001@10.3.91.129:5060>
    Expires: 300
    User-Agent: Patton SN4112 JO EUI 00A0BA0C9D82 R6.T 2016-05-04 H323 SIP FXS FXO M5T SIP Stack/4.2.14.18
    Content-Length: 0


    16:15:35 SIP_TR> [STACK] < 446 Stack: from 192.168.0.128
    SIP/2.0 407 Proxy Authentication Required
    Via: SIP/2.0/UDP 10.3.91.129:5060;branch=z9hG4bK10e6c1586590d2c64
    Proxy-Authenticate: Digest nonce="414d535c10c27b7996:73d7702c1b022cf7c1745298e6fc9765",algorithm=MD5,realm="3CXPhoneSystem"
    To: <sip:10001@192.168.88.128>;tag=b04f374e
    From: <sip:10001@192.168.88.128>;tag=32cce7f0c1
    Call-ID: 6b2acb23035c9067
    CSeq: 33463 REGISTER
    User-Agent: 3CXPhoneSystem 15.5.9348.3 (8713)
    Content-Length: 0


    16:15:35 SIP_SI> [GW GW_SIP] Determine LocalHost Address: dst=192.168.88.128 traffic-class=4294967295
    16:15:35 SIP_SI> [GW GW_SIP] Determine LocalHost Address - updated traffic with gateway traffic-class=2
    16:15:35 SIP_SI> [GW GW_SIP] Determine LocalHost Address - local address from ip stack: 10.3.91.129
    16:15:35 SIP_SI> [GW GW_SIP] Determine LocalHost Address: dst=192.168.88.128 traffic-class=2
    16:15:35 SIP_SI> [GW GW_SIP] Determine LocalHost Address - local address from ip stack: 10.3.91.129
    16:15:35 SIP_TR> [STACK] > 652 Stack: to 192.168.88.128
    REGISTER sip:192.168.88.128:5060 SIP/2.0
    Via: SIP/2.0/UDP 10.3.91.129:5060;branch=z9hG4bKfc44cf6afece9022c
    Proxy-Authorization: Digest username="10001",realm="3CXPhoneSystem",nonce="414d535c10c27b7996:73d7702c1b022cf7c1745298e6fc9765",uri="sip:192.168.88.128:5060",response="a8f727b5063ed9435b2992fb242bd4f5",algorithm=MD5
    Max-Forwards: 70
    From: <sip:10001@192.168.88.128>;tag=32cce7f0c1
    To: <sip:10001@192.168.88.128>
    Call-ID: 6b2acb23035c9067
    CSeq: 33464 REGISTER
    Contact: <sip:10001@10.3.91.129:5060>
    Expires: 300
    User-Agent: Patton SN4112 JO EUI 00A0BA0C9D82 R6.T 2016-05-04 H323 SIP FXS FXO M5T SIP Stack/4.2.14.18
    Content-Length: 0


    16:15:35 SIP_TR> [STACK] < 345 Stack: from 192.168.0.128
    SIP/2.0 200 OK
    Via: SIP/2.0/UDP 10.3.91.129:5060;branch=z9hG4bKfc44cf6afece9022c
    Contact: <sip:10001@10.3.91.129:5060>;expires=300
    To: <sip:10001@192.168.88.128>;tag=8d36a600
    From: <sip:10001@192.168.88.128>;tag=32cce7f0c1
    Call-ID: 6b2acb23035c9067
    CSeq: 33464 REGISTER
    User-Agent: 3CXPhoneSystem 15.5.9348.3 (8713)
    Content-Length: 0
     
  5. leejor

    leejor Well-Known Member

    Joined:
    Jan 22, 2008
    Messages:
    11,095
    Likes Received:
    327
    Why do I see two different IPs (different networks) associated with 10001?

    While a gateway does register with the PBX, it also requires that the correct IP be data-filled in the trunk settings as that is used to send calls to the gateway.
     
  6. Adam Bradley

    Joined:
    Mar 19, 2018
    Messages:
    3
    Likes Received:
    0
    The 3CX server is 192.168.88.128. The remote Patton is on a separate IP Range of 10.3.91.129.

    10001 seems to be the user account for them to authenticate to each other.
     
Thread Status:
Not open for further replies.