<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Maybe it is time to look at ZTE traces/logs.<br>
    <br>
    P.S.<br>
    Try to check in docs meaning of X-ZTE-Cause<br>
    <br>
    <div class="moz-cite-prefix">On 08/27/2018 04:06 PM, Mojtaba wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CABVi_ExggWyadCSMJ4+TZTCBtyvQ86udzpAbNiB5TMOx+R0Zig@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
      <div dir="auto">
        <div>Hi, I knew, But i have not access to ZTE's pcscf.</div>
        <div dir="auto">Thank you. </div>
        <div dir="auto">But what about my question?Why the UE could not
          register via SEMS?</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto"><br>
          <div class="gmail_quote" dir="auto">
            <div dir="ltr">On Mon, 27 Aug 2018 15:40 Ivailo Dobrev, <<a
                href="mailto:ivailod@telera.eu" moz-do-not-send="true">ivailod@telera.eu</a>>
              wrote:<br>
            </div>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
              <br>
              It's not directly related to your question but keep in
              mind that SBC <br>
              should be put after vendor's/ZTE p-cscf if possible.
              Otherwise you will <br>
              have QoS issues (if Rx is enabled/used) because of
              rewritten SDP from <br>
              SBC/B2BUA.<br>
              <br>
              Regards,<br>
              Ivo<br>
              <br>
              On 08/27/2018 08:06 AM, Mojtaba wrote:<br>
              > Hello,<br>
              > I am working with IMS (ZTE vendor), I want to use SBC
              in front of IMS<br>
              > network for some security policy (Hide Topology),<br>
              > I used SEMS as SBC in this regards, (like what  we
              have in IMS/SEMS in<br>
              > kamailio by Mr Carsten Bock).<br>
              > When the Sebscriber want to register, The Register
              request received by<br>
              > sems and the forward to IMS(ZTE), But the "503
              Service Unavailable" is<br>
              > received from IMS.<br>
              > I enable "enable_reg_caching=yes" in
              register.sbcprofile''s<br>
              > configuration file in sems.<br>
              > If i use kamailio, instead of SEMS, The Registration
              request is done<br>
              > successfully.In Kamailio i just forward the Register
              request to<br>
              > IMS.like this:<br>
              > route {<br>
              > if (is_method("REGISTER")) {<br>
              >                  $du = "sip:<a
                href="http://172.23.1.1:5080" rel="noreferrer
                noreferrer" target="_blank" moz-do-not-send="true">172.23.1.1:5080</a>";<br>
              >                  route(RELAY);<br>
              > }<br>
              > }<br>
              > Let me know do the issue is from myself or from
              IMS(ZTE)?<br>
              > In the fillowing, I paste all SIP Register
              signalling. First in<br>
              > kamailio, second with SEMS.<br>
              > ================Kamailio==================<br>
              >      172.23.1.252.4080 > 172.23.1.1.5080: [bad udp
              cksum 0x5e58 -><br>
              > 0x4193!] UDP, length 787<br>
              > E../....@.]...............^XREGISTER sip:<a
                href="http://r-kh.com" rel="noreferrer noreferrer"
                target="_blank" moz-do-not-send="true">r-kh.com</a>
              SIP/2.0<br>
              > Via: SIP/2.0/UDP<br>
              >
              172.23.1.252:4080;branch=z9hG4bK018b.e091260b1b7395975a2ff1be0b9bec60.0<br>
              > Via: SIP/2.0/UDP<br>
              >
              192.168.122.1:64407;branch=z9hG4bK-d8754z-7c208b9d587de818-1---d8754z-<br>
              > Max-Forwards: 69<br>
              > Contact:
