[Asterisk-Dev] cannot find extension context from-sip

Rajeev rajeev at cefib.com
Wed Sep 29 09:49:50 MST 2004


hi all,

i am testing asterisk with out any additional hardware and it worked well for me. Now i have formatted and loaded the configuration again. The clients X-Lite and Cisco ATA186 are getting registered properly. When making calls the following error is coming.

Cannot find extension context 'from-sip'

my configuration details are given below.

Sip.conf file



[general]

 

port=5060

bindaddr=0.0.0.0

disallow=all

allow =ulaw

allow=alaw

context=bogon-calls

 

[2000]

 

type=friend

username=2000

secret=2000

host=dynamic

canreinvite=no

qualify=1000

context=from-sip

mailbox=100

 

[2001]

 

type=friend

username=2001

secret=2001

host=dynamic

canreinvite=no

dtmfmode=inband

qualify=1000

context=from-sip

mailbox=101

 

Extensions.conf
 

  static =yes

  writeprotect=yes

 

 [bogon-calls]

 

 exten=>_.,1,Congestion

 

[from-sip]

 

exten=>2000,1,Dial(SIP/2000,20)

exten=>2000,2,Voicemail(u2000)

exten=>2000,102,Voicemail(b2000)

exten=>2000,103,Hangup

 

exten=>2001,1,Dial(SIP/2001,20)

exten=>2001,2,Voicemail(u2001)

exten=>2001,102,Voicemail(b2001)

exten=>2001,103,Hangup

 

exten=>2999,1,VoicemailMain(${CALLERIDNUM})

 

This configuration is copied from www.Onlap.com. Any other configuration changes needs to be applied. I have downloaded latest CVS version. Kindly help.



Rajeevk



 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20040929/8c3c6ffc/attachment.htm


More information about the asterisk-dev mailing list