• News
  • Idefisk
  • Tools
  • Tutorials
  • Forum
  • Reviews
  • VoIP Providers
  • Archives
  • Gallery
ZOIPER softphone

The forum for asterisk and voip discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

No such extension '1000' in context 'default'

 
Post new topic   Reply to topic     Forum Index -> Asterisk Questions - beginners
View previous topic :: View next topic  
Author Message
stelio



Joined: 18 Aug 2010
Posts: 3

PostPosted: Wed Aug 18, 2010 3:04 pm    Post subject: No such extension '1000' in context 'default' Reply with quote

Dear all,

I quite new to Asterisk and to this forum, can anyone pls help me?
I have been having a small problem when configuring my asterisk for two days now. I have configured two channels: one SIP and the other IAX as follows:

sip.conf
[1000]
type=friend
host=dynamic
context=internal
qualify=yes

iax.conf

[general]
autokill=yes

[zoiper]
type=friend
host=dynamic
context=phones
qualify=yes


extensions.conf
[general]

[internal]
exten => _1xxx,1,Dial(SIP/${EXTEN},30)
exten => _1xxx,n,Hangup()

[incoming]
exten => s,1,Answer()
exten => s,n,Playback(hello-world)
exten => s,n,Hangup()

Both clients (SIP and IAX) register with no problem as can be seen below

localhost*CLI> sip show peers
Name/username Host Dyn Nat ACL Port Status
1000/1000 192.168.2.103 D 5084 Unmonitored
1 sip peers [Monitored: 0 online, 0 offline Unmonitored: 1 online, 0 offline]
localhost*CLI> iax2 show pe
peers peer
localhost*CLI> iax2 show peers
Name/Username Host Mask Port Status
zoiper 192.168.2.101 (D) 255.255.255.255 4569 OK (7 ms)
1 iax2 peers [1 online, 0 offline, 0 unmonitored]
localhost*CLI>

However whenever i type the command console dial 1000 i get the error depicted below:
localhost*CLI> console dial 1000
No such extension '1000' in context 'default'

If i create a context called default and insert the code i have right now in internal, it works fine, but if i only have the internal context and point to it from my config in sip.conf it produces the aforementioned error. What could i be doing wrong?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Asterisk Questions - beginners All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
contact us at: support@asteriskguru.com - asterisKGuru.com © all rights reserved   |   *asterisk is registered trademark of © Digium™