<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:宋体;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@宋体";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.EmailStyle19
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>Hi Carsten,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>Thanks for your reply.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>I’m using IMSDroid to send SIP MESSAGE to Boche IMS Client (Windows). It’s not actually SMS. It’s just SIP MESSAGE from one SIP user to another SIP user, without any PSTN or Mobile Network users included in the scenario.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>I doubt it is the problem of CFG file. I did not see any route logics of processing MESSAGE.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>Thierry Luo<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>From:</span></b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> sr-users-bounces@lists.sip-router.org [mailto:sr-users-bounces@lists.sip-router.org] <b>On Behalf Of </b>Carsten Bock<br><b>Sent:</b> Monday, November 23, 2015 07:13<br><b>To:</b> SR-Users <sr-users@lists.sip-router.org><br><b>Subject:</b> Re: [SR-Users] MESSAGE is not successfull in Kamailio IMS<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p>Hi,<o:p></o:p></p><p>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...<o:p></o:p></p><p>Thanks,<br>Carsten<o:p></o:p></p><div><p class=MsoNormal>Am 21.11.2015 6:01 nachm. schrieb "Thierry Luo" <<a href="mailto:langsir@yeah.net">langsir@yeah.net</a>>:<o:p></o:p></p><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt'><p class=MsoNormal style='margin-bottom:12.0pt'>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" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><o:p></o:p></p></blockquote></div></div></body></html>