Hi,

Even though if i comment those lines, Again INVITE goes from scscf -> pcscf  but from pcscf -> scscf i am getting error as 
483 Too Many Hops .

I am not sure it is because of the commented lines . Kindly do the needful.

Frame 427: 776 bytes on wire (6208 bits), 776 bytes captured (6208 bits) on interface 0
Ethernet II, Src: PcsCompu_db:67:19 (08:00:27:db:67:19), Dst: PcsCompu_33:bd:f2 (08:00:27:33:bd:f2)
Internet Protocol Version 4, Src: 10.45.6.179, Dst: 10.45.6.73
User Datagram Protocol, Src Port: 4060, Dst Port: 4080
Session Initiation Protocol (483)
    Status-Line: SIP/2.0 483 Too Many Hops
    Message Header
        Via: SIP/2.0/UDP 10.45.6.73:4080;branch=z9hG4bK913a.1f96850e9a1caad72a87b6631def7392.0
        Via: SIP/2.0/UDP 10.45.6.79:4070;branch=z9hG4bK913a.a5432848560009006e3bd050b4612173.1
        Via: SIP/2.0/UDP 10.45.6.73:4080;branch=z9hG4bK913a.495d73739902a42f04f8c5451b38cf08.0
        Via: SIP/2.0/UDP 10.45.6.179:4060;branch=z9hG4bK913a.22ebf7d748c7da6c1b38b2362f3e298d.0
        Via: SIP/2.0/UDP 10.45.6.174:36029;received=10.45.6.174;branch=z9hG4bK-524287-1---c2955457ae891751;rport=36029
        To: <sip:bob@sip.example.com>;tag=8409f602ccf3f3f0da6ebceab6ff6336.aa5bd74f
        From: <sip:alice@sip.example.com;transport=UDP>;tag=2818f101
        Call-ID: OQ_SRUYChXAleRx0HwELnQ..
        CSeq: 1 INVITE
        Server: TelcoSuite Proxy-CSCF
        Content-Length: 0

Here 10.45.6.179 -> pcscf
         10.45.6.73 -> scscf 

Kindly help me in this regard. please !! 

On Wed, Apr 15, 2020 at 12:16 PM Pavel Siderov <psiderov@gmail.com> wrote:
Hello,

I think this thread is for Users maillist. 

Anyway, first of all start scscf in debug mode and test. Then have a look on the logs.

There is only one place in the scscf configuration where you can get "Domain not served":

if (uri == myself || uri =~ "tel:.*") {
        if (!term_impu_registered("location")) {                                                                                                        
            xlog("L_DBG", "We need to do an UNREG server SAR assignemnt");
            assign_server_unreg("UNREG_SAR_REPLY", "location", "term");
            exit;
        }
} else {
        sl_send_reply("403","Forbidden - Domain not served");
        exit();
}

I personally got the same error some time ago and I didn't have enough time to debug it. That's why I just commented all the code above so scscf can proceed to : 

route(term);

This is a temporary workaround but it is working fine for me. Most likely this is something important but it stays in the todo to debug it in the near future. 

Regards,
Pavel Siderov 

На пн, 13.04.2020 г. в 22:38 <sr-dev-request@lists.kamailio.org> написа:

Date: Tue, 14 Apr 2020 01:07:14 +0530
From: Pavithra M <pavimohan3096@gmail.com>
To: "Kamailio (SER) - Development Mailing List"
        <sr-dev@lists.kamailio.org>
Subject: Re: [sr-dev] Unable to make SIP Calls (403 Forbidden - Domain
        Not Served)
Message-ID:
        <CAJvDr=+UKZ66o1ZQ-EmQ5xc70AEnZ3fJzoNair1ctCanB1DyvA@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi ,

I have configured kamailio as an IMS server as VM based .

PCSCF - 10.x.x.179
ICSCF - 10.x.x.79
SCSCF - 10.x.x.73
HSS - 10.x.x.75

I am using zoiper client for testing the call flow . The *registration is
happening properly* in my both zoiper clients for hss configured users
(alice and bob).
When i am making an *INVITE , *I am getting *403 Forbidden - Domain not
served *error from SCSCF.

The Call Flow for invite is as follows . call from alice@sip.example.com

zoiper1 (UE) -> PCSCF ( INVITE sip:bob@sip.example.com;transport=UDP )
PCSCF -> SCSCF (  INVITE sip:bob@sip.example.com;transport=UDP )
SCSCF -> PCSCF (100 trying)
SCSCF -> ICSCF   ( INVITE sip:bob@sip.example.com;transport=UDP )
ICSCF -> SCSCF (100 trying)
ICSCF -> SCSCF ( INVITE sip:bob@sip.example.com;transport=UDP )
SCSCF -> ICSCF (100 trying)
SCSCF -> ICSCF (*403 Forbidden - Domain not served*)
ICSCF -> SCSCF (Request: ACK sip:bob@sip.example.com | )
ICSCF -> SCSCF ( 403 Forbidden - Domain not served )
SCSCF -> PCSCF ( 403 Forbidden - Domain not served )
PCSCF -> UE ( 403 Forbidden - Domain not served )

Below are the alias configuration i have done in pcscf,icscf,scscf nodes
*PCSCF.CFG*
# IP-Adress for incoming SIP-Traffic, in the following format:

# SIP / UDP
listen=udp:10.x.x.179:4060
# SIP / TCP
listen=tcp:10.x.x.179:4060
# SIP / TCP/TLS
listen=tls:10.x.x.179:4060

# IPSEC / UDP
#!define IPSEC_LISTEN_ADDR "0.0.0.0"
#!define IPSEC_CLIENT_PORT 5062
#!define IPSEC_SERVER_PORT 5063
#alias="sip.example.com:4060"
alias=pcscf.sip.example.com:4060

#!define MY_WS_PORT 80
#!define MY_WSS_PORT 443

#!define PCSCF_URL "sip:pcscf.sip.example.com:4060"

#!define TCP_PROCESSES 8

#!subst "/NETWORKNAME/sip.example.com/"
#!subst "/HOSTNAME/pcscf.sip.example.com/"

*ICSCF.CFG*

# SIP / UDP
listen=udp:10.x.x.79:4070
# SIP / TCP
listen=tcp:10.x.x.79:4070
# SIP / TCP/TLS
listen=tls:10.x.x.79:4071

alias="icscf.sip.example.com:4070"

#!define NETWORKNAME "sip.example.com"
#!define HOSTNAME "icscf.sip.example.com"

*SCSCF.CFG*

# SIP / UDP
listen=udp:10.x.x.73:4080
# SIP / TCP
listen=tcp:10.x.x.73:4080
# SIP / TCP/TLS
listen=tls:10.x.x.73:4081

#!define NETWORKNAME "sip.example.com"
#!define HOSTNAME "scscf.sip.example.com"
#!define URI "sip:scscf.sip.example.com:4080"
alias=scscf.sip.example.com:4080

# ENUM-Server to query:
#!define ENUM_SUFFIX "scscf.sip.example.com."


Kindly let me know where i am missing . Kindly need help in this issue
since the registration is happening successfully and dropping in the INVITE
level.
Kindly help.
_______________________________________________
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev