[dundee] Oh Asterisk and Sipgate why you mock me so....

Arron Finnon afinnon at googlemail.com
Mon Jun 15 10:28:56 UTC 2009


Well hi guys,

I'm currently setting up an asterisk server with a sipgate number, i'm
amazed i can write this email with blood in my eyes and the minor
brain damage gained from banging my head of a brick wall.

My Asterisk server seems to be up fine, and i can make internal calls
between extensions without any problem.  The problem lays with setting
up my sipgate number.  I have read everything i could find online,
sipgate says its connected to an Asterisk PBX server which is nice.
However whenever i call the number i get a busy tone, i thought that
this could be a router issue so i search and for which ports to open
and found them and set them up on the router (5004-5082 UDP)
(10000-20000 UDP) and sent them to the corresponding local IP address
of the asterisk server

I have also added a copy of my sip.conf file as well

SIP.CONF BELOW

[general]
; all comments refer to lines above them.
context = default
port = 5060
bindaddr = 0.0.0.0
; bind to all addresses - allows registration to Sipgate via
; internet-facing interface, and phones to register on
; LAN-facing interface. YMMV, depending on network topology

disallow=all
allow=ulaw
allow=alaw
allow=ilbc
allow=g729
allow=gsm
allow=all
; allowed codecs


localnet=192.168.1.0/255.255.255.0
; Just yer standard LAN interface

externip=MYIPADDRESS
; manually entered ISP IP address here

register => SIPID:SIPPASSWD at sipgate.co.uk/SIPID
; replace 1234567 with your sipgate ID


[sipgate]
type=peer
context=incoming_sipgate
fromuser=SIPID
username=SIPID
authuser=2848420
; not sure if its really necessary 3 times?
secret=SIP_PASSWD
host=sipgate.co.uk
fromdomain=sipgate.co.uk
dtmfmode=info
insecure=very
;qualify=yes
canreinvite=no
nat=yes
disallow=all
allow=ulaw
allow=alaw

[1001]
type=friend
context=outgoing_sipgate
; this extension can make calls via outgoing_sipgate in extensions.conf.
; Just comment it out to disable outgoing calls from this extension.
username=1001
secret=PASSWD
dtmfmode=rfc2833
callerid=finux <1001>
mailbox=1001
disallow=all
allow=ulaw
allow=alaw
qualify=yes
host=dynamic

[1001]
type=friend
context=outgoing_sipgate
; can place calls via outgoing_sipgate
username=1001
secret=PASSWD
dtmfmode=rfc2833
callerid=finux <1001>
mailbox=1001
; note they're all sharing one mailbox
disallow=all
allow=ulaw
allow=alaw
qualify=yes
host=dynamic

EOF

Now i setup the account in twinkle and it seems to be able to make the
test call however it doesn't seem to be able to recieve them, all i
get and all i have got is a busy tone when i try to call it.

If anyone has any ideas or experience setting this sort of rig up i
woud greatly appreciate and advice you could give.

If you don't then feel free to mock me for being a total loon

finux - without a asterisk sipgate phone :(



More information about the dundee mailing list