I am really confused and hope someone can help. I have used this guide https://wiki.asterisk.org/wiki/display/ ... P+Accounts to create two SIP Accounts and register my android phones (with SipDemo) to Asterisk. I use my laptop as WiFi-Hotspot and connect my phones. It works. But as soon as I try to make a call, I get the error message:
- Code: Select all
[Aug 3 09:23:31] NOTICE[19841]: chan_sip.c:22753 handle_request_invite: Call from 'user1' (192.168.....) to extension 'user2' rejected because extension not found in context 'from-internal'
sip.conf:
[general]
transport=udp
[friends_internal](!)
type=friend
host=dynamic
context=from-internal
disallow=all
allow=ulaw
allowexternaldomains=yes
[user1](friends_internal)
secret=101 ; put a strong, unique password here instead
[user2](friends_internal)
secret=102 ; put a strong, unique password here instead
extensions.conf:
[from-internal]
exten=>6001,1,Dial(SIP/user1,20)
exten=>6002,1,Dial(SIP/user2,20)
Could you please help me?