<a class="moz-txt-link-rfc2396E" href="mailto:sip:+985137054518@192.168.122.1:64407;rinstance=e664e178fc12691e;transport=UDP"><sip:+985137054518@192.168.122.1:64407;rinstance=e664e178fc12691e;transport=UDP></a><br>
              > From: <<a
                href="mailto:sip%3A%2B985137054518@r-kh.com"
                target="_blank" rel="noreferrer" moz-do-not-send="true">sip:+985137054518@r-kh.com</a>;transport=UDP>;tag=5aef0541<br>
              > Call-ID: ZWYxMzUzNTQzN2I2MTRiMjE2NWZjMzUzMDFmMDhkOWY.<br>
              > CSeq: 1 REGISTER<br>
              > Expires: 3600<br>
              > Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER,
              MESSAGE, OPTIONS,<br>
              > INFO, SUBSCRIBE<br>
              > Supported: replaces, norefersub, extended-refer,
              timer, X-cisco-serviceuri<br>
              > User-Agent: Z 3.3.25608 r25552<br>
              > Allow-Events: presence, kpml<br>
              > Content-Length: 0<br>
              ><br>
              ><br>
              > 08:20:53.114198 IP (tos 0x0, ttl 255, id 25839,
              offset 0, flags<br>
              > [none], proto UDP (17), length 685)<br>
              >      172.23.1.1.5080 > 172.23.1.252.4080: [udp sum
              ok] UDP, length 657<br>
              > E...d......$..............l.SIP/2.0 401 Unauthorized<br>
              > Via: SIP/2.0/UDP<br>
              >
              172.23.1.252:4080;branch=z9hG4bK018b.e091260b1b7395975a2ff1be0b9bec60.0<br>
              > Via: SIP/2.0/UDP<br>
              >
              192.168.122.1:64407;branch=z9hG4bK-d8754z-7c208b9d587de818-1---d8754z-<br>
              > To: <<a
                href="mailto:sip%3A%2B985137054518@r-kh.com"
                target="_blank" rel="noreferrer" moz-do-not-send="true">sip:+985137054518@r-kh.com</a>;transport=UDP>;tag=ztesipTR9m3KdZ*3-5-16648*daei.3<br>
              > From: <<a
                href="mailto:sip%3A%2B985137054518@r-kh.com"
                target="_blank" rel="noreferrer" moz-do-not-send="true">sip:+985137054518@r-kh.com</a>;transport=UDP>;tag=5aef0541<br>
              > Call-ID: ZWYxMzUzNTQzN2I2MTRiMjE2NWZjMzUzMDFmMDhkOWY.<br>
              > CSeq: 1 REGISTER<br>
              > Content-Length: 0<br>
              > WWW-Authenticate: Digest<br>
              > realm="<a href="http://r-kh.com" rel="noreferrer
                noreferrer" target="_blank" moz-do-not-send="true">r-kh.com</a>",domain="sip:<a
                href="http://scscf1.r-kh.com" rel="noreferrer
                noreferrer" target="_blank" moz-do-not-send="true">scscf1.r-kh.com</a>",nonce="f42b36e39bdbb33b51599924b304445a",opaque="aW1zLmNvbS5jbg==",stale=TRUE,algorithm=MD5,qop="auth"<br>
              ><br>
              ><br>
              > 08:20:53.120142 IP (tos 0x10, ttl 64, id 48874,
              offset 0, flags<br>
              > [none], proto UDP (17), length 1137)<br>
              >      172.23.1.252.4080 > 172.23.1.1.5080: [bad udp
              cksum 0x5f9a -><br>
              > 0xcc62!] UDP, length 1109<br>
              > <a class="moz-txt-link-abbreviated" href="mailto:E..q....@.\V">E..q....@.\V</a>.............]_.REGISTER sip:<a
                href="http://r-kh.com" rel="noreferrer noreferrer"
                target="_blank" moz-do-not-send="true">r-kh.com</a>
              SIP/2.0<br>
              > Via: SIP/2.0/UDP<br>
              >
              172.23.1.252:4080;branch=z9hG4bKd08b.4d2858f41d496b471c01a28e76190390.0<br>
              > Via: SIP/2.0/UDP<br>
              >
              192.168.122.1:64407;branch=z9hG4bK-d8754z-a4d19146375d56f6-1---d8754z-<br>
              > Max-Forwards: 69<br>
              > Contact:
