[SR-Users] MESSAGE is not successfull in Kamailio IMS

Carsten Bock carsten at ng-voice.com
Tue Nov 24 13:32:08 CET 2015


Hi,

you commented out some lines, that would handle NAT cases:

# LYH
#if(!isdsturiset()) {
# handle_ruri_alias();
# if ($rc == 1) {
# setflag(FLT_NAT);
# }
#}

Why?

Thanks,
Carsten

2015-11-23 5:21 GMT+01:00 Thierry Luo <langsir at yeah.net>:
> Hi Carsten,
>
>
>
> Thanks for your reply.
>
>
>
> 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.
>
>
>
> I doubt it is the problem of CFG file. I did not see any route logics of
> processing MESSAGE.
>
>
>
> Thierry Luo
>
>
>
> From: sr-users-bounces at lists.sip-router.org
> [mailto:sr-users-bounces at lists.sip-router.org] On Behalf Of Carsten Bock
> Sent: Monday, November 23, 2015 07:13
> To: SR-Users <sr-users at lists.sip-router.org>
> Subject: Re: [SR-Users] MESSAGE is not successfull in Kamailio IMS
>
>
>
> Hi,
>
> what user agent are you using? IMSDroid or similar?
> Quick note: 3GPP SMS over IP (sent as SIP MESSAGE) is never direct, but
> always store & forward, so you need an SMSC...
>
> Thanks,
> Carsten
>
> Am 21.11.2015 6:01 nachm. schrieb "Thierry Luo" <langsir at yeah.net>:
>
> Hi All,
>
> I installed kamailio on Ubuntu as IMS pCSCF/iCSCF/sCSCF. REGISTER is fine,
> but when I tried to send a MESSAGE (SMS) from one user to another, it was
> always not successful. I captured IP packets on the server, and it seemed
> that the error was caused on pCSCF.
>
> User1 and User2 are both behind their NAT network.  Suppose User1's private
> IP is Private_IP1, and User1's public IP (on router) is Public_IP1, and
> User2's private and public IPs are Private_IP2 and Public_IP2:
>
> User1                                pCSCF
> iCSCF                                     sCSCF
> user2
>                MESSAGE
>             ---------------->
>                                                                    MESSAGE
>
> --------------------->
>
> MESSAGE
>
> ------------------->
>
> MESSAGE
>
> <-----------------------------------------------------
>
> MESSAGE
>
> ----------------------------------------------------------------------------
> ---->
>
>
> Unfortunately, from the captured data on the server, in the last step, the
> MESSAGE was sent to the Private_IP2 of User2. It should be sent to the
> Public_IP2. Of course, the datagram with the destination of Private_IP2
> cannot reach User2 successfully.
>
> Please help analyze why the pCSCF sent the MESSAGE packet to User2's private
> IP instead of public IP. The configuration file was attached for reference.
>
>
> BR.
> Thierry Luo
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users



-- 
Carsten Bock
CEO (Geschäftsführer)

ng-voice GmbH
Schomburgstr. 80
D-22767 Hamburg / Germany

http://www.ng-voice.com
mailto:carsten at ng-voice.com

Office +49 40 5247593-0
Fax +49 40 5247593-99

Sitz der Gesellschaft: Hamburg
Registergericht: Amtsgericht Hamburg, HRB 120189
Geschäftsführer: Carsten Bock
Ust-ID: DE279344284

Hier finden Sie unsere handelsrechtlichen Pflichtangaben:
http://www.ng-voice.com/imprint/



More information about the sr-users mailing list