View Single Post
  #1 (permalink)  
Old 12-13-2006, 09:09 PM
ale.cx
Guest
 
Posts: n/a
Default voip.co.uk config for Asterisk

Seems like a bit of a stupid question when they've got one on their own
website, but I'm having a hell of a time getting 1.2.12 working with a
new voip.co.uk account. I have copied and pasted the example config
[with some minor tweaks], supplying the username and password from the
"Your SIP Accounts" page of the voip.co.uk portal.
Asterisk thinks it's registered, as evidenced by 'sip show registry'.
Voip.co.uk thinks I'm registered according to the same Accounts page -
has my WAN IP address in it, Status says "Online" and the Expires time
is always an hour after I last did a 'sip reload'. I can call my
voip.co.uk line from my Sipgate line [complete with the somewhat
spurious caller ID of 02071062924] just fine. However, whenever I try
to make calls out on my voip.co.uk line, I get this:

Dec 13 21:44:22 WARNING[10274]: chan_sip.c:9761 handle_response_invite:
Forbidden - wrong password on authentication for INVITE to '"Cordless"
<sip:593xxx@proxy.voip.co.uk>;tag=as466a11d8'

This is my Dial() string in extensions.conf:

[outgoing_voipcouk]

include => default

exten => _9.,1,Dial(SIP/${EXTEN:1}@voipcouk,60,tr)
exten => _9.,2,Playback(pls-try-again)
exten => _9.,3,Hangup

My voip.co.uk section in sip.conf:

register => 593xxx:<hidden>@registrar.voip.co.uk/593xxx

[voipcouk]
type = peer
context = incoming_voipcouk
host = proxy.voip.co.uk
username = 593xxx
fromuser = 593xxx
fromdomain = proxy.voip.co.uk
password = <hidden> ; same password as above
disallow = all
allow = ulaw
allow = alaw
allow = gsm
insecure=yes


Any ideas what I'm doing wrong?


Reply With Quote