<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.5346.5" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=Tahoma color=#800000 size=2>I have two SIP clients defined in
sip.conf, as follows:</FONT></DIV>
<DIV><FONT face=Tahoma color=#800000 size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2>
[dave]<BR>
<STRONG>username=dave<BR></STRONG>
type=friend<BR> secret=dave<BR>
host=dynamic<BR> context=local<BR>
accountcode=deskoptional</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2>
[dave-laptop]<BR>
<STRONG>username=dave</STRONG><BR>
type=friend<BR> secret=dave<BR>
host=dynamic<BR> context=local<BR>
accountcode=deskoptional</FONT></DIV>
<DIV><FONT face=Tahoma color=#800000 size=2></FONT> </DIV>
<DIV><FONT face=Tahoma color=#800000 size=2>I want to refer to the username
field in extensions.conf, but cannot find a function to do it. I know
Asterisk can see this value, because both "SIP SHOW PEER dave" and "SIP SHOW
PEER dave-laptop" display the desired value under "Def. Username".</FONT></DIV>
<DIV><FONT face=Tahoma color=#800000 size=2></FONT> </DIV>
<DIV><FONT face=Tahoma color=#800000 size=2>PS: I am new to Asterisk and this
newsgroup, so a cc to my email address (nntp at deskoptional.com) would be
appreciated.</FONT></DIV>
<DIV><FONT face=Tahoma color=#800000 size=2></FONT> </DIV>
<DIV><FONT face=Tahoma color=#800000 size=2></FONT> </DIV></BODY></HTML>