jinzigui / imsdroid

Automatically exported from code.google.com/p/imsdroid
0 stars 0 forks source link

IMSdroid not working with OpenIMSCore on public Internet #25

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
For all of you which try IMSdroid  with OpenIMSCore on public Internet:
It does not work if NAT is enabled on OpenIMSCore.
There is some code in OpenIMSCore missing which leads to SDP port manipulations 
even if a public IP is used. 

This has to be fixed in OpenIMSCore.

Original issue reported on code.google.com by efra...@gmail.com on 7 Aug 2010 at 5:07

GoogleCodeExporter commented 9 years ago

Original comment by boss...@yahoo.fr on 7 Aug 2010 at 3:22

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Do you know which file should be patched in OIC?

Original comment by boss...@yahoo.fr on 9 Aug 2010 at 5:28

GoogleCodeExporter commented 9 years ago
I have already posted the issue on the "openimscore-users@lists.berlios.de" 
mailing list as follows:

There is some code missing.
In module sdp_util.c function P_SDP_manipulate I found:

    /* check the sdp if it has a 1918 */
    if(1)   {
        ... /* code to manipulate SDP */
        } 
    else {          
        /* using public ip */
        ... /* code for leaving SDP untouched */
        }

The "if(1)" clause causes always to do some SDP manipulation irrespective of 
the nature of the IP address.
So I guess that I am the first one using OpenIMSCore on public Internet with 
clients using a public IP and NAT-handling enabled on OpenIMSCore.

Original comment by efra...@gmail.com on 9 Aug 2010 at 6:13

GoogleCodeExporter commented 9 years ago

Original comment by boss...@yahoo.fr on 23 Jul 2011 at 5:05