Asterisk and Sipgate.co.uk Outbound Calls Not Working

Get help with installing and running AsteriskNOW.

Moderators: Moderator, Support

Asterisk and Sipgate.co.uk Outbound Calls Not Working

Postby mve83 » Sat Nov 15, 2014 2:49 pm

Hi
I am trying to create a Lync 2013 lab setup at home. For the purpose of attempting to create real world scenarios I wanted my lync lab to break out to the PSTN. Normally on production Lync deployments I have another guy with me who provides the config for the voice gateway systems which are near always Cisco or Avaya. We have never done an Asterisk Gateway before so this is new to me.

I have created an account with sipgate to get a free SIP trunk and I have successfully connected * to the sipgate service as I can see it online in the sipgate control panel.

I am able to make calls from the PSTN to Lync extensions without any trouble

However, I cannot call the PSTN from Lync Extensions. I can see the SIP Invite hitting the * box so I know Lync is working fine and the issue is with *.

I see and hear the following errors

Hear = All Circuits Are Busy Now (this comes from * box)
See = tcptls.c:863 ast_tcptls_client_start: Unable to connect SIP socket to 217.10.79.23:5060: Connection timed out in the logs

This confuses me because I have configured the trunks to use tcp and not tls.

In my outbound routes I have a dial plan for X. to route via the SIPGATE Trunk and another outbound Route which matches my SIPGATE user ID to route to Lync

The context from the lync trunk is from-internal and the context for the Sipgate trunk is from-trunk

Weirdly I tried * because when I tried Elastix I could dial out to the PSTN from Lync but could not receive calls from the PSTN.

Can anyone shed any light on where I have gone wrong?
thanks
mve83
Newsterisk
 
Posts: 5
Joined: Fri Jun 20, 2014 3:23 pm

Re: Asterisk and Sipgate.co.uk Outbound Calls Not Working

Postby david55 » Sun Nov 16, 2014 7:45 am

Maybe sipgate don't support encrypted connections, or maybe they don't support any kind of TCP connection.
david55
Moves Like Spencer
 
Posts: 12570
Joined: Fri Sep 26, 2008 5:03 am

Re: Asterisk and Sipgate.co.uk Outbound Calls Not Working

Postby mve83 » Sun Nov 16, 2014 8:00 am

Hi

I think they do because I can call out of elastix but not asterisk
mve83
Newsterisk
 
Posts: 5
Joined: Fri Jun 20, 2014 3:23 pm

Re: Asterisk and Sipgate.co.uk Outbound Calls Not Working

Postby david55 » Sun Nov 16, 2014 8:07 am

It would be unusual to support encrypted connections on port 5060, which is what you are trying to do.
david55
Moves Like Spencer
 
Posts: 12570
Joined: Fri Sep 26, 2008 5:03 am

Re: Asterisk and Sipgate.co.uk Outbound Calls Not Working

Postby mve83 » Sun Nov 16, 2014 8:15 am

How do I get asterisk to connect on TCP then because in the sip settings I have tcpenable as yes?
mve83
Newsterisk
 
Posts: 5
Joined: Fri Jun 20, 2014 3:23 pm

Re: Asterisk and Sipgate.co.uk Outbound Calls Not Working

Postby david55 » Sun Nov 16, 2014 9:34 am

Please provide your configuration.

Note TLS is TCP, but it is encrypted TCP and has a different default port. I can't think of any reason you would want to use TCP with sipgate if it weren't encrypted.
david55
Moves Like Spencer
 
Posts: 12570
Joined: Fri Sep 26, 2008 5:03 am

Re: Asterisk and Sipgate.co.uk Outbound Calls Not Working

Postby mve83 » Mon Nov 17, 2014 5:58 am

Hi
Doesn't matter now. I had another go with Elastix and it worked fine with the same config as I put on Asterisk which is weird. So I think i will be using that.
thanks
mve83
Newsterisk
 
Posts: 5
Joined: Fri Jun 20, 2014 3:23 pm


Return to AsteriskNOW Support

Who is online

Users browsing this forum: No registered users and 1 guest