Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.



41 posts

Geek


Topic # 77936 24-Feb-2011 16:47 Send private message

I'm using Asterisk with 2Talk. All outgoing calls work great. However, for incoming 028 calls I am geting very inconsistent results. Sometimes the connection is made and the receiving phone rings, but more often than not, the call goes directly to 2Talk voicemail after a few seconds of silence. There is no evidence in the Asterisk logs indicating tht it had received anything from 2Tlk, so I suspect that 2Talk for whatever reasons thinks that my connection is down. Anyone else ever had this problem?

Create new topic
16716 posts

Uber Geek

Moderator
Trusted
Biddle Corp
Subscriber

  Reply # 443167 24-Feb-2011 20:26 Send private message

Sounds like your firewall is blocking inbound SIP traffic. What is your registration time set to?




*Need help configuring your Linksys ATA or IP Phones for New Zealand? Check my blog post



41 posts

Geek


  Reply # 443319 25-Feb-2011 10:00 Send private message

Yes, there does appear to be blocking of incoming SIP requests from the 2Talk IP address. It was my understanding, maybe wrong, that 2Talk didn't require the opening of 5060 for incoming connection requests as the connection would be constantly "kept alive" once registered. For Asterisk, I'm using the default settings as suggested by 2Talk. Namely:
registerattempts=0
registertimeout=20

16716 posts

Uber Geek

Moderator
Trusted
Biddle Corp
Subscriber

  Reply # 443532 25-Feb-2011 22:10 Send private message

It doesn't typicaloly require any ports to be opened. But the issue you're seeing is one typically experienced when NAT firewalls do block incoming requests.

Opening port 5060 exposes your Asterisk box to the whole wide world. Don't do this under any circumstances unless you're fully aware of the security implications. If you're running iptables and Fail2ban which are essential for any Asterisk install these days you will be reasonably well protected.




*Need help configuring your Linksys ATA or IP Phones for New Zealand? Check my blog post

BDFL
43784 posts

Uber Geek

Administrator
Trusted
Geekzone
Subscriber

  Reply # 443563 26-Feb-2011 08:35 Send private message

Please report these faults here too http://www.geekzone.co.nz/fault.asp







41 posts

Geek


  Reply # 709061 30-Oct-2012 11:49 Send private message

Been a while but thought I'd provide an update on how it looks like I resolved my issue. Since I couldn't amend the keepailve time for incoming UDP SIP on my firewall, I changed over to 2talk+ which allows for TCP SIP. Once I changed my 2talk settings to use TCP SIP and changed my Asterisk configuration settings to use TCP SIP, all incoming calls (so far) are getting through. We'll see what happens, but so far so good.

Create new topic
Twitter »
Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when new jobs are posted to our jobs board:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:




News »

Trending now »
Hot discussions in our forums right now:

Fecked up religious people strike again :-(
Created by Mark, last reply by bradstewart on 24-May-2013 17:31 (80 replies)
Pages... 4 5 6


Cannabis is illegal yet we have really strong 'legal highs' ?
Created by qwerty7, last reply by freitasm on 23-May-2013 23:20 (74 replies)
Pages... 3 4 5


Xbox One
Created by DjShadow, last reply by Kingy on 24-May-2013 13:48 (68 replies)
Pages... 3 4 5


A new project coming to Geekzone
Created by freitasm, last reply by jeffnz on 24-May-2013 15:01 (338 replies)
Pages... 21 22 23


Troublesome transition to VDSL
Created by oseiler, last reply by michaelmurfy on 24-May-2013 13:57 (18 replies)
Pages... 2


HTC One (2013) owners' discussion
Created by Dingbatt, last reply by wlfkfgkwlaktka on 24-May-2013 15:49 (1564 replies)
Pages... 103 104 105


Orcon, Is this for real or a scam??
Created by old3eyes, last reply by DarthKermit on 22-May-2013 19:12 (29 replies)
Pages... 2


Vodafone Naked Broadband Speeds (Auckland CBD)
Created by wscalioni, last reply by grkiwi on 20-May-2013 21:13 (14 replies)


Geekzone Jobs »
Most recent NZ jobs in technology:

Project Manager / Scrum Master
Posted 24-May-2013 17:28

Telecommunications Service Technicians (Christchur
Posted 24-May-2013 17:28

Skilled Java Developer
Posted 24-May-2013 17:28

Proven Team Leader
Posted 24-May-2013 17:28

Java/J2EE Developer
Posted 24-May-2013 17:28

Solution Architect
Posted 24-May-2013 17:28

IT Grad/Software Tester
Posted 24-May-2013 17:28


Geekzone Live »
Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.

Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.