This is a simple test for poi in sccp_create_sccp_addr.<br>I also try to test gti, but I always get Segmentation fault. I use gdb and find it stops in line 512. I can print the value of sock->gti_len, i don't know what's wrong.<br>

<br><br> 512         gti = msgb_put(msg, sock->gti_len);<br> 513         memcpy(gti, sock->gti, sock->gti_len);<br><br><br clear="all">Wenbin WU<br>Uppsala University, Sweden<br>
<br><br><div class="gmail_quote">On Wed, Nov 17, 2010 at 8:33 AM, Wenbin Wu <span dir="ltr"><<a href="mailto:wenbin87@gmail.com">wenbin87@gmail.com</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;">

Hi Holger,<br>
<br>
I will try to do this next week, since I have something to do this week. Thanks for noticing.<br>
<div><div></div><div class="h5"><br>
On 2010-11-16, at 下午9:02, Holger Hans Peter Freyther wrote:<br>
<br>
> On 10/21/2010 10:23 AM, Wenbin Wu wrote:<br>
>> Hello,<br>
><br>
> Hi,<br>
><br>
> it would be nice if you could test the latest version of libosmo-sccp. I have<br>
> made the sccp_create_addr public[1], I have changed the creation of the<br>
> address to set the size correctly[2] and I have used the return value of the<br>
> sccp_create_addr[3] to update the variable_called and such.<br>
><br>
> The added test case in [2] is still only checking address creation with only a<br>
> SSN. It would be nice if any of you in sweden could add a test case for POI.<br>
><br>
> I hope you will be able to try this.<br>
>       z.<br>
><br>
><br>
><br>
><br>
><br>
><br>
> [1]<br>
> <a href="http://git.osmocom.org/gitweb?p=libosmo-sccp.git;a=commit;h=ec5409ca4f46c30813c7d213d15880a691e8e91f" target="_blank">http://git.osmocom.org/gitweb?p=libosmo-sccp.git;a=commit;h=ec5409ca4f46c30813c7d213d15880a691e8e91f</a><br>


> [2]<br>
> <a href="http://git.osmocom.org/gitweb?p=libosmo-sccp.git;a=commit;h=13cd1199b92b98241d594c02873cd80a218a80ac" target="_blank">http://git.osmocom.org/gitweb?p=libosmo-sccp.git;a=commit;h=13cd1199b92b98241d594c02873cd80a218a80ac</a><br>


> [3]<br>
> <a href="http://git.osmocom.org/gitweb?p=libosmo-sccp.git;a=commit;h=6ecf8104c0e2fd6e01402c001160349e1810193a" target="_blank">http://git.osmocom.org/gitweb?p=libosmo-sccp.git;a=commit;h=6ecf8104c0e2fd6e01402c001160349e1810193a</a><br>


<br>
</div></div></blockquote></div><br>