Hi,

Fred's mid register example could be a starting point 
https://github.com/fredposner/scripts/blob/master/kamailio/mid-registrar.cfg

So you forward your registrations to your pbx. If I understand you right. 

Needs tls but for starting and understanding plain communication helps you with tools like sngrep / tcpdump etc. 

Then you can add tls 

Hope that helps 

jaflong jaflong <jaflong@yandex.com> schrieb am Fr., 25. März 2022, 18:06:
Hi Kamailio community,
 
Any advise on how to archive this
 
                      sip.mydomain.com            sip.mypbx.com
sip_phone ========sip/tls========> KAMAILIO ===========sip/udp========> PBX
 
 
sip_phone should register to Kamilio with tls
Kamailio should proxy register message to PBX with udp
sip_phone invites should be proxied to PBX
 
in sip_client setting he will point to sip.mydomain.com as his server
 
Regards
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users