<a class="moz-txt-link-rfc2396E" href="mailto:sip:+985137054518@192.168.122.1:64407;rinstance=e664e178fc12691e;transport=UDP"><sip:+985137054518@192.168.122.1:64407;rinstance=e664e178fc12691e;transport=UDP></a><br>
              > To: <<a
                href="mailto:sip%3A%2B985137054518@r-kh.com"
                target="_blank" rel="noreferrer" moz-do-not-send="true">sip:+985137054518@r-kh.com</a>;transport=UDP><br>
              > From: <<a
                href="mailto:sip%3A%2B985137054518@r-kh.com"
                target="_blank" rel="noreferrer" moz-do-not-send="true">sip:+985137054518@r-kh.com</a>;transport=UDP>;tag=5aef0541<br>
              > Call-ID: ZWYxMzUzNTQzN2I2MTRiMjE2NWZjMzUzMDFmMDhkOWY.<br>
              > CSeq: 2 REGISTER<br>
              > Expires: 3600<br>
              > Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER,
              MESSAGE, OPTIONS,<br>
              > INFO, SUBSCRIBE<br>
              > Supported: replaces, norefersub, extended-refer,
              timer, X-cisco-serviceuri<br>
              > User-Agent: Z 3.3.25608 r25552<br>
              > Authorization: Digest<br>
              > username="+<a href="mailto:985137054518@r-kh.com"
                target="_blank" rel="noreferrer" moz-do-not-send="true">985137054518@r-kh.com</a>",realm="<a
                href="http://r-kh.com" rel="noreferrer noreferrer"
                target="_blank" moz-do-not-send="true">r-kh.com</a>",nonce="f42b36e39bdbb33b51599924b304445a",uri="sip:<a
                href="http://r-kh.com" rel="noreferrer noreferrer"
                target="_blank" moz-do-not-send="true">r-kh.com</a>;transport=UDP",response="9469852a06c01efeabf3a7a5dd1a9f3b",cnonce="79d36600575648a1cc7221d8e1b5d53d",nc=00000001,qop=auth,algorithm=MD5,opaque="aW1zLmNvbS5jbg=="<br>
              > Allow-Events: presence, kpml<br>
              > Content-Length: 0<br>
              ><br>
              ><br>
              > 08:20:53.203871 IP (tos 0x0, ttl 255, id 25842,
              offset 0, flags<br>
              > [none], proto UDP (17), length 1118)<br>
              >      172.23.1.1.5080 > 172.23.1.252.4080: [udp sum
              ok] UDP, length 1090<br>
              > E..^d......p.............J.5SIP/2.0 200 OK<br>
              > Via: SIP/2.0/UDP<br>
              >
              172.23.1.252:4080;branch=z9hG4bKd08b.4d2858f41d496b471c01a28e76190390.0<br>
              > Via: SIP/2.0/UDP<br>
              >
              192.168.122.1:64407;branch=z9hG4bK-d8754z-a4d19146375d56f6-1---d8754z-<br>
              > To: <<a
                href="mailto:sip%3A%2B985137054518@r-kh.com"
                target="_blank" rel="noreferrer" moz-do-not-send="true">sip:+985137054518@r-kh.com</a>;transport=UDP>;tag=ztesipjRydzgMa*3-5-16648*daej.3<br>
              > From: <<a
                href="mailto:sip%3A%2B985137054518@r-kh.com"
                target="_blank" rel="noreferrer" moz-do-not-send="true">sip:+985137054518@r-kh.com</a>;transport=UDP>;tag=5aef0541<br>
              > Call-ID: ZWYxMzUzNTQzN2I2MTRiMjE2NWZjMzUzMDFmMDhkOWY.<br>
              > CSeq: 2 REGISTER<br>
              > Contact:
<a class="moz-txt-link-rfc2396E" href="mailto:sip:+985137054518@192.168.122.1:64407;transport=UDP;rinstance=e664e178fc12691e"><sip:+985137054518@192.168.122.1:64407;transport=UDP;rinstance=e664e178fc12691e></a>;expires=1800<br>
              > Contact:
<a class="moz-txt-link-rfc2396E" href="mailto:sip:ZTEAGCF000f425704be720000@agcf2.r-kh.com:5079;appid=2-7;UserRegInfo=002-02-00-0b80-04-172.30.48.143;BACaddr=172.30.48.143;BACport=2944"><sip:ZTEAGCF000f425704be720000@agcf2.r-kh.com:5079;appid=2-7;UserRegInfo=002-02-00-0b80-04-172.30.48.143;BACaddr=172.30.48.143;BACport=2944></a>;expires=1800;+sip.instance="<urn:uuid:172.30.35.41-000>";reg-id=1<br>
              > P-Associated-URI: <tel:+985137054518><br>
              > P-Associated-URI: <<a
                href="mailto:sip%3A%2B985137054518@r-kh.com"
                target="_blank" rel="noreferrer" moz-do-not-send="true">sip:+985137054518@r-kh.com</a>><br>
              > Date: Sat, 25 Aug 2018 12:25:17 GMT<br>
              > Authentication-Info:<br>
              >
