<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=windows-1252"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello,<br>
<br>
On 1/13/10 11:22 AM, Andrey Utkin wrote:
<blockquote
 cite="mid:vmime.4b4d9ed9.b29.c22fda84d3b2098@wildix-zarafa.wildix.com"
 type="cite">
  <meta name="Generator" content="Zarafa WebAccess v6.30.1-16192">
  <meta http-equiv="Content-Type"
 content="text/html; charset=windows-1252">
  <title>Outgoing registrations</title>
  <style type="text/css">
      body
      {
        font-family: Arial, Verdana, Sans-Serif;
        font-size: 12px;
        padding: 5px 5px 5px 5px;
        margin: 0px;
        border-style: none;
        background-color: #ffffff;
      }

      p, ul, li
      {
        margin-top: 0px;
        margin-bottom: 0px;
      }
  </style>
  <p>How do you make outgoing registrations to sip providers' accounts?</p>
  <p>I haven't found Kamailio functionality like this, so looks this
requires some b2bua usage?</p>
  <p>Is there some other way?</p>
</blockquote>
I just committed in master branch to the uac module this functionality.<br>
<br>
you have to create uacreg table (see top of uac_reg.c file for now to
get the sql) and fill the records. Then you have to set the reg_db_uri
and reg_contact_addr in cfg:<br>
<a class="moz-txt-link-freetext" href="http://sip-router.org/docbook/sip-router/branch/master/modules_k/uac/uac.html#reg-db-url-id">http://sip-router.org/docbook/sip-router/branch/master/modules_k/uac/uac.html#reg-db-url-id</a><br>
<br>
Populate then one record for each registration you want to do -- there
are attributes for local user and remote user (l_ and r_). l_uuid must
be unique across all registrations, being used to identify contact
address in replies and incoming invites.<br>
<br>
Testing and feedback is very appreciated. The module should run with
kamailio_3.0 branch as well, just copy the module there.<br>
<br>
Cheers,<br>
Daniel<br>
<pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
* <a class="moz-txt-link-freetext" href="http://www.asipto.com/">http://www.asipto.com/</a>
</pre>
</body>
</html>