PureEngage On-Premises

 View Only

Sign Up

  • 1.  Problem Register 407 Proxy Authentication Required

    Posted 06-21-2018 10:02
    Hello guys,
    I'm having difficulty responding to the "407 Proxy Authentication Required" event I get from a gateway through a trunk created on the Genesys sip server by the Register method. Anyone know what it could be?

    Note: By the Invite method, the "407 Proxy Authentication Required" sip server responds normally.

    Options trunk
    [AuthClient]
    password=06031B08CEEB057B04A01F3FE7F7409B12D7EB663FF45563BECB0C3A4FAFD3A4
    username=7Gn3zZCg9XWR2WgfZ09DXBOHFFnLAU

    [TServer]
    authenticate-requests=REGISTER
    contact=sip:reg.jiveip.net:5060
    force-register=sip:7Gn3zZCg9XWR2WgfZ09DXBOHFFnLAU@reg.jiveip.net:5060
    oos-check=20
    override-domain-from=7Gn3zZCg9XWR2WgfZ09DXBOHFFnLAU



    Log Sip


    09:31:54.826: Sending  [0,UDP] 458 bytes to 162.250.60.18:5060 >>>>>

    REGISTER sip:reg.jiveip.net SIP/2.0

    From: sip:7Gn3zZCg9XWR2WgfZ09DXBOHFFnLAU@reg.jiveip.net:5060;tag=008DE7DA-82A0-1AA6-B13B-A6241CACAA77-399835

    To: <sip:7Gn3zZCg9XWR2WgfZ09DXBOHFFnLAU@reg.jiveip.net>

    Call-ID: 008DE7D0-82A0-1AA6-B13B-A6241CACAA77-246901@192.168.150.20

    CSeq: 1 REGISTER

    Content-Length: 0

    Via: SIP/2.0/UDP 192.168.150.20:5060;branch=z9hG4bK008DE7E4-82A0-1AA6-B13B-A6241CACAA77-322929

    Contact: <sip:192.168.150.20:5060>

    Expires: 600

    09:31:55.017: SIPTR: Received [0,UDP] 726 bytes from 162.250.60.18:5060

     <<<<<

    SIP/2.0 407 Proxy Authentication Required

    Record-Route: <sip:162.250.60.18:5061;ftag=008DE7DA-82A0-1AA6-B13B-A6241CACAA77-399835;lr>

    Via: SIP/2.0/UDP 192.168.150.20:5060;rport=5060;received=189.8.74.193;branch=z9hG4bK008DE7E4-82A0-1AA6-B13B-A6241CACAA77-322929

    To: <sip:7Gn3zZCg9XWR2WgfZ09DXBOHFFnLAU@reg.jiveip.net>;tag=JJJ-

    From: <sip:7Gn3zZCg9XWR2WgfZ09DXBOHFFnLAU@reg.jiveip.net:5060>;tag=008DE7DA-82A0-1AA6-B13B-A6241CACAA77-399835

    Call-ID: 008DE7D0-82A0-1AA6-B13B-A6241CACAA77-246901@192.168.150.20

    CSeq: 1 REGISTER

    Content-Length: 0

    Session-ID: 17e87bfd56131b0c20fc37b8a0d53220

    Proxy-Authenticate: Digest realm="reg.jiveip.net", nonce="ovo8Eg:2j2fhb:Z3LvQg:Qn8uoNTH", qop="auth", stale=false, algorithm=MD5



    ------------------------------
    Anderson Oliveira
    Interaxa Brasil
    ------------------------------


  • 2.  RE: Problem Register 407 Proxy Authentication Required

    Posted 06-21-2018 10:38
    Anderson,

    According to the documentation, the authentication construct from the Genesys side is for incoming REGISTER or INVITE requests only.  In order to respond to the challenge request of "407" the SIP Server must pass an encryption header of "Proxy-Authenticate" to reg.jiveip.net.  Is there a subsequent message that the SIP Server is passing along?

    -Ivan

    ------------------------------
    Ivan Ullmann
    Eventus Solutions Group
    ------------------------------



  • 3.  RE: Problem Register 407 Proxy Authentication Required

    Posted 06-21-2018 12:26
    Hello Ivan Ullmann,
    No, the sip server receives the "407" from the gateway, but does not pass the authentication forward. When the sip server makes an Invite to the same gateway, and receives the "407", it passes authentication to the gateway.

    That is, for the Register method is not working, only for the Invite method. The problem that calls only work if the sip server does the authentication by Register with the Gateway.

    ------------------------------
    Anderson Oliveira
    Interaxa Brasil
    ------------------------------