<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Hi all,
<div class=""><br class="">
</div>
<div class="">we’re just playing around with an IMS setup bases on kamailio. Therefore the kamailio is used as P-,I- and S-CSCF.</div>
<div class="">We where able to register two clients through all components.</div>
<div class="">As we wan to start a call session, the P-CSCF answers with „403 - Forbidden. You must register with an S-CSCF“…</div>
<div class=""><br class="">
</div>
<div class="">I found this snippet in kamailio.cfg:</div>
<div class=""><br class="">
</div>
<div class=""></div>
<div class=""><span style="color: rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; white-space: pre; widows: 1; background-color: rgb(255, 255, 255);" class="">if (!pcscf_is_registered(</span><span class="pl-s" style="font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; white-space: pre; widows: 1; box-sizing: border-box; color: rgb(24, 54, 145);"><span class="pl-pds" style="box-sizing: border-box;">"</span>location<span class="pl-pds" style="box-sizing: border-box;">"</span></span><span style="color: rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; white-space: pre; widows: 1; background-color: rgb(255, 255, 255);" class="">))
 { </span><span class="Apple-tab-span" style="color: rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; white-space: pre; widows: 1;"></span><span style="color: rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; white-space: pre; widows: 1; background-color: rgb(255, 255, 255);" class="">send_reply(</span><span class="pl-s" style="font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; white-space: pre; widows: 1; box-sizing: border-box; color: rgb(24, 54, 145);"><span class="pl-pds" style="box-sizing: border-box;">"</span>403<span class="pl-pds" style="box-sizing: border-box;">"</span></span><span style="color: rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; white-space: pre; widows: 1; background-color: rgb(255, 255, 255);" class="">,</span><span class="pl-s" style="font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; white-space: pre; widows: 1; box-sizing: border-box; color: rgb(24, 54, 145);"><span class="pl-pds" style="box-sizing: border-box;">"</span>Forbidden
 - You must register first with a S-CSCF<span class="pl-pds" style="box-sizing: border-box;">“</span></span><span style="color: rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; white-space: pre; widows: 1; background-color: rgb(255, 255, 255);" class="">)</span><span class="pl-c" style="font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; white-space: pre; widows: 1; box-sizing: border-box; color: rgb(150, 152, 150);">;
</span><span class="Apple-tab-span" style="color: rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; white-space: pre; widows: 1;"></span><span style="color: rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; white-space: pre; widows: 1; background-color: rgb(255, 255, 255);" class="">break</span><span class="pl-c" style="font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; white-space: pre; widows: 1; box-sizing: border-box; color: rgb(150, 152, 150);">;
</span><span style="color: rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; white-space: pre; widows: 1; background-color: rgb(255, 255, 255);" class="">}
</span></div>
<div class=""><span style="color: rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; white-space: pre; widows: 1; background-color: rgb(255, 255, 255);" class=""><br class="">
</span></div>
<div class="">Can one tell me what exactly the kamailio is checking there? As I figured out it is looking in database location table.</div>
<div class=""><br class="">
</div>
<div class="">The table contains the registered users registered towards the IMS.</div>
<div class=""><br class="">
</div>
<div class="">Another „problem“ we faced with is the rtpproxy. As the <span style="color: rgb(51, 51, 51); font-family: Consolas, 'Andale Mono WT', 'Andale Mono', 'Bitstream Vera Sans Mono', 'Nimbus Mono L', Monaco, 'Courier New', monospace; font-size: 14px; background-color: rgb(251, 250, 249);" class="">ngcp-mediaproxy-ng </span>is
 no longer available and replaced with rtpproxy we’re trying to use it. But kamailio said that the proxy isn’t answering the way expected.</div>
<div class=""><br class="">
</div>
<div class="">
<div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(195, 55, 32);" class="">
ERROR: rtpengine [rtpengine.c:1622]: rtpp_test(): proxy responded with invalid response</div>
</div>
<div class=""><br class="">
</div>
<div class="">Any advise would be nice.</div>
<div class=""><br class="">
</div>
<div class="">Thank you</div>
<div class="">Fred</div>
<div class=""><br class="">
</div>
</body>
</html>