Thanks.
I dont have control over the host I need to register to, so I cant unfortunately retrieve the luuid.

Is there a way to lookup in the uacreg table with the IP ? I could only find uac_reg_lookup, but it required the luuid. I've worked around that adding an entry into address, but I am not really satisfied with this method, 

Regards, 
J

On Thu, Jun 15, 2017 at 4:24 AM, Daniel Tryba <d.tryba@pocos.nl> wrote:
On Wed, Jun 14, 2017 at 05:28:35PM -0400, Jean Cérien wrote:
> I have the registration working, but when my kamailio receives an INVITE, I
> am a bit lost regarding what to do. in my route(AUTH), I am trying to check
> uac_reg_status, but no success.

> and the invite arriving
> INVITE sip:1100@192.168.2.228 SIP/2.0
>
> Any help will be greatly appreciated

Either accept all INVITEs from the IPs you are registering, use
something like db_aliases to map 1100 to your known username or change
the setup of the PBX you are registering to to not use the dialed nummer
in the R-URI but the username (it is an asterisk so it is the difference
between Dial(SIP/${EXTEN}@username) and Dial(SIP/username))

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users