Hi guys, I am quite new to this whole thing, so please bear with me.
The thing is, I’ve gotten PBX and Asteriks setup on my Ubuntu box, 9.10, Karmic, updated. Verions are: Asterisk 1.6.2.0~rc2-0ubuntu1.1 and FreePBX 2.5.2.1.
I can log in just fine. But, now is the thing, for the live of me I cannot get the darn thing to DO anything. My softphone, X-Lite, can’t connect. My SIP trunk with my VOIP provider doesn’t get registered.
I log on via asterisk -r, do a sip show registry and all I get is:
ruby*CLI> sip show registry
Host dnsmgr Username Refresh State Reg.Time
0 SIP registrations.
I think I entered everything correctly, but I am not to sure anyomore. Before this attempt with FreePBX, I manually tried to wing it with editing extensions.conf and sip.conf by hand. It didn’t allow for calls, but that setup DID allow to register. Ie, I could get the asterisk box to register my SIP line with the provider. And my softphone to register with Asterisk. Grantend, I never got it to actually do anything besides trying to route every call internally, but now I am even further from home.
In short, I want to have Asterisk connect to my VOIP provider, my Softphones to Asterisk and be able to receive and place calls to normal POST type phones.
Any help would be greatly appreciated, I tried to be as verbose as possible. One final thing, I am using TweakPhone/TweakDSL, a Dutch VOIP provider. If I load up my X-Lite softphone with their data directly, ie, without NAT and with direct network access, that works fine. So I believe at least the credentials are solid.
My current config looks like this;
sip_additional.conf
;--------------------------------------------------------------------------------;
; Do NOT edit this file as it is auto-generated by FreePBX. All modifications to ;
; this file must be done via the web gui. There are alternative files to make ;
; custom modifications, details at: http://freepbx.org/configuration_files ;
;--------------------------------------------------------------------------------;
;
[10]
deny=0.0.0.0/0.0.0.0
type=friend
secret=xxxx
qualify=yes
port=5060
pickupgroup=
permit=0.0.0.0/0.0.0.0
nat=yes
mailbox=10@device
host=dynamic
dtmfmode=rfc2833
dial=SIP/10
context=from-internal
canreinvite=no
callgroup=
callerid=device <10>
accountcode=
call-limit=50
[TweakIn]
fromuser=############
username=############
secret=XXXXXX
host=sip.tweakphone.nl
nat=yes
type=friend
[TweakOut]
fromuser=###########
username=###########
secret=XXXXX
host=sip.tweakphone.nl
insecure=port,invite
nat=yes
qualify=yes
srvloopup=yes
type=friend