Hi Holger,<br><br>We have wrapped the libsccp.a to our C node so can you let us know how it can be useful to write C Node as we run the code without wrapping the libsccp.a and it works fine.<br><br>We mean how can we make the best use of it !<br>
<br><div class="gmail_quote">On Thu, Oct 14, 2010 at 10:24 AM, Holger Hans Peter Freyther <span dir="ltr"><<a href="mailto:holger@freyther.de">holger@freyther.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On 10/14/2010 10:08 AM, tejas oza wrote:<br>
> Hi Holger,<br>
><br>
> We managed to send the paging request from MSC to OpenBSC and we can track it<br>
> on wireshark that the packet format is correct but we are wonder if we should<br>
> expect any response from OpenBSC to MSC for paging request and OpenBSC code<br>
> seems to be returning -1 as per our understanding.<br>
<br>
</div>Theory:<br>
After you sent the Paging Request the BSC will start to page the subscriber.<br>
If the Mobile Stations sees the Paging Request it will open a channel with the<br>
BSC, the BSC will forward the Paging Response to the MSC on a new SCCP connection.<br>
Ironically the code you are using has a bsc_msc_ip.c:test_msc that is called<br>
when you send the ID_GET request. This will send you the data of a paging<br>
response, so you could start dealing with connections while we figure out the<br>
current issue.<br>
<br>
Issue:<br>
You are right the package looks good. You will need to go to the code to<br>
figure out what is wrong. You should set a breakpoint in ipaccess_read_msg<br>
(src/input/ipaccess.c). It will try to receive the header and then it will<br>
receive the data. In the other mail I have indicated that you need to send<br>
header + data as one packet (instead of two writes for header and data).<br>
<br>
You can use gdb to step through these lines of code and you should see the<br>
place where it returns NULL.<br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>Thanks & Regards<br><br>Tejas  Oza<br>