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
16711 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

16711 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
43715 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:

Xbox One
Created by DjShadow, last reply by dclegg on 22-May-2013 11:05 (28 replies)
Pages... 2


A new project coming to Geekzone
Created by freitasm, last reply by xpd on 21-May-2013 21:19 (239 replies)
Pages... 14 15 16


Changeover issue: dial up
Created by Zigg, last reply by robjg63 on 21-May-2013 22:02 (17 replies)
Pages... 2


HTC One (2013) owners' discussion
Created by Dingbatt, last reply by Stevereds on 22-May-2013 08:21 (1513 replies)
Pages... 99 100 101


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

Samsung Galaxy SIII Discussion and Owners Thread
Created by networkn, last reply by jeffnz on 22-May-2013 11:02 (5531 replies)
Pages... 367 368 369


A reason not to shop at dick smith
Created by dsnz1, last reply by eXDee on 20-May-2013 20:41 (86 replies)
Pages... 4 5 6


Porting landline number away from Telecom
Created by dasimpsonsrule, last reply by coffeebaron on 20-May-2013 19:41 (12 replies)


Geekzone Jobs »
Most recent NZ jobs in technology:

Drupal Web Developer
Posted 22-May-2013 10:27

Senior GIS Analyst
Posted 22-May-2013 09:27

Senior C#.Net Developer
Posted 22-May-2013 09:27

.Net Developer
Posted 22-May-2013 09:27

Senior/Intermediate Web Developer
Posted 22-May-2013 09:27

Network Engineer
Posted 22-May-2013 09:27

Web Content Administrator
Posted 22-May-2013 09:27


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.