<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello,</p>
<p>it is not clear to me where you got stuck ... normally uac remote
registration is done at startup. If you want to do it when an
incoming register is processed, then you can enable (or disable)
it via RPC, you can use jsonrpc_exec() from jsonrpcs module:<br>
</p>
<p> -
<a class="moz-txt-link-freetext" href="https://www.kamailio.org/docs/modules/stable/modules/jsonrpcs.html#jsonrpcs.f.jsonrpc_exec">https://www.kamailio.org/docs/modules/stable/modules/jsonrpcs.html#jsonrpcs.f.jsonrpc_exec</a><br>
</p>
To help you more, you have to provide more details about what
exactly happens with what you try. Eventually grab the pcap of the
sip traffic as well as you can run with debug=3 and look at syslog
messages.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 03.01.18 10:59,
<a class="moz-txt-link-abbreviated" href="mailto:Hildah.Ochieng@deutschebahn.com">Hildah.Ochieng@deutschebahn.com</a> wrote:<br>
</div>
<blockquote type="cite"
cite="mid:OFB4DF43F8.C746716D-ONC125820A.003631EB-C125820A.0036DBB9@deutschebahn.com">
<p><font face="sans-serif" size="2">Dear Kamailio experts,</font><br>
<br>
<font face="sans-serif" size="2">I would like to able to
register one kamailio (localuser) in another another kamailio
(remoteuser) when the jitsi sip </font><br>
<font face="sans-serif" size="2">account "localuser@localdomain"
is online. Using the UAC module for remote registration the
uacreg table's l_username and </font><br>
<font face="sans-serif" size="2">l_domain attributes are set to
refer to the local kamailio while the r_username and r_domain
attributes refer to the remote </font><br>
<font face="sans-serif" size="2">kamailio. I would appreciate
your advice on the missing piece of the puzzle.</font><br>
<br>
<font face="sans-serif" size="2">Following is my configuration
of the "local" kamailio. The "remote" kamailio.cfg is
unchanged.</font><br>
<br>
<font face="sans-serif" size="2">/etc/kamailio/kamailio.cfg</font><br>
<br>
<font face="sans-serif" size="2">loadmodule "db_text.so"</font><br>
<font face="sans-serif" size="2">loadmodule "uac.so"</font><br>
<br>
<font face="sans-serif" size="2">modparam("uac",
"reg_timer_interval", 30)</font><br>
<font face="sans-serif" size="2">modparam("uac",
"reg_retry_interval", 60)</font><br>
<font face="sans-serif" size="2">modparam("uac",
"reg_contact_addr","xx.xx.xx.xx:5060")</font><tt><font
size="3"><br>
</font></tt><font face="sans-serif" size="2">modparam("uac",
"reg_db_table", "uacreg")</font><br>
<font face="sans-serif" size="2">modparam("uac", "reg_db_url",
"text:///etc/kamailio/dbtext")</font><br>
<br>
<br>
<font face="sans-serif" size="2">/etc/kamailio/dbtext/uacreg</font><br>
<br>
<font face="sans-serif" size="2">l_uuid(string)
l_username(string) l_domain(string) r_username(string)
r_domain(string) realm(string) auth_username(string) </font><br>
<font face="sans-serif" size="2">auth_password(string)
auth_proxy(string) expires(int) flags(int) reg_delay(int)</font><br>
<font face="sans-serif" size="2">11111111:localuser:localdomain:remoteuser:remotedomain:remoteuser::::360:4:30</font><br>
<br>
<font face="sans-serif" size="2"><br>
Thanks<br>
Hildah</font><br>
<br>
</p>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
Kamailio World Conference - May 14-16, 2018 - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
</body>
</html>