IAX not registering from remote

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

IAX not registering from remote

Postby smead » Mon Sep 23, 2013 4:59 pm

I can log in from the local machine, but not from a remote IP. The website is accessible from remote however. I have TCP ports 80:81 & 4569 UDP forwarded and marked as allowed on the yast firewall. I typed 'asterisk -r' and do not see anything happening when it is trying to register from remote.

I'm really at a loss. I figure it has to have something to do with the firewall settings but I'm quite certain these are right. I am also using DGG and this is after having logged in. One other strange piece... I downloaded zoiper on my android phone and it is able to connect through intermittently via 3G. What gives?
Single Server | Dell Optiplex 755 Quadcore 2.4Ghz 4GB Ram | OpenSuSE v.12.1 | ViciBox Preload x86 v5.0.3 | VERSION: 2.8-426a BUILD: 140214-1643 SVN 2077 | Asterisk 1.8.25.0-vici
smead
 
Posts: 73
Joined: Wed Jul 24, 2013 5:46 pm

Re: IAX not registering from remote

Postby smead » Mon Sep 23, 2013 5:44 pm

Update:

I think I have it narrowed down to the router. I have 4569 forwarding, however when I check on canyouseeme.org it keeps saying it timed out. What would be the cause/solution?
Single Server | Dell Optiplex 755 Quadcore 2.4Ghz 4GB Ram | OpenSuSE v.12.1 | ViciBox Preload x86 v5.0.3 | VERSION: 2.8-426a BUILD: 140214-1643 SVN 2077 | Asterisk 1.8.25.0-vici
smead
 
Posts: 73
Joined: Wed Jul 24, 2013 5:46 pm

IAX not registering from remote

Postby uumesama » Tue Sep 24, 2013 1:26 pm

Heres a weird one for you I hope.

Im running a query -

SELECT CASTproductiondate AS Date ProdDate, CONVERTchar8, DATEADDsecond, jobduration, 0:00:00, 108 Duration FROM jobstatistics
JOIN jobdetails ON jobstatistics.jobdetail_id = jobdetails.jobdetail_id
WHERE jobdetails.jobdetail_id = xxxxx AND jobstatistics_duration IS NOT NULL ORDER BY jobstatistics_productiondate

Running the query is fine. I get 2 columns. 1 with the date and 1 with the Duration converted from its native seconds to HH:MM:SS.

Problem is, when I then try to chart that so it had ProdDate along the X and Duration along the Y its not displaying the Duration info. If I remove the conversion so its just

SELECT CASTproductiondate AS Date ProdDate, jobduration Duration FROM jobstatistics
JOIN jobdetails ON jobstatistics.jobdetail_id = jobdetails.jobdetail_id
WHERE jobdetails.jobdetail_id = xxxxx AND jobstatistics_duration IS NOT NULL ORDER BY jobstatistics_productiondate

The information displays correctly in both the query results and the chart.

Help?
uumesama
 
Posts: 1
Joined: Mon Sep 09, 2013 12:07 pm

Re: IAX not registering from remote

Postby smead » Tue Sep 24, 2013 1:46 pm

Nope not at all
Single Server | Dell Optiplex 755 Quadcore 2.4Ghz 4GB Ram | OpenSuSE v.12.1 | ViciBox Preload x86 v5.0.3 | VERSION: 2.8-426a BUILD: 140214-1643 SVN 2077 | Asterisk 1.8.25.0-vici
smead
 
Posts: 73
Joined: Wed Jul 24, 2013 5:46 pm

Re: IAX not registering from remote

Postby GaD » Wed Sep 25, 2013 7:05 pm

There was a way, with netcat, that you could check network connectivity with UDP on a certain point. You could also do a tcpdump (for UDP) on your server to see if the asterisk is getting any network traffic from your source. I would agree that the problem seems to be the router.

Do the mentioned tests to confirm.
GaD
 
Posts: 195
Joined: Fri Jul 08, 2011 3:56 pm

Re: IAX not registering from remote

Postby smead » Wed Sep 25, 2013 7:15 pm

Would that be the same as using the nmap function? I found that method here http://shearer.org/UDP_Reachability_Testing and tested using both the local and external address. It claimed 4569 was open/filtered.

I have mediacom coming in the morning to replace my DPC3925 with a modem that will just bridge to my netgear router. We'll see if that does anything :/
Single Server | Dell Optiplex 755 Quadcore 2.4Ghz 4GB Ram | OpenSuSE v.12.1 | ViciBox Preload x86 v5.0.3 | VERSION: 2.8-426a BUILD: 140214-1643 SVN 2077 | Asterisk 1.8.25.0-vici
smead
 
Posts: 73
Joined: Wed Jul 24, 2013 5:46 pm

Re: IAX not registering from remote

Postby GaD » Wed Sep 25, 2013 8:11 pm

Yes, that should work theoretically, but I've seen nmap return invalid data on UDP ports so I haven't used it much since that day.....

Try doing the tcpdump on the asterisk see if you get any results.....
GaD
 
Posts: 195
Joined: Fri Jul 08, 2011 3:56 pm


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 79 guests