On Thu, May 12, 2016 at 03:54:12PM +0200, Sébastien Brice wrote:
> the bad thing is once the phones get registered with non-routable ip
> (like in the attached picture) trying to INVITE them directly by
> requesting public_kamailio_ip result in non-working situation.
> 
> how should I rewrite my dst_domain when registring in a way INVITE
> triggers to the local kamailio.
> 
> My local kamailio runs with the listen udp:private_local_kamailio
> advertise udp:public_local_kamailio

I'm not sure but I think you might want to use Path to resolve this.

When a phone REGISTERs, use
http://www.kamailio.org/docs/modules/stable/modules/path.html#idp3019976
and relay.

On the public kamailio enable path support in the registrar module:
http://www.kamailio.org/docs/modules/stable/modules/registrar.html#idp19423000

You might have to parse headers during INVITE to the natted phones to
figure out the received header with the local adres.


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to