Go Back   Wireless and Wifi Forums > News > Newsgroups > uk.telecom.voip
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #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
  #2 (permalink)  
Old 12-18-2006, 07:37 AM
ale.cx
Guest
 
Posts: n/a
Default Re: voip.co.uk config for Asterisk

I take it no-one else uses Asterisk with voip.co.uk then. I'll log a
fault with them.


Reply With Quote
  #3 (permalink)  
Old 12-18-2006, 08:57 AM
Thomas Kenyon
Guest
 
Posts: n/a
Default Re: voip.co.uk config for Asterisk

ale.cx wrote:
> I take it no-one else uses Asterisk with voip.co.uk then. I'll log a
> fault with them.
>

I do, not had any problems with it lately. (except their registration
server has been a bit flaky).

If you have more than one sip account with them (and consequently more
than one register -> line, you need :

registerattempts=0
registertimeout= (10 x the numbe of register lines).

In the registration line, the number at the end can be any destination
in your extensions script (even letters). Which sipgate can't do. Which
is nice.

For some reason, fromuser is commented out in my sip.conf (can't
remember why), I have authuser=593xxx and my insecure=port (I think that
could be because I'm running 1.4.0 and yes, and very are deprecated iirc).

Other than that, it looks the same to me.

Have you tried a separate entry in your dialplan to try using it without
using the sip.conf entry as a reference (This is simple to do with IAX2,
don't know if it can be done with SIP)?

Reply With Quote
  #4 (permalink)  
Old 12-18-2006, 09:55 PM
ale.cx
Guest
 
Posts: n/a
Default Re: voip.co.uk config for Asterisk


Thomas Kenyon wrote:

> Have you tried a separate entry in your dialplan to try using it without
> using the sip.conf entry as a reference (This is simple to do with IAX2,
> don't know if it can be done with SIP)?


Gave that a shot, but I couldn't quite work out the right syntax for
including a username, password and dialled number in a Dial(SIP/
command. And then...I looked 20 lines down at my [sipgate] section in
sip.conf and noticed it had secret= rather than password=. Changed the
[voipcouk] one to secret= and it works fine. FFS. I wasted hours of my
life on this! That'll teach me to go reading
http://voip.co.uk/tech_centre.html and actually believing it.

alexd


Reply With Quote
  #5 (permalink)  
Old 12-19-2006, 12:13 AM
Thomas Kenyon
Guest
 
Posts: n/a
Default Re: voip.co.uk config for Asterisk

ale.cx wrote:
> Thomas Kenyon wrote:
>
>> Have you tried a separate entry in your dialplan to try using it without
>> using the sip.conf entry as a reference (This is simple to do with IAX2,
>> don't know if it can be done with SIP)?

>
> Gave that a shot, but I couldn't quite work out the right syntax for
> including a username, password and dialled number in a Dial(SIP/
> command. And then...I looked 20 lines down at my [sipgate] section in
> sip.conf and noticed it had secret= rather than password=. Changed the
> [voipcouk] one to secret= and it works fine. FFS. I wasted hours of my
> life on this! That'll teach me to go reading
> http://voip.co.uk/tech_centre.html and actually believing it.
>

Oh bugger, I spotted that when I first went on the page (and emailed
tech support about it, stating that it should be changed) about 9 months
ago and completely forgot about it.

Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Anyone successfully passing caller ID info thru voip.co.uk Linker3000 uk.telecom.voip 30 04-06-2007 10:11 AM
MIssing caller ID on voip.co.uk incoming calls desgibbons@gmail.com uk.telecom.voip 3 02-19-2007 04:29 PM
Advice on router QoS for voip.co.uk Kabads uk.telecom.voip 7 12-29-2006 02:00 PM
voip.co.uk config needed Matt uk.telecom.voip 8 11-15-2006 09:12 PM
Voip.co.uk - using with NTL Steve in Herts uk.telecom.voip 9 07-27-2006 08:39 PM


All times are GMT. The time now is 07:07 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45