nextnonce="00cfbd64b136c12a4e27b67fd28d19fb",qop=auth,rspauth="91ca956c5eb6ee9f1934e2e770750077",cnonce="79d36600575648a1cc7221d8e1b5d53d",nc=00000001<br>
              > Content-Length: 0<br>
              >
              ============================SEMS========================<br>
              >      172.23.1.252.5080 > 172.23.1.1.5080: [bad udp
              cksum 0x5e16 -><br>
              > 0xe11e!] UDP, length 721<br>
              > <a class="moz-txt-link-abbreviated" href="mailto:E...C.@.@.................^">E...C.@.@.................^</a>.<br>
              ><br>
              > REGISTER sip:<a href="http://r-kh.com"
                rel="noreferrer noreferrer" target="_blank"
                moz-do-not-send="true">r-kh.com</a> SIP/2.0<br>
              > Via: SIP/2.0/UDP
              172.23.1.252:5080;branch=z9hG4bK~0uk0ahN;rport<br>
              > From: <<a
                href="mailto:sip%3A%2B985137054518@r-kh.com"
                target="_blank" rel="noreferrer" moz-do-not-send="true">sip:+985137054518@r-kh.com</a>;transport=UDP>;tag=34384541-5B814A44000AE296-4B5F5700<br>
              > To: <<a
                href="mailto:sip%3A%2B985137054518@r-kh.com"
                target="_blank" rel="noreferrer" moz-do-not-send="true">sip:+985137054518@r-kh.com</a>;transport=UDP><br>
              > CSeq: 10 REGISTER<br>
              > Call-ID: 37B52BC0-5B814A44000AE592-4B5F5700<br>
              > Route: <sip:172.23.1.1:5080;lr><br>
              > Max-Forwards: 70<br>
              > Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER,
              MESSAGE, OPTIONS,<br>
              > INFO, SUBSCRIBE<br>
              > Supported: replaces, norefersub, extended-refer,
              timer, X-cisco-serviceuri<br>
              > User-Agent: Z 3.3.25608 r25552<br>
              > Allow-Events: presence, kpml<br>
              > Contact:
<a class="moz-txt-link-rfc2396E" href="mailto:sip:+985137054518@192.168.122.1:64407;rinstance=868560f8328d39e9;transport=UDP"><sip:+985137054518@192.168.122.1:64407;rinstance=868560f8328d39e9;transport=UDP></a>;expires=3600<br>
              > Content-Length: 0<br>
              ><br>
              ><br>
              > 08:23:32.790414 IP (tos 0x0, ttl 255, id 35790,
              offset 0, flags<br>
              > [none], proto UDP (17), length 593)<br>
              >      172.23.1.1.5080 > 172.23.1.252.5080: [udp sum
              ok] UDP, length 565<br>
              > E..Q.....................=..SIP/2.0 401 Unauthorized<br>
              > Via: SIP/2.0/UDP
              172.23.1.252:5080;rport=5080;branch=z9hG4bK~0uk0ahN<br>
              > To: <<a
                href="mailto:sip%3A%2B985137054518@r-kh.com"
                target="_blank" rel="noreferrer" moz-do-not-send="true">sip:+985137054518@r-kh.com</a>;transport=UDP>;tag=ztesipDEmH2AWT*3-5-16648*egei.3<br>
              > From: <<a
                href="mailto:sip%3A%2B985137054518@r-kh.com"
                target="_blank" rel="noreferrer" moz-do-not-send="true">sip:+985137054518@r-kh.com</a>;transport=UDP>;tag=34384541-5B814A44000AE296-4B5F5700<br>
              > Call-ID: 37B52BC0-5B814A44000AE592-4B5F5700<br>
              > CSeq: 10 REGISTER<br>
              > Content-Length: 0<br>
              > WWW-Authenticate: Digest<br>
              > realm="<a href="http://r-kh.com" rel="noreferrer
                noreferrer" target="_blank" moz-do-not-send="true">r-kh.com</a>",domain="sip:<a
                href="http://scscf1.r-kh.com" rel="noreferrer
                noreferrer" target="_blank" moz-do-not-send="true">scscf1.r-kh.com</a>",nonce="179797f920a09d65b5641e5e87df0d8c",opaque="aW1zLmNvbS5jbg==",stale=TRUE,algorithm=MD5,qop="auth"<br>
              ><br>
              ><br>
              > 08:23:32.855067 IP (tos 0x0, ttl 64, id 17364, offset
              0, flags [DF],<br>
              > proto UDP (17), length 1071)<br>
              >      172.23.1.252.5080 > 172.23.1.1.5080: [bad udp
              cksum 0x5f58 -><br>
              > 0xf553!] UDP, length 1043<br>
              > <a class="moz-txt-link-abbreviated" href="mailto:E../C.@.@................._X">E../C.@.@................._X</a><br>
              ><br>
              > REGISTER sip:<a href="http://r-kh.com"
                rel="noreferrer noreferrer" target="_blank"
                moz-do-not-send="true">r-kh.com</a> SIP/2.0<br>
              > Via: SIP/2.0/UDP
              172.23.1.252:5080;branch=z9hG4bKeAfKkaZa;rport<br>
              > From: <<a
                href="mailto:sip%3A%2B985137054518@r-kh.com"
                target="_blank" rel="noreferrer" moz-do-not-send="true">sip:+985137054518@r-kh.com</a>;transport=UDP>;tag=5A64C27D-5B814A44000CD034-4B6F6700<br>
              > To: <<a
                href="mailto:sip%3A%2B985137054518@r-kh.com"
                target="_blank" rel="noreferrer" moz-do-not-send="true">sip:+985137054518@r-kh.com</a>;transport=UDP><br>
              > CSeq: 10 REGISTER<br>
              > Call-ID: 5380C97E-5B814A44000CD2A5-4B6F6700<br>
              > Route: <sip:172.23.1.1:5080;lr><br>
              > Max-Forwards: 70<br>
              > Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER,
              MESSAGE, OPTIONS,<br>
              > INFO, SUBSCRIBE<br>
              > Supported: replaces, norefersub, extended-refer,
              timer, X-cisco-serviceuri<br>
              > User-Agent: Z 3.3.25608 r25552<br>
              > Authorization: Digest<br>
              > username="+<a href="mailto:985137054518@r-kh.com"
                target="_blank" rel="noreferrer" moz-do-not-send="true">985137054518@r-kh.com</a>",realm="<a
                href="http://r-kh.com" rel="noreferrer noreferrer"
                target="_blank" moz-do-not-send="true">r-kh.com</a>",nonce="179797f920a09d65b5641e5e87df0d8c",uri="sip:<a
                href="http://r-kh.com" rel="noreferrer noreferrer"
                target="_blank" moz-do-not-send="true">r-kh.com</a>;transport=UDP",response="017efb986e17506a82bb01e8eb136b90",cnonce="3764fd5eb2ea9539d61ec14196a2bf00",nc=00000001,qop=auth,algorithm=MD5,opaque="aW1zLmNvbS5jbg=="<br>
              > Allow-Events: presence, kpml<br>
              > Contact:
<a class="moz-txt-link-rfc2396E" href="mailto:sip:+985137054518@192.168.122.1:64407;rinstance=868560f8328d39e9;transport=UDP"><sip:+985137054518@192.168.122.1:64407;rinstance=868560f8328d39e9;transport=UDP></a>;expires=3600<br>
              > Content-Length: 0<br>
              ><br>
              ><br>
              > 08:23:32.860417 IP (tos 0x0, ttl 255, id 35804,
              offset 0, flags<br>
              > [none], proto UDP (17), length 508)<br>
              >      172.23.1.1.5080 > 172.23.1.252.5080: [udp sum
              ok] UDP, length 480<br>
              > E...........................SIP/2.0 503 Service
              Unavailable<br>
              > Via: SIP/2.0/UDP
              172.23.1.252:5080;rport=5080;branch=z9hG4bKeAfKkaZa<br>
              > To: <<a
                href="mailto:sip%3A%2B985137054518@r-kh.com"
                target="_blank" rel="noreferrer" moz-do-not-send="true">sip:+985137054518@r-kh.com</a>;transport=UDP>;tag=ztesipxxsD3FR2VG8e9zxR_1dx*1-1-16648*ihad.1<br>
              > From: <<a
                href="mailto:sip%3A%2B985137054518@r-kh.com"
                target="_blank" rel="noreferrer" moz-do-not-send="true">sip:+985137054518@r-kh.com</a>;transport=UDP>;tag=5A64C27D-5B814A44000CD034-4B6F6700<br>
              > Call-ID: 5380C97E-5B814A44000CD2A5-4B6F6700<br>
              > CSeq: 10 REGISTER<br>
              > X-ZTE-Cause: "<a
                href="http://CSCF-1.1.BC004016-BC004288-0-0.pcscf1.r-kh.com"
                rel="noreferrer noreferrer" target="_blank"
                moz-do-not-send="true">CSCF-1.1.BC004016-BC004288-0-0.pcscf1.r-kh.com</a>"<br>
              > Retry-After: 30<br>
              > Content-Length: 0<br>
              ><br>
              ><br>
              ><br>
              ><br>
              <br>
              <br>
              _______________________________________________<br>
              Kamailio (SER) - Users Mailing List<br>
              <a href="mailto:sr-users@lists.kamailio.org"
                target="_blank" rel="noreferrer" moz-do-not-send="true">sr-users@lists.kamailio.org</a><br>
              <a
                href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users"
                rel="noreferrer noreferrer" target="_blank"
                moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
            </blockquote>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>