LinuxMCE Forums

General => Installation issues => Topic started by: tawny on July 13, 2010, 05:48:47 pm

Title: Phone calls cutting off
Post by: tawny on July 13, 2010, 05:48:47 pm
I have a sipgate connection, but calls are disconnecting on both inbound and outbound.

Have called sipgate, and they say that I am sending them a 'BYE' after 5 minutes.

Anyone know why it would be doing this?
Title: Re: Phone calls cutting off
Post by: Techstyle on July 13, 2010, 08:14:51 pm
Tawny,

A side question:

if you use sipgate.co.uk can you post the details from Incoming and outgoing details from the FreePBX Trunk page?

I cannot get incoming calls to work

Thanks
Title: Re: Phone calls cutting off
Post by: tawny on July 13, 2010, 08:26:19 pm
I've got: (you'll need to change 1234567 and AAAAAAAA to your SIP telephone number minus the code, and secret respectively)

PEER DETAILS:

allow=alaw&alaw&ulaw&g729&gsm&slinear
auth=md5
authuser=1234567
callerid=1234567
canreinvite=no
context=from-trunk
dtmfmode=inband
fromdomain=sipgate.co.uk
fromuser=1234567
host=sipgate.co.uk
insecure=very
nat=yes
qualify=no
secret=AAAAAAAA
type=peer
user=1234567
username=1234567

USER DETAILS:

allow=alaw&alaw&ulaw&g729&gsm&slinear
auth=md5
authuser=1234567
callerid=1234567
canreinvite=no
context=from-trunk
dtmfmode=inband
fromdomain=sipgate.co.uk
fromuser=1234567
host=sipgate.co.uk
insecure=very
nat=yes
qualify=no
secret=AAAAAAAA
type=user
user=1234567
username=1234567

REGISTRATION:

1234567:AAAAAAAA@sipgate.co.uk/1234567
Title: Re: Phone calls cutting off
Post by: Techstyle on July 13, 2010, 08:45:13 pm
Did you change any of this at all or did you just add it in webadmin?
Title: Re: Phone calls cutting off
Post by: Techstyle on July 14, 2010, 04:06:33 am
tawny,

just tested call duration over 5 mins and successfully placed a call for 6 mins (you owe me 9 pence  ;D) using the details you posted.

I am still unable to receive incoming calls 'your call cannot be completed at this time in the country you are calling'.  I tried with and without the firewall on.

If I try context = from-internal instead of from-trunk then in the call log a see a call with the source and destination being sipgate phone number.  Still nothing rings, If I now turn off the firewall the cell phone (that I am calling in on) has ringing tone but no internal LMCE phone rings.
Title: Re: Phone calls cutting off
Post by: tawny on July 14, 2010, 11:17:03 am
Sounds like my issue might be elsewhere then, thanks :)

If it's internal that's causing you the issue, have you got your router set up to forward the correct ports (assuming you are on a single public IP with NAT)? You need to have ports 10000-20000 forwarded to your server as well as the 5060 control port.