<html><body>
<p>Chris,<br>
<br>
Isn't that what fromuser and fromdomain are for? These effect the "Digest" line. I use these in my friend entry to authenticate with FWD as well as other providers.<br>
<br>
Bill Doll Jr<br>
<br>
<img src="cid:10__=07BBE40ADFCCAE018f9e8a93d@bigskytech.com" width="16" height="16" alt="Inactive hide details for "Chris A. Icide" <chris@netgeeks.net>">"Chris A. Icide" <chris@netgeeks.net><br>
<br>
<br>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr valign="top"><td style="background-image:url(cid:20__=07BBE40ADFCCAE018f9e8a93d@bigskytech.com); background-repeat: no-repeat; " width="40%">
<ul>
<ul>
<ul>
<ul><b><font size="2">"Chris A. Icide" <chris@netgeeks.net></font></b><font size="2"> </font><br>
<font size="2">Sent by: asterisk-users-admin@lists.digium.com</font>
<p><font size="2">05/19/2004 09:28 AM</font>
<table border="1">
<tr valign="top"><td width="168" bgcolor="#FFFFFF"><div align="center"><font size="2">Please respond to<br>
asterisk-users@lists.digium.com</font></div></td></tr>
</table>
</ul>
</ul>
</ul>
</ul>
</td><td width="60%">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr valign="top"><td width="1%" valign="middle"><img src="cid:30__=07BBE40ADFCCAE018f9e8a93d@bigskytech.com" border="0" height="1" width="58" alt=""><br>
<div align="right"><font size="2">To</font></div></td><td width="100%"><img src="cid:30__=07BBE40ADFCCAE018f9e8a93d@bigskytech.com" border="0" height="1" width="1" alt=""><br>
<font size="2">asterisk-users@lists.digium.com</font></td></tr>
<tr valign="top"><td width="1%" valign="middle"><img src="cid:30__=07BBE40ADFCCAE018f9e8a93d@bigskytech.com" border="0" height="1" width="58" alt=""><br>
<div align="right"><font size="2">cc</font></div></td><td width="100%"><img src="cid:30__=07BBE40ADFCCAE018f9e8a93d@bigskytech.com" border="0" height="1" width="1" alt=""><br>
</td></tr>
<tr valign="top"><td width="1%" valign="middle"><img src="cid:30__=07BBE40ADFCCAE018f9e8a93d@bigskytech.com" border="0" height="1" width="58" alt=""><br>
<div align="right"><font size="2">Subject</font></div></td><td width="100%"><img src="cid:30__=07BBE40ADFCCAE018f9e8a93d@bigskytech.com" border="0" height="1" width="1" alt=""><br>
<font size="2">Re: R: [Asterisk-Users] Configure asterisk for outgoing.. need authuser parameter?</font></td></tr>
</table>
<table border="0" cellspacing="0" cellpadding="0">
<tr valign="top"><td width="58"><img src="cid:30__=07BBE40ADFCCAE018f9e8a93d@bigskytech.com" border="0" height="1" width="1" alt=""></td><td width="336"><img src="cid:30__=07BBE40ADFCCAE018f9e8a93d@bigskytech.com" border="0" height="1" width="1" alt=""></td></tr>
</table>
</td></tr>
</table>
<br>
<tt>JT,<br>
<br>
I've not yet tested (played) with setting the realm yet, but I plan <br>
to. However, one would think that realm should be a per-entry setting <br>
versus a global setting, or perhaps both.<br>
<br>
The problem that really arises is when you try to use asterisk as a local <br>
UA "proxy". I don't mean proxy in the official term, but just as a <br>
description of what it is doing. In other words, you have several accounts <br>
which are some sort of gateway service, be it PSTN, or some other <br>
gateway. You would normally register a specific UA to these (ata-18X, <br>
sipura, cisco 79xx, etc.). However to "simplify" the end user experience, <br>
you stick an asterisk server in front of the UA devices and allow it to <br>
route calls as needed freeing the UA user from having to remember what line <br>
to dial out on for what, etc.<br>
<br>
In this case, we have an issue that may come up, where we need to register <br>
with the service as a specific realm. Now as you well know, the register <br>
statement doesn't support alot of the things it should, including being <br>
able to set realm per register.<br>
<br>
I've always thought there needed to be a much better format for register <br>
that currently exists.<br>
<br>
perhaps type=x (user|peer|friend|register)<br>
<br>
forgive me if I'm somewhat out of date on sip.conf, as I've been somewhat <br>
busy, but there are a few other things that should be available (if it <br>
hasn't been added recently) to both a register in this format as well as <br>
the normal SIP UA definitions:<br>
<br>
bindaddr=a.b.c.d (defines the interface IP to register or accept traffic <br>
for this client/server)<br>
realm= (per entry realm definition)<br>
shared=x (no|yes\numeric value)<br>
<br>
The shared statement would of course require significant changes (perhaps <br>
Olle has done this is chan_sip2), but this would define whether or not <br>
multiple UA's are able to register to the same sip entry and perhaps limit <br>
the number of shared registrations - this of course to allow asterisk in <br>
the future to support notify/subscribe shared line presentation)<br>
<br>
Anyway, I'm sure this ground has been covered many times, but just in case <br>
one of these somehow has not been brought up, I figured I would give the <br>
topic a bump.<br>
<br>
-Chris<br>
<br>
<br>
On 01:00 AM 5/19/2004, John Todd wrote:<br>
>Tony -<br>
> For what it's worth, I haven't been able to make the "realm="<br>
>setting do diddly-squat. I think it's broken, but I don't have time<br>
>to test enough to put useful/valid data into the bugtracker.<br>
><br>
> If anyone can show me a "Digest" line that has a realm= that was<br>
>changed with the global realm= setting in the current CVS, I'm<br>
>interested in learning the syntax you used...<br>
><br>
>JT<br>
<br>
_______________________________________________<br>
Asterisk-Users mailing list<br>
Asterisk-Users@lists.digium.com<br>
</tt><tt><a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a></tt><tt><br>
To UNSUBSCRIBE or update options visit:<br>
</tt><tt><a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a></tt><tt><br>
</tt><br>
</body></html>