Hi, just tried to get a connection working with SipGate.co.uk
I can’t call out and can’t call in. In asterisk console -rvvvvvvv it prints this when I try and make an external call:
== Using SIP RTP CoS mark 5
-- Executing [01432359481@phones:1] Set("SIP/101-0000002b", "CALLERID(num)=1323230") in new stack
-- Executing [01432359481@phones:2] Dial("SIP/101-0000002b", "SIP/01432359481@sipgate,30,trg") in new stack
== Using SIP RTP CoS mark 5
-- Called 01432359481@sipgate
-- SIP/sipgate-0000002c is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
-- Executing [01432359481@phones:3] Hangup("SIP/101-0000002b", "") in new stack
== Spawn extension (phones, 01432359481, 3) exited non-zero on 'SIP/101-0000002b
When I try and call in, it does not even show anything in the console
sip show peers:
Name/username Host Dyn Nat ACL Port Status
100/100 192.168.1.238 D 5060 Unmonitored
101/101 192.168.1.160 D 56559 Unmonitored
sipgate/1323230 204.155.28.10 5060 OK (210 ms)
3 sip peers [Monitored: 1 online, 0 offline Unmonitored: 2 online, 0 offline]
extentions.conf:
[code][globals]
[general]
[default]
exten => s,1,Verbose(1,Unrouted call handler)
exten => s,n,Answer()
exten => s,n,Wait(1)
exten => s,n,Playback(tt-weasels)
exten => s,n,Hangup()
[incoming_calls]
exten => 1323230,1,Dial(SIP/100)
exten => 1323230-ID,n,Hangup
[outgoing_calls]
exten => _X.,1,Set(CALLERID(num)=1323230)
exten => _X.,2,Dial(SIP/${EXTEN}@sipgate,30,trg)
exten => _X.,3,Hangup
[internal]
exten => 100,1,Verbose(1,Extention 100)
exten => 100,n,Dial(SIP/100,30)
exten => 100,n,Hangup()
exten => 101,1,Verbose(1,Extention 101)
exten => 101,n,Dial(SIP/101,30)
exten => 101,n,Hangup()
[phones]
include => internal
include => outgoing_calls[/code]
sip.conf:
[code]
[general]
context=default
bindport=5060
srvlookup=yes
[100]
type=friend
context=phones
host=dynamic
secret=*********
[101]
type=friend
context=phones
host=dynamic
secret=*********
register => 1323230:@sipgate/1323230
[sipgate]
type=peer
secret=
insecure=invite
username=1323230
defaultuser=1323230
fromuser=1323230
context=incoming_calls
fromdomain=sipgate.com
host=sipgate.com
outboundproxy=proxy.live.sipgate.com
qualify=yes
disallow=all
allow=ulaw
dtmfmode=rfc2833[/code]
And help or pointers, I would be happy