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 08-04-2006, 02:36 PM
Sparks
Guest
 
Posts: n/a
Default Sipgate with Trixbox

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!

Here is what the terminal spews out when I call my sipgate PSTN number from
a normal phone

(I have change my sipgate ID to MY SIPGATE ID)


-- Executing NoOp("SIP/gw02.uk.sipgate.net-09b0c6f8", "Received incoming
SIP connection from unknown peer to MY SIPGATE ID") in new stack
-- Executing Set("SIP/gw02.uk.sipgate.net-09b0c6f8", "DID=MY SIPGATE
ID") in new stack
-- Executing Goto("SIP/gw02.uk.sipgate.net-09b0c6f8", "s|1") in new
stack
-- Goto (from-sip-external,s,1)
-- Executing GotoIf("SIP/gw02.uk.sipgate.net-09b0c6f8", "0?from-trunk|MY
SIPGATE ID|1") in new stack
-- Executing Set("SIP/gw02.uk.sipgate.net-09b0c6f8",
"TIMEOUT(absolute)=15") in new stack
-- Channel will hangup at 2006-08-04 14:31:06 UTC.
-- Executing Answer("SIP/gw02.uk.sipgate.net-09b0c6f8", "") in new stack
-- Executing Wait("SIP/gw02.uk.sipgate.net-09b0c6f8", "2") in new stack
-- Executing Playback("SIP/gw02.uk.sipgate.net-09b0c6f8",
"ss-noservice") in new stack
-- Playing 'ss-noservice' (language 'en')
-- Executing Congestion("SIP/gw02.uk.sipgate.net-09b0c6f8", "") in new
stack

So the call is getting to asterisk, but it is refusing to route it!

Thanks!!

Sparks...



Reply With Quote
  #2 (permalink)  
Old 08-04-2006, 04:32 PM
Sparks
Guest
 
Posts: n/a
Default Re: Sipgate with Trixbox

"Sparks" <postmaster@127.0.0.1> wrote in message
news:44d35b63$0$638$bed64819@news.gradwell.net...
> Has anyone here got Sipgate working with Trixbox?


....I have now :-)

I had the go into the general settings page, and set the
"Allow Anonymous Inbound SIP Calls" to YES

Next problem...

I can dial in now, but can't seem to dial out!
It tells me the following...
(Dialed number changed to 888888)


-- Executing Macro("SIP/201-43c3", "dialout-trunk|2|888888||") in new
stack
-- Executing GotoIf("SIP/201-43c3", "1?3:2") in new stack
-- Goto (macro-dialout-trunk,s,3)
-- Executing Macro("SIP/201-43c3", "user-callerid") in new stack
-- Executing GotoIf("SIP/201-43c3", "0?report") in new stack
-- Executing GotoIf("SIP/201-43c3", "0?start") in new stack
-- Executing Set("SIP/201-43c3", "REALCALLERIDNUM=201") in new stack
-- Executing NoOp("SIP/201-43c3", "REALCALLERIDNUM is 201") in new stack
-- Executing Set("SIP/201-43c3", "AMPUSER=201") in new stack
-- Executing Set("SIP/201-43c3", "AMPUSERCIDNAME=Office") in new stack
-- Executing GotoIf("SIP/201-43c3", "0?report") in new stack
-- Executing Set("SIP/201-43c3", "CALLERID(all)=Office <201>") in new
stack
-- Executing NoOp("SIP/201-43c3", "Using CallerID "Office" <201>") in
new stack
-- Executing Macro("SIP/201-43c3", "record-enable|201|OUT") in new stack
-- Executing GotoIf("SIP/201-43c3", "0 > 0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing AGI("SIP/201-43c3",
"recordingcheck|20060804-172904|1154708944.4") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20060804-172904|1154708944.4: Outbound recording not
enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing NoOp("SIP/201-43c3", "No recording needed") in new stack
-- Executing Macro("SIP/201-43c3", "outbound-callerid|2") in new stack
-- Executing GotoIf("SIP/201-43c3", "1?start") in new stack
-- Goto (macro-outbound-callerid,s,3)
-- Executing NoOp("SIP/201-43c3", "REALCALLERIDNUM is 201") in new stack
-- Executing Set("SIP/201-43c3", "USEROUTCID=") in new stack
-- Executing Set("SIP/201-43c3", "EMERGENCYCID=") in new stack
-- Executing Set("SIP/201-43c3", "TRUNKOUTCID=020777777") in new stack
-- Executing GotoIf("SIP/201-43c3", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,11)
-- Executing GotoIf("SIP/201-43c3", "0?usercid") in new stack
-- Executing Set("SIP/201-43c3", "CALLERID(all)=020777777") in new stack
-- Executing GotoIf("SIP/201-43c3", "1?report") in new stack
-- Goto (macro-outbound-callerid,s,15)
-- Executing NoOp("SIP/201-43c3", "CallerID set to "" <020777777>") in
new stack
-- Executing Set("SIP/201-43c3", "GROUP()=OUT_2") in new stack
-- Executing GotoIf("SIP/201-43c3", "0?108") in new stack
-- Executing Set("SIP/201-43c3", "DIAL_NUMBER=888888") in new stack
-- Executing Set("SIP/201-43c3", "DIAL_TRUNK=2") in new stack
-- Executing AGI("SIP/201-43c3", "fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
fixlocalprefix: Added prefix. New number: 00442088888888
-- AGI Script fixlocalprefix completed, returning 0
-- Executing Set("SIP/201-43c3", "OUTNUM=00442088888888") in new stack
-- Executing Set("SIP/201-43c3", "custom=SIP/Sipgate1") in new stack
-- Executing GotoIf("SIP/201-43c3", "0?16") in new stack
-- Executing Dial("SIP/201-43c3", "SIP/Sipgate1/00442088888888|120|r")
in new stack
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing Goto("SIP/201-43c3", "s-CHANUNAVAIL|1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing NoOp("SIP/201-43c3", "Dial failed due to CHANUNAVAIL") in
new stack
-- Executing Macro("SIP/201-43c3", "outisbusy|") in new stack
-- Executing Playback("SIP/201-43c3", "all-circuits-busy-now") in new
stack
-- Playing 'all-circuits-busy-now' (language 'en')



Reply With Quote
  #3 (permalink)  
Old 08-04-2006, 06: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
  #4 (permalink)  
Old 08-04-2006, 09:33 PM
Carl Farrington
Guest
 
Posts: n/a
Default Re: Sipgate with Trixbox


"Sparks" <postmaster@127.0.0.1> wrote in message
news:44d35b63$0$638$bed64819@news.gradwell.net...
> Has anyone here got Sipgate working with Trixbox?
>



Yep. My sip_additional.conf looks like this:

[sipgate]
username=PASSWORD
type=friend
srvlookup=yes
secret=PASSWORD
qualify=no
qualify=yes
port=5060
nat=yes
insecure=very
host=sipgate.co.uk
fromuser=USERNAME
fromdomain=sipgate.co.uk
disable=all
context=from-trunk
bindaddr=0.0.0.0
allow=alaw
allow=ulaw
allow=g729
allow=gsm
allow=slinear

register=user:password@sipgate.co.uk/user

I just put everything (except the register string) in the first box (the
incoming box I think it was) - it doesn't matter. It still gets written to
the same sip_additional.conf.

remember to set "allow anonymous inbound SIP calls" in general, and set an
"ANY CID / ANY DID" inbound route.



Reply With Quote
  #5 (permalink)  
Old 08-04-2006, 09:40 PM
Carl Farrington
Guest
 
Posts: n/a
Default Re: Sipgate with Trixbox


"Carl Farrington" <carl@css--nomorespamplease--networks.commy.invalid> wrote
in message news:eb0efn$hn3$1$8300dec7@news.demon.co.uk...
>
> "Sparks" <postmaster@127.0.0.1> wrote in message
> news:44d35b63$0$638$bed64819@news.gradwell.net...
>> Has anyone here got Sipgate working with Trixbox?
>>

>
>
> Yep. My sip_additional.conf looks like this:
>
> [sipgate]
> username=PASSWORD


^^^ oops, that should of course be USERNAME. :blush:



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
Sipgate Phishing scam found Ivor Jones uk.telecom.voip 10 03-31-2007 08:08 PM
Number rewrite with Trixbox Sparks uk.telecom.voip 9 12-04-2006 11:56 PM
Sipgate... Hardware options or an alternative Justin uk.telecom.voip 15 10-10-2006 10:48 PM
Re: Sipgate & Netgear DHG834G Matt uk.telecom.voip 0 08-05-2006 07:30 AM
basic asterisk configs for Sipgate alexd uk.telecom.voip 0 10-09-2005 08:32 PM


All times are GMT. The time now is 09:58 AM.


Powered by vBulletin® Version 3.7.2
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