Call Rejected Because Extension Not Found In Context ‘internal
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 bindportP60
bindaddr=0.0.0.0
srvlookup=no disallow=all allow=ulaw alwaysauthreject=yes canreinvite=no nat=yes session-timers=refuse localnet2.168.1.0/255.255.255.0
[7001]
type=friend host=dynamic secret3abcd context=internal
[7002]
type=friend host=dynamic secretE6abcd 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:7001@192.168.2.15 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:7001@192.168.2.20 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
One thought on - Call Rejected Because Extension Not Found In Context ‘internal
Howdy,
Your sip.conf file looks fine for some testing, though I would recommend
_not_ using an extension number to name a sip endpoint. Instead, name the sip endpoint something more descriptive of the device. [Linphone-01]
[Linphone-02] for example. Then you’ll want to configure extensions.conf to Dial() the sip endpoint whenever the extension is dialed.
Justin Hester Digium, Inc.