<div style="line-height:1.4">Hi,<br><br>I disable the dispatcher module, so i commented out the call 'isdsruriset()'.<br><br><br>Thierry<br><br><br></div>On 2015-11-24 20:32 ,  <a href="mailto:carsten@ng-voice.com">Carsten Bock</a> Wrote: <br><br><blockquote id="ntes-andriodmail-quote" style="margin:0px;padding-left:1ex;border-left:#ccc 1px solid">Hi,
<br>
<br>you commented out some lines, that would handle NAT cases:
<br>
<br># LYH
<br>#if(!isdsturiset()) {
<br># handle_ruri_alias();
<br># if ($rc == 1) {
<br># setflag(FLT_NAT);
<br># }
<br>#}
<br>
<br>Why?
<br>
<br>Thanks,
<br>Carsten
<br>
<br>2015-11-23 5:21 GMT+01:00 Thierry Luo <langsir@yeah.net>:
<br>> Hi Carsten,
<br>>
<br>>
<br>>
<br>> Thanks for your reply.
<br>>
<br>>
<br>>
<br>> I’m using IMSDroid to send SIP MESSAGE to Boche IMS Client (Windows). It’s
<br>> not actually SMS. It’s just SIP MESSAGE from one SIP user to another SIP
<br>> user, without any PSTN or Mobile Network users included in the scenario.
<br>>
<br>>
<br>>
<br>> I doubt it is the problem of CFG file. I did not see any route logics of
<br>> processing MESSAGE.
<br>>
<br>>
<br>>
<br>> Thierry Luo
<br>>
<br>>
<br>>
<br>> From: sr-users-bounces@lists.sip-router.org
<br>> [mailto:sr-users-bounces@lists.sip-router.org] On Behalf Of Carsten Bock
<br>> Sent: Monday, November 23, 2015 07:13
<br>> To: SR-Users <sr-users@lists.sip-router.org>
<br>> Subject: Re: [SR-Users] MESSAGE is not successfull in Kamailio IMS
<br>>
<br>>
<br>>
<br>> Hi,
<br>>
<br>> what user agent are you using? IMSDroid or similar?
<br>> Quick note: 3GPP SMS over IP (sent as SIP MESSAGE) is never direct, but
<br>> always store & forward, so you need an SMSC...
<br>>
<br>> Thanks,
<br>> Carsten
<br>>
<br>> Am 21.11.2015 6:01 nachm. schrieb "Thierry Luo" <langsir@yeah.net>:
<br>>
<br>> 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>> sr-users@lists.sip-router.org
<br>> <a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
<br>
<br>
<br>
<br>-- 
<br>Carsten Bock
<br>CEO (Geschäftsführer)
<br>
<br>ng-voice GmbH
<br>Schomburgstr. 80
<br>D-22767 Hamburg / Germany
<br>
<br><a href="http://www.ng-voice.com">http://www.ng-voice.com</a>
<br>mailto:carsten@ng-voice.com
<br>
<br>Office +49 40 5247593-0
<br>Fax +49 40 5247593-99
<br>
<br>Sitz der Gesellschaft: Hamburg
<br>Registergericht: Amtsgericht Hamburg, HRB 120189
<br>Geschäftsführer: Carsten Bock
<br>Ust-ID: DE279344284
<br>
<br>Hier finden Sie unsere handelsrechtlichen Pflichtangaben:
<br><a href="http://www.ng-voice.com/imprint/">http://www.ng-voice.com/imprint/</a>
<br></blockquote><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>