Hi all!
I’ve installed asterisk(1.8.10.1)+ newest Freepbx on ubuntu 12.04. Now I made all configs as my provider told me:
1)Made new SIP trunk with this settings:
Trunk Name:Name
Outbound CallerID:2105050
PEER Details:
host=voice.melt.ru
port=5060
type=friend
username=2105050
secret=my password
dtmfmode=info
canreinvite=no
nat=yes
qualify=yes
insecure=port,invite
fromdomain=voice.melt.ru
context=incoming
fromuser=2105050
disallow=all
allow=alaw
Register String:
2105050:mypass@voice.melt.ru/2105050
I didnt touch any other settings in there.
2)Made an extension as a generic SIP device
Display Name:Nik
UserID: 100
Password: made simple pass
In Device Options: context: public
nat: no(rfc3581)
port: 5060
allow: alaw
No more changes since default
3)Made an incoming route
Description: in
Set Destination: Extensions 100
I entered no DID number or CallerID number.
4)Configured softphone:Downloaded X-Lite and made account changess:
Account name: Nik
Password: entered pass from extension
User ID = 100
Domain = 192.168.1.75(FreePBX stands there)
Display name:Nik
Auth. name = 100
Now I connected and everything seems to be OK.
I go to CLI and write sip show registry:
PBX*CLI> sip show registry
Host dnsmgr Username Refresh State Reg.Time
voice.melt.ru:5060 N 2105050 105 Registered Thu, 24 Oct 2013 08:32:19
1 SIP registrations.
then show peers
PBX*CLI> sip show peers
Name/username Host Dyn Forcerport ACL Port Status
100/100 192.168.1.80 D A 29102 OK (47 ms)
Melt1/2105050 89.184.0.73 N 5060 OK (5 ms)
2 sip peers [Monitored: 2 online, 0 offline Unmonitored: 0 online, 0 offline]
Then when i try to ring on my softphone
[2013-10-24 08:12:53] NOTICE[3386]: chan_sip.c:22622 handle_request_invite: Call from ‘2105050’ (89.184.0.73:5060) to extension ‘2105050’ rejected because extension not found in context ‘incoming’
What can I do to fix this?