<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Your questions make no sense, this is nobody is answering them.<div><br></div><div>Adrian</div><div><br><div><div><div>On 29 May 2014, at 17:20, Kaan Dandin <<a href="mailto:kaandandin@yahoo.com">kaandandin@yahoo.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><div style="background-color: rgb(255, 255, 255); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"><div><span></span> </div><div>Hi Bogdan,</div><div> </div><div>Previously, I have asked some questions to you about OpenSIPS and OpenIMS integration.</div><div> </div><div> </div><div>My last situation is as following. I have shared it also with OpenIMS workgroup. </div><div>Could you please help me about this problem?</div><div> </div><div>BR,</div><div>Kaan</div><div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"><div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"><div class="y_msg_container"><div id="yiv2054820065"><div style="font-family: Calibri, "Segoe UI", Meiryo, "Microsoft YaHei UI", "Microsoft JhengHei UI", "Malgun Gothic",
"Khmer UI", "Nirmala UI", Tunga, "Lao UI", Ebrima, sans-serif; font-size: 12pt;" dir="ltr"><div> </div><div style="padding-top: 5px; border-top-color: rgb(229, 229, 229); border-top-width: 1px; border-top-style: solid;"><font style="line-height: 15pt; letter-spacing: 0.02em; font-family: Calibri, "Segoe UI", Meiryo, "Microsoft YaHei UI", "Microsoft JhengHei UI", "Malgun Gothic", "Khmer UI", "Nirmala UI", Tunga, "Lao UI", Ebrima, sans-serif; font-size: 11pt;"><br><b>Kime:</b> <a href="mailto:openimscore-users@lists.berlios.de">openimscore-users@lists.berlios.de</a></font></div><div> </div><div>Hi all,</div><div><div> </div><div>I am building a test environment using OpenSIPS and OpenIMS.</div><div> </div><div>As first step, I have successfuly installed OpenIMS and able to make registrations and start calls from
Monster client.</div><div> </div><div>As second step, I am puttting OpenSIPS as load balancer between the IMS client and OpenIMS P-CSCF’s .</div><div> </div><div>I have installed OpenSIPS and “OpenSIPS Control Panel” successfully.</div><div> </div><div>I have inserted the configuration to dispatcher module from OpenSIPS Control Panel .</div></div><div> </div><div> </div><div>I<span> can successfuly register to OpenIMS through OpenSIPS dispatcher module.</span></div><div><div class="yiv2054820065ms__id28018" id="yiv2054820065yui_3_16_0_8_1401307675856_7" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;
font-size: 12pt;"><div class="yiv2054820065ms__id28020" id="yiv2054820065yui_3_16_0_1_1401307675856_10940" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"><div class="yiv2054820065y_msg_container" id="yiv2054820065yui_3_16_0_1_1401307675856_10958"><div class="qtdSeparateBR"><br><br></div><div class="yiv2054820065yqt9494029338"><span>But when I try to make a call with Invite message after registration through OpenSIPS,</span></div><div class="yiv2054820065yqt9494029338"><span>I get “403 Forbidden Not registered” error.</span></div><div class="yiv2054820065yqt9494029338"><span></span> </div><div class="yiv2054820065yqt9494029338"><span></span> </div><div class="yiv2054820065yqt9494029338"><span>I have found a thread in OpenIMS mailing group with a similar problem .</span></div><div class="yiv2054820065yqt9494029338"><span>Could you please help me if
there are any solution addressed for this issue until now.</span></div><div class="yiv2054820065yqt9494029338"><span></span> </div><div class="yiv2054820065yqt9494029338"><span><a title="http://lists.berlios.de/pipermail/openimscore-cscf/2010-January/001972.html" href="http://lists.berlios.de/pipermail/openimscore-cscf/2010-January/001972.html" target="_blank" rel="nofollow">http://lists.berlios.de/pipermail/openimscore-cscf/2010-January/001972.html</a></span></div><div class="yiv2054820065yqt9494029338"><span></span> </div><div class="yiv2054820065yqt9494029338"><span></span> </div><div class="yiv2054820065yqt9494029338"><span></span> </div><div class="yiv2054820065yqt9494029338"><span>Error message coming from P-CSCF is following although the user is already successfully registered.</span></div><div class="yiv2054820065yqt9494029338"><span></span> </div><div class="yiv2054820065yqt9494029338"><span>No.
Time Source Destination Protocol Info<br> 415 220.825115 192.168.2.1 192.168.2.141 SIP Status: 403 Forbidden - Not Registered! You must register first with a S-CSCF</span></div><div> </div><div class="yiv2054820065yqt9494029338"> </div><span><div class="yiv2054820065yqt9494029338">Frame 415 (735 bytes on wire, 735 bytes captured)<br>Ethernet II, Src: Vmware_27:3f:bb (00:0c:29:27:3f:bb), Dst: Vmware_22:e0:4c (00:0c:29:22:e0:4c)<br> Destination: Vmware_22:e0:4c (00:0c:29:22:e0:4c)<br> Address: Vmware_22:e0:4c
(00:0c:29:22:e0:4c)<br> .... ...0 .... .... .... .... = IG bit: Individual address (unicast)<br> .... ..0. .... .... .... .... = LG bit: Globally unique address (factory default)<br> Source: Vmware_27:3f:bb (00:0c:29:27:3f:bb)<br> Address: Vmware_27:3f:bb (00:0c:29:27:3f:bb)<br> .... ...0 .... .... .... .... = IG bit: Individual address (unicast)<br> .... ..0. .... .... .... .... = LG bit: Globally unique address (factory default)<br> Type: IP (0x0800)<br>Internet Protocol, Src: 192.168.2.1 (192.168.2.1), Dst: 192.168.2.141 (192.168.2.141)<br> Version: 4<br> Header length: 20 bytes<br> Differentiated Services Field: 0x10 (DSCP 0x04: Unknown DSCP; ECN:
0x00)<br> Total Length: 721<br> Identification: 0x0000 (0)<br> Flags: 0x04 (Don't Fragment)<br> Fragment offset: 0<br> Time to live: 64<br> Protocol: UDP (0x11)<br> Header checksum: 0xb22d [correct]<br> Source: 192.168.2.1 (192.168.2.1)<br> Destination: 192.168.2.141 (192.168.2.141)<br>User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060)<br> Source port: sip (5060)<br> Destination port: sip (5060)<br> Length: 701<br> Checksum: 0x3853 [correct]<br>Session Initiation Protocol<br> Status-Line: SIP/2.0 403 Forbidden - Not Registered! You must register first with a S-CSCF<br> Status-Code: 403<br> [Resent Packet:
False]<br> Message Header<br> Call-ID: <a title="mailto:a6f55ffd6540b7c6f70d03d6eb1ceb5f@192.168.2.10" href="mailto:a6f55ffd6540b7c6f70d03d6eb1ceb5f@192.168.2.10" target="_blank" rel="nofollow" ymailto="mailto:a6f55ffd6540b7c6f70d03d6eb1ceb5f@192.168.2.10">a6f55ffd6540b7c6f70d03d6eb1ceb5f@192.168.2.10</a><br> CSeq: 182 INVITE<br> From: <<a href="sip:alice@open-ims.test">sip:alice@open-ims.test</a>>;tag=1219<br> SIP from address: <a href="sip:alice@open-ims.test">sip:alice@open-ims.test</a><br> SIP tag: 1219<br> To: <<a href="sip:bob@open-ims.test">sip:bob@open-ims.test</a>>;tag=9ad9f37f74332c1e2a4045522a5bab87.f34e<br> SIP to address:
<a href="sip:bob@open-ims.test">sip:bob@open-ims.test</a><br> SIP tag: 9ad9f37f74332c1e2a4045522a5bab87.f34e<br> Via: SIP/2.0/UDP 192.168.2.141:5060;branch=z9hG4bKe935.85ea0cd2.0;rport=5060<br> Via: SIP/2.0/UDP 192.168.2.10:5062;branch=z9hG4bK1240af306e6063ca2275658fb7f8b4f9<br> Server: Sip EXpress router (2.1.0-dev1 OpenIMSCore (i386/linux))<br> Content-Length: 0<br> Warning: 392 192.168.2.1:5060 "Noisy feedback tells: pid=12954 req_src_ip=192.168.2.141 req_src_port=5060 in_uri=sip:bob@open-ims.test out_uri=sip:bob@open-ims.test via_cnt==2"<br></div><div class="yiv2054820065yqt9494029338"> </div><div class="yiv2054820065yqt9494029338">Previous thread is following:</div></span><div class="yiv2054820065yqt9494029338"><span><h1>[OpenIMSCore-CSCF] !P_is_registered()</h1><b>"Martínez García, Rebeca"</b> <a title="mailto:openimscore-cscf%40lists.berlios.de?Subject=Re%3A%20%5BOpenIMSCore-CSCF%5D%20%21P_is_registered%28%29&In-Reply-To=%3C697FA5D6BAA3BD47961272D9916B6A6E0EDA4C%40MADARRMAIL7.indra.es%3E" href="mailto:openimscore-cscf%40lists.berlios.de?Subject=Re%3A%20%5BOpenIMSCore-CSCF%5D%20%21P_is_registered%28%29&In-Reply-To=%3C697FA5D6BAA3BD47961272D9916B6A6E0EDA4C%40MADARRMAIL7.indra.es%3E" target="_blank" rel="nofollow" ymailto="mailto:openimscore-cscf%40lists.berlios.de?Subject=Re%3A%20%5BOpenIMSCore-CSCF%5D%20%21P_is_registered%28%29&In-Reply-To=%3C697FA5D6BAA3BD47961272D9916B6A6E0EDA4C%40MADARRMAIL7.indra.es%3E"><font color="#0066cc">remartinez at indra.es </font></a><br><i>Tue Jan 19 13:54:05 CET 2010</i> <ul style="padding-top: 0px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;
list-style-type: disc;"><li>Previous message: <a title="http://lists.berlios.de/pipermail/openimscore-cscf/2010-January/001971.html" href="http://lists.berlios.de/pipermail/openimscore-cscf/2010-January/001971.html" target="_blank" rel="nofollow"><font color="#0066cc">[OpenIMSCore-CSCF] !P_is_registered() </font></a></li><li>Next message: <a title="http://lists.berlios.de/pipermail/openimscore-cscf/2010-January/001973.html" href="http://lists.berlios.de/pipermail/openimscore-cscf/2010-January/001973.html" target="_blank" rel="nofollow"><font color="#0066cc">[OpenIMSCore-CSCF] p-cscf crash on: FIFO open for read failed > Too        many open files </font></a></li><li><b>Messages sorted by:</b> <a title="http://lists.berlios.de/pipermail/openimscore-cscf/2010-January/date.html#1972" href="http://lists.berlios.de/pipermail/openimscore-cscf/2010-January/date.html#1972" target="_blank" rel="nofollow"><font color="#0066cc">[ date ]</font></a>
<a title="http://lists.berlios.de/pipermail/openimscore-cscf/2010-January/thread.html#1972" href="http://lists.berlios.de/pipermail/openimscore-cscf/2010-January/thread.html#1972" target="_blank" rel="nofollow"><font color="#0066cc">[ thread ]</font></a> <a title="http://lists.berlios.de/pipermail/openimscore-cscf/2010-January/subject.html#1972" href="http://lists.berlios.de/pipermail/openimscore-cscf/2010-January/subject.html#1972" target="_blank" rel="nofollow"><font color="#0066cc">[ subject ]</font></a> <a title="http://lists.berlios.de/pipermail/openimscore-cscf/2010-January/author.html#1972" href="http://lists.berlios.de/pipermail/openimscore-cscf/2010-January/author.html#1972" target="_blank" rel="nofollow"><font color="#0066cc">[ author ]</font></a> </li></ul><div class="hr" style="margin: 5px 0px; padding: 0px; border: 1px solid rgb(204, 204, 204); height: 0px; line-height: 0; font-size: 0px;" contenteditable="false" readonly="true"></div> <pre>Hello Franz,
I was not aware of these initiatives and, as I have been following TISPAN recommendations all the time, I took a look at TS 182 025.
Nevertheless, we are not trying to implement a NGCN but to only develop a CNG. I will explain myself:
We had OpenIMSCore installed in 4 servers perfectly running and clients were able to register and call each other without problems
(we had it configured for clients to send the REGISTER message directly to the P-CSCF).
The next step in our testbed was to create a group of private clients behind a gateway (CNG) which connected to OpenIMSCore. So the scenario
is public clients (one machine at the moment) connect directly to P-CSCF and private clients do it via the CNG.
The development of the CNG has been fine until we tried to make work "CNG SIP Proxy/B2BUA" function (TS 183 003), which permits
internal calls. The most simple configuration is to make it work as a Proxy, which implies that when seeing a REGISTER
message it saves locally their location and forwards the message to the P-CSCF (the rest of messages are forwarded in a transparent fashion).
But the problem is not in the register process, because private clients register without problems... the problem is when calling
a public client. SER receives an INVITE and it forwards directly the message to the P-CSCF but it puts its Via.
Then the "cscf_get_ue_via" function inside the "P_is_registered()" one selects the first via (the one introduced by SER):
{
02197 struct via_body *vb=0;
02198
02199 if (msg->first_line.type==SIP_REQUEST) vb = cscf_get_first_via(msg,0);
02200 else vb = cscf_get_last_via(msg);
02201
02202 if (!vb) return 0;
02203
02204 if (vb->port == 0) vb->port=5060;
02205 return vb;
02206 }
and the P-CSCF rejects the INVITE because the "user is not registered".
Why does the Proxy-CSCF selects the first Via if it is a SIP REQUEST? (Just asking)
Thanks in advance,
Rebeca Martinez
</pre></span></div><div class="yiv2054820065yqt9494029338"><span>BR,</span></div><div class="yiv2054820065yqt9494029338"><span>Kaan</span></div><blockquote class="yiv2054820065yqt9494029338" style="margin-top: 0px; margin-bottom: 0px;"><div class="yiv2054820065ms__id28027" style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt; background-color: rgb(255, 255, 255);"><span></span> </div><div class="yiv2054820065ms__id28027" style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt; background-color: rgb(255, 255, 255);"><span></span> </div><div class="yiv2054820065ms__id28027" style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt; background-color: rgb(255, 255, 255);"><span></span> </div><span></span><div class="yiv2054820065ms__id28027" style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt; background-color: rgb(255, 255, 255);"> </div><div class="yiv2054820065ms__id28027" style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt; background-color: rgb(255, 255, 255);"> </div><div class="yiv2054820065ms__id28027" style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt; background-color: rgb(255, 255, 255);"> </div><div class="yiv2054820065qtdSeparateBR" style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt; background-color: rgb(255, 255, 255);"><br clear="none"><br clear="none"><br clear="none"> </div><div class="yiv2054820065yahoo_quoted" id="yiv2054820065yui_3_16_0_1_1401307675856_10967" style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt; display: block; background-color: rgb(255, 255, 255);"><div class="yiv2054820065ms__id28029" id="yiv2054820065yui_3_16_0_1_1401307675856_10966" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"><div class="yiv2054820065ms__id28030" id="yiv2054820065yui_3_16_0_1_1401307675856_10965" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"><div id="yiv2054820065yui_3_16_0_1_1401307675856_10964"><div id="yiv2054820065"><div id="yiv2054820065yui_3_16_0_1_1401307675856_10970"><blockquote style="margin-top: 0px; margin-bottom: 0px;"> <br clear="none"><div>,</div><div><br clear="none">
<br clear="all">
</div></blockquote></div></div></div></div></div></div></blockquote></div></div></div></div></div></div><br><br></div> </div> </div> </div></div>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>http://lists.opensips.org/cgi-bin/mailman/listinfo/users<br></blockquote></div><br></div></div></body></html>