<div dir="ltr">Hi all,<div><br></div><div style>   I want to two sip clients connect through Asterisk in local network for testing. My sip.conf file looks like this </div><div style><br></div><div style> [general]</div><div>
context=internal</div><div>allowguest=no</div><div>allowoverlap=no</div><div>bindport=5060</div><div>bindaddr=0.0.0.0</div><div>srvlookup=no</div><div>disallow=all</div><div>allow=ulaw</div><div>alwaysauthreject=yes</div>
<div>canreinvite=no</div><div>nat=yes</div><div>session-timers=refuse</div><div>localnet=<a href="http://192.168.1.0/255.255.255.0">192.168.1.0/255.255.255.0</a></div><div><br></div><div>[7001]</div><div>type=friend</div>
<div>host=dynamic</div><div>secret=123abcd</div><div>context=internal</div><div><br></div><div>[7002]</div><div>type=friend</div><div>host=dynamic</div><div>secret=456abcd</div><div>context=internal</div><div><br></div><div>
<br></div><div style>Am using linphone as sip client and create account on linphone with user name 7001 and 7002 </div><div style>7001 is running on <a href="http://192.168.2.15:5060">192.168.2.15:5060</a></div><div style>
7002 is running on <a href="http://192.168.2.45:5060">192.168.2.45:5060</a> </div><div style><br></div><div style>when i try to call from 7002 to 7001 i specified <a href="mailto:sip%3A7001@192.168.2.15">sip:7001@192.168.2.15</a> it working fine as i know ip adress i specified it as url. if i dnt know the ipadress how can i call to 7001? i try to call <a href="mailto:sip%3A7001@192.168.2.20">sip:7001@192.168.2.20</a> it through call rejected because extension not found in context 'internal, error.</div>
<div style>   </div><div style>  How can call to sip id with out knowning ipadress where it is runnning? Any modification required for sip.conf file?</div><div style><br></div><div style>Thanks,</div><div style>Raghav</div>
<div style>  </div><div style><br></div><div style> </div></div>