Adrian, I found this posting: Connecting FreePBX to Sipgate Live business service http://community.freepbx.org/t/solved-connecting-freepbx-to-sipgate-live-business-service/13936
The fact that sipgate.co.uk uses two servers, sipgate.co.uk and proxy.live.sipgate.co.uk, suggests separate incoming and outgoing sip.conf peers are needed. This is what I would try first... ================ ; register with sipgate.co.uk register => use...@sipgate.co.uk:sec...@proxy.live.sipgate.co.uk/userid ; sipgate.co.uk inbound [sipgate-inbound] context=sipgate_in username=SIP-ID secret=SECRET host=proxy.live.sipgate.co.uk outboundproxy=proxy.live.sipgate.co.uk nat=force_rport insecure=invite,port qualify=yes directmedia=no dtmfmode=rfc2833 disallow=all allow=ulaw allow=alaw ; sipgate.co.uk outbound [sipgate] type=peer username=SIP-ID fromuser=SIP-ID secret=SECRET host=sipgate.co.uk outboundproxy=proxy.live.sipgate.co.uk nat=force_rport qualify=yes directmedia=no dtmfmode=rfc2833 disallow=all allow=ulaw allow=alaw ================ Having separate peers for inbound and outbound allows more flexibility and easier to debug. BTW, don't forget to define /etc/asterisk/rtp.conf properly and port forward accordingly. Lonnie On Jun 16, 2014, at 2:03 AM, Adrian Hodgson wrote: > OK thanks for all the replies, it will take me time to work through them and > understand what is meant. > > I had issues with sipgate and my home router. it would work for a little > while then incomming calls would stop, although asterisk would look ok, > according to sipgate I was off line. > > One of their troubleshooting pages > https://secure.sipgate.co.uk/faq/index.php?do=displayArticle&article=602&id=249 > > suggested portforwarding > > Port forwarding: > > If you still seem to be experiencing problems, you could give port forwarding > a try. You should first of all configure your VoIP device to use a static IP > address and then activate port forwarding for the following ports on your > router/firewall to the IP address of your device. > > Standard: > > Port: 5060 / UDP (SIP) > Port: 5004 / UDP (RTP) > > My sip.conf entry is here. > > register => SIP-ID:sec...@sipgate.co.uk/SIP-ID > [sipgate] > type=peer > secret=SECRET > insecure=invite > username=SIP-ID > defaultuser=SIP-ID > fromuser=SIP-ID > context=sipgate_in > fromdomain=sipgate.co.uk > host=sipgate.co.uk > outboundproxy=proxy.live.sipgate.co.uk > qualify=yes > nat=force_rport,comedia > disallow=all > allow=alaw > dtmfmode=rfc2833 > > The above from another sipgate help page. > > Again thanks, I will work through it. > > Adrian > > > On Monday 16 Jun 2014 02:21:38 Lonnie Abelbeck wrote: > > Yes if you have a static IP address, that is exactly what I do with my SIP > > > ------------------------------------------------------------------------------ > HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions > Find What Matters Most in Your Big Data with HPCC Systems > Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. > Leverages Graph Analysis for Fast Processing & Easy Data Exploration > http://p.sf.net/sfu/hpccsystems_______________________________________________ > Astlinux-users mailing list > Astlinux-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/astlinux-users > > Donations to support AstLinux are graciously accepted via PayPal to > pay...@krisk.org. ------------------------------------------------------------------------------ HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing & Easy Data Exploration http://p.sf.net/sfu/hpccsystems _______________________________________________ Astlinux-users mailing list Astlinux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to pay...@krisk.org.