[VoIP] Registered but will not work !
John R. Covert
john_reads_cnet_via_archives at covert.org
Sat Nov 25 15:16:07 CST 2006
I have a working sipgate.co.uk number at a client with an Edinburgh
office. In the example below, the "99" we used on the register could,
of course, be anything (so that's not your problem), since sipgate.co.uk
properly processes the "Contact:" header generated on register and uses
that in the INVITE. I don't see an obvious reason that things are not
working for you, but the following works. Note that we are not behind
NAT, but Sipgate does usually work alright with Asterisk clients behind
NAT as long as "nat=yes" is set. You should turn on "sip debug peer
sipgate" to see if that tells you anything.
--- sip.conf ---
register => nnnnnnn:XXXXXXXX at sipgate.co.uk/99
[xxxednbro]
disallow=gsm ; use G.711, dammit. Cellphone voice quality sucks.
type=friend
secret=XXXXXXXX
username=nnnnnnn
fromuser=nnnnnnn
fromdomain=sipgate.co.uk
host=sipgate.co.uk
nat=no
insecure=very
canreinvite=no
context=inbound-xxxednbro
--- extensions.conf ---
[inbound-xxxednbro]
exten => 99,1,Noop(${CALLERID})
exten => 99,n, --- do whatever we want ---
BTW, you've probably already figured out that:
exten => 1558081,3,Dial,(ZAP/g1/8081)
is failing because of the extra comma after "Dial". That's why it
said "No channel type registered for '(ZAP'". Note "(ZAP', not 'ZAP'.
Oh, btw, in another message you said:
>Unfortunately they only cover a part of the UK
Yabbut who cares... the whole country, in fact the whole nation of
UKOGBANI is now a local call, no matter where you are.
>There are other providers about offering numbers as far away as China!
I'm always interested in providers giving away free DIDs. I collect
them.
/john
More information about the VoIP
mailing list