<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello,<br>
<br>
On 3/7/11 12:51 AM, Andy Lippitt wrote:
<blockquote cite="mid:057401cbdc59$6bfcc9c0$43f65d40$@com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 12 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Hello all,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I've read as many of the asterisk balancing
threads as I can find. Either my situation is unusual or I
simply haven't understood anything I've read.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">In short, I'm building an web/phone mashup
which uses Asterisk's AGI to get its work done. My only users
are on the PSTN connected to Asterisk through a SIP trunk
provider. So presently, in and out through the same trunk,
apps live on the single Asterisk box.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">My goal is scaling and failover. I don't
have any need for cross talk or transfers between the asterisk
instances, and the algo's in dispatcher seem fine. It seems
to me that I should be setting the sip-router up a replacement
for the existing peer in Asterisk. What leaves me scratching
my head is how I then register the sip-router with the
upstream provider. Alternatively, if I use the sip-router as
an outboundproxy from asterisk (which seems like it's going to
take some hacking to make this work in 1.4), doesn't this now
mean I have multiple UAC's trying to register for the same
name?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Can someone set me on the right track?</p>
</div>
</blockquote>
the recommended way is to get IP-based authentication and peering
with your provider, in this way you don't need to authenticate calls
out neither send registrations - kamailio/ser is a proxy at its
core.<br>
<br>
The alternative is to use uac module, beware of its limitations
regarding authentication:<br>
<a class="moz-txt-link-freetext" href="http://kamailio.org/docs/modules/stable/modules_k/uac.html">http://kamailio.org/docs/modules/stable/modules_k/uac.html</a><br>
<br>
In case you still need a b2bua-like interaction with the provider,
see our related project - sip express media server (sems):
<a class="moz-txt-link-freetext" href="http://iptel.org/sems">http://iptel.org/sems</a> - the sources are in the same git repository
hosted at sip-router.org<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<blockquote cite="mid:057401cbdc59$6bfcc9c0$43f65d40$@com"
type="cite">
<div class="WordSection1">
<p class="MsoNormal"><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal">Andy Lippitt<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.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-freetext" href="http://www.asipto.com">http://www.asipto.com</a></pre>
</body>
</html>