Hi all,

   I want to two sip clients connect through Asterisk in local network for
testing. My sip.conf file looks like this

 [general]
context=internal
allowguest=no
allowoverlap=no
bindport=5060
bindaddr=0.0.0.0
srvlookup=no
disallow=all
allow=ulaw
alwaysauthreject=yes
canreinvite=no
nat=yes
session-timers=refuse
localnet=192.168.1.0/255.255.255.0

[7001]
type=friend
host=dynamic
secret=123abcd
context=internal

[7002]
type=friend
host=dynamic
secret=456abcd
context=internal


Am using linphone as sip client and create account on linphone with user
name 7001 and 7002
7001 is running on 192.168.2.15:5060
7002 is running on 192.168.2.45:5060

when i try to call from 7002 to 7001 i specified sip:[email protected] 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 sip:[email protected] it
through call rejected because extension not found in context 'internal,
error.

  How can call to sip id with out knowning ipadress where it is runnning?
Any modification required for sip.conf file?

Thanks,
Raghav
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to