<p dir="ltr">Hi,</p>
<p dir="ltr">what user agent are you using? IMSDroid or similar?<br>
Quick note: 3GPP SMS over IP (sent as SIP MESSAGE) is never direct, but always store & forward, so you need an SMSC...</p>
<p dir="ltr">Thanks,<br>
Carsten<br>
</p>
<div class="gmail_quote">Am 21.11.2015 6:01 nachm. schrieb "Thierry Luo" <<a href="mailto:langsir@yeah.net">langsir@yeah.net</a>>:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi All,<br>
<br>
I installed kamailio on Ubuntu as IMS pCSCF/iCSCF/sCSCF. REGISTER is fine,<br>
but when I tried to send a MESSAGE (SMS) from one user to another, it was<br>
always not successful. I captured IP packets on the server, and it seemed<br>
that the error was caused on pCSCF.<br>
<br>
User1 and User2 are both behind their NAT network.  Suppose User1's private<br>
IP is Private_IP1, and User1's public IP (on router) is Public_IP1, and<br>
User2's private and public IPs are Private_IP2 and Public_IP2:<br>
<br>
User1                                pCSCF<br>
iCSCF                                     sCSCF<br>
user2<br>
               MESSAGE<br>
            ----------------><br>
                                                                   MESSAGE<br>
<br>
---------------------><br>
<br>
MESSAGE<br>
<br>
-------------------><br>
<br>
MESSAGE<br>
<br>
<-----------------------------------------------------<br>
<br>
MESSAGE<br>
<br>
----------------------------------------------------------------------------<br>
----><br>
<br>
<br>
Unfortunately, from the captured data on the server, in the last step, the<br>
MESSAGE was sent to the Private_IP2 of User2. It should be sent to the<br>
Public_IP2. Of course, the datagram with the destination of Private_IP2<br>
cannot reach User2 successfully.<br>
<br>
Please help analyze why the pCSCF sent the MESSAGE packet to User2's private<br>
IP instead of public IP. The configuration file was attached for reference.<br>
<br>
<br>
BR.<br>
Thierry Luo<br>
<br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div>