<DIV>Hi Folks,</DIV>
<DIV> </DIV>
<DIV>I am newbie to asterisk. Recentely I have installed asterisk on Linux Fedora 2 box. After reading some document, I tried to configure the server. </DIV>
<DIV> </DIV>
<DIV>When I connect to our server, SIP user-agent shows that I am logged in. But it doesn't show my system(client) IP when I issue command at astrisk CLI. The O/P is as below.</DIV>
<DIV> </DIV>
<DIV>*CLI> sip show peers<BR>Name/username Host Mask Port Status<BR>2001/2001 (Unspecified) (D) 255.255.255.255 0 UNKNOWN<BR>2000/2000 (Unspecified) (D) 255.255.255.255 0 UNKNOWN<BR></DIV>
<DIV>I am pasting <STRONG>sip.conf</STRONG> & <STRONG>extension.conf</STRONG></DIV>
<DIV><STRONG></STRONG> </DIV>
<DIV><STRONG><EM>sip.conf</EM></STRONG></DIV>
<DIV>[general]<BR>port = 5060<BR>bindaddr = 0.0.0.0<BR>context = INVALID<BR>;Autocreatepeer= yes</DIV>
<DIV> </DIV>
<DIV>[2000]</DIV>
<DIV>type=friend<BR>username=2000<BR>secret=2000<BR>host=dynamic<BR>context=from-sip<BR>mailbox=100<BR>canreinvite=no<BR>qualify=300<BR>nat=no</DIV>
<DIV> </DIV>
<DIV>[2001]</DIV>
<DIV>type=friend<BR>username=2001<BR>secret=2001<BR>host=dynamic<BR>context=from-sip<BR>mailbox=100<BR>canreinvite=no<BR>qualify=300<BR>nat=no</DIV>
<DIV> </DIV>
<DIV><STRONG><EM>extensions.conf</EM></STRONG></DIV>
<DIV>[globals]<BR>CONSOLE=Console/dsp<BR>;CONSOLE=Zap/1<BR>;CONSOLE=Phone/phone0<BR>IAXINFO=guest<BR>;IAXINFO=myuser:mypass<BR>TRUNK=Zap/g2<BR>TRUNKMSD=1<BR>;TRUNK=IAX2/user:pass@provider</DIV>
<DIV>[bogon-calls]</DIV>
<DIV>exten => _.,1,Congestion</DIV>
<DIV><BR>[from-sip]</DIV>
<DIV>exten => 2000,1,Dial(SIP/2000,20)<BR>exten => 2000,2,Voicemail(u${EXTEN})<BR>exten => 2000,3,Hangup<BR>exten => 2000,102,Voicemail(b${EXTEN})<BR>exten => 2000,103,Hangup</DIV>
<DIV>exten => 2001,1,Dial(SIP/2001,20)<BR>exten => 2001,2,Voicemail(u${EXTEN})<BR>exten => 2001,3,Hangup<BR>exten => 2001,102,Voicemail(b${EXTEN})<BR>exten => 2001,103,Hangup</DIV>
<DIV>exten => 2999,1,VoicemailMain(${CALLERIDNUM})<BR></DIV>
<DIV>Immediate help is highly appreciated.</DIV>
<DIV> </DIV>
<DIV>Thank you,</DIV>
<DIV>Mandar</DIV><p><font face=arial size=-1>
<a href="http://in.rd.yahoo.com/specials/mailtg/*http://yahoo.shaadi.com/india-matrimony/" target="_blank">
<b>Yahoo! India Matrimony</a>:</b> Find your partner
<a href="http://in.rd.yahoo.com/specials/mailtg2/*http://yahoo.shaadi.com/india-matrimony/community.php" target="_blank">online</a>.</font>