View Single Post
  #3 (permalink)  
Old 08-04-2006, 07:04 PM
paul123
Guest
 
Posts: n/a
Default Re: Sipgate with Trixbox


Sparks wrote:
> Has anyone here got Sipgate working with Trixbox?
>
> I am banging my head against a wall here!
>
> If I call my Sipgate number form my normal phone, I am getting the message
> (From my trixbox) "The number you have dialled is not in service, please
> check the number and try again" beep beep beep etc...
>
> From a fresh install I have done the following...
>
> I was previously on the last build of Asterisk@home without problem
>
> ---------
>
> In sip.conf, added the following...
> externip=MY IP ADDRESS
> outside_addr=MY IP ADDRESS
>
> ---------
>
> Added my extensions, 200 and 201 - these can call each other.
>
> ---------
>
> Added a new trunk with the following details (Copied from my working
> Asterisk@home setup)
>
> Outbound Caller ID - MY SIPGATE NUMBER
> Max Channels - 1
> Dial Rules - 0044+XXXXXXXXXX (Plus a load more other rules)
> Trunk Name - Sipgate
> PEER Details - allow=ulaw&alaw
> authuser=SIPGATE ID
> canreinvite=no
> context=ext-did
> disallow=all
> dtmfmode=info
> fromdomain=sipgate.co.uk
> fromuser=SIPGATE ID
> host=sipgate.co.uk
> insecure=very
> qualify=yes
> secret=SIPGATE PASSWORD
> type=peer
> username=SIPGATE ID
>
> Register String - SIPGATE ID:PASSWORD@sipgate.co.uk/SIPGATE ID
>
> --------------------
>
> Inbound Routes
>
> DID Number - SIPGATE ID
>
> Destination - Office <200>
>
> -------------------
>
>
> Any ideas what else I need to do!


My trixbox setup looks a bit different from yours, also you have a
couple of things I don't. Note: I only use Sipgate for an incoming
number as I use other providers for outgoing calls.

- my setup looks like this (where USERNAME is your sipgate ID):
Max Channels - blank
trunk name - sipgate
Peer details:
authuser=USERNAME
canreinvite=no
context=from-trunk
dtmfmode=info
fromdomain=sipgate.co.uk
fromuser=USERNAME
host=sipgate.co.uk
insecure=very
secret=PASSWORD
type=friend
username=USERNAME

INCOMING
Usercontext: USERNAME
USER Details:
context=from-trunk
dtmfmode=info
insecure=very
secret=PASSWORD
type=peer

Reg String USERNAME:PASSWORD@sipgate.co.uk/USERNAME
---
Inbound route - as you have it
DID: USERNAME
Destination: 200 or whatever


Reply With Quote