Newbie help freepbx

hello guys im a newbie here and im facing some problems configuring my sip external extensions or remote extensions.

locally my extensions work fine, i am able to register and everythin is going fine.
if i try to access my sip extension through 3G on my android sip i was never able to register.i am always having time out error.
on wifi from one location, i was able to easily register on both my phone and desktop.

why is it that im able to register remotely over wifi but not over 3g.

take note that i did all the necessary to configure sip_nat, enable nat and qualify on the extension setup, port forwarding on my router as in the tutorial but did not help.

you might tell me that my 3G isp is blocking voip.in fact im tryin to register sip with vpn called securitykiss to overpass my isp restrictions on voip but still did not work.

any hint about the cause?

thank you for ur patience, since im new here

here is my log file from xlite softphone timed out

Time | Type | Subsystem | Message | Function
[11-12-28]10:10:52.204 | Info (more) GUI | “Receiving notification about firewall IP address: 0.0.0.0, voip always possible: 0” | eyeBeam::CPhoneFrame::OnNetworkFirewallInformation
[11-12-28]10:10:52.835 | Info (min) Utilities | “Detected CPU [Intel® Core™2 Duo CPU E7500 @ 2.93GHz]” | sua::CProcessorInformation::Detecti386CPU
[11-12-28]10:10:52.835 | Info (more) Utilities | “Detected frequency: 2930” | sua::CProcessorInformation::Detecti386CPU
[11-12-28]10:10:52.836 | Info (more) Audio | “Not using codec l16_wb due to insufficient upstream bandwidth” | sua::CAudioCodecSelectionManager::LoadAudioCodecList
[11-12-28]10:10:52.855 | Info (more) CCM | “Creating transport… [URI:[email protected]]” | sua::CSIPAccess::CTransportCreator::Start
[11-12-28]10:10:52.855 | Info (min) CCM | “Not using firewall SIP proxy. Reasons: [URI:[email protected]]” | sua::CSIPAccess::CTransportCreator::UseFirewallSIPProxy
[11-12-28]10:10:52.855 | Info (more) RESIP:TRANSPORT | “Creating UDP transport host= port=51524 ipv4=1” |
[11-12-28]10:10:52.856 | Info (more) CCM | “DSCP marking is already set correct for SIP or DNS signaling socket, where socket=1552, where transport type=3, where resip file is W:\HEAD\SUA\Library\sipfoundry\main\resip\stack\InternalTransport.cxx, where resip line # is 122, where DSCP value=0” | sua::CCMAfterSocketCreationFuncPtr
[11-12-28]10:10:52.856 | Info (more) RESIP:TRANSPORT | “Creating TCP transport host= port=51524 ipv4=1” |
[11-12-28]10:10:52.859 | Warning (min) RESIP:DNS | “local hostname does not contain a domain part” |
[11-12-28]10:10:52.967 | Info (more) RESIP:DUM | “Got a DumFeatureMessage0960ED48” |
[11-12-28]10:11:25.108 | Info (more) RESIP:DUM | “Got: SipResp: 408 tid=d7073c150b0ccc72 cseq=REGISTER / 1 from(wire)” |
[11-12-28]10:11:29.604 | Info (min) GUI | “User Action: Show Menu (system_1_menu)” | eyeBeam::FunkyControl::DoAction
[11-12-28]10:11:36.060 | Info (more) DNS | “DNS [query:xx.xx.xx.xx]” | sua::CDNS::StartTopologyLookup
[11-12-28]10:11:36.060 | Info (more) DNS | “DNS-Lookup performed: ‘_sip._udp.’ ‘xx.xx.xx.xx’ [default-port:5060][fallback to A/QA:T] - Results:” | sua::CDNS::InternalShutdown
[11-12-28]10:11:36.060 | Info (more) DNS | " 0 - [ip:xx.xx.xx.xx:5060][ttl:4294967295][P:0][W:0][query-name:xx.xx.xx.xx]" | sua::CDNS::InternalShutdown
[11-12-28]10:11:36.060 | Info (more) DNS | “DNS [query:xx.xx.xx.xx]” | sua::CDNS::StartTopologyLookup
[11-12-28]10:11:36.060 | Info (more) DNS | “DNS-Lookup performed: ‘_sip._tcp.’ ‘xx.xx.xx.xx’ [default-port:5060][fallback to A/QA:T] - Results:” | sua::CDNS::InternalShutdown
[11-12-28]10:11:36.060 | Info (more) DNS | " 0 - [ip:xx.xx.xx.xx:5060][ttl:4294967295][P:0][W:0][query-name:xx.xx.xx.xx]" | sua::CDNS::InternalShutdown
[11-12-28]10:11:36.060 | Info (more) GUI | “Receiving notification about firewall IP address: 0.0.0.0, voip always possible: 0” | eyeBeam::CPhoneFrame::OnNetworkFirewallInformation

OK, make sure that your 3g is properly configured and internet must be working in your phone. If it is, then probably your ISP is blocking the port for SIP (5060). I recommend you to try different port.

Give this a try, in your port forwarding configuration. external Port: 5070, internal port: 5060

Regards
John

oh ok but sorry im a newbie where do u mean doing port configuration on my router or is it an option in the asterisk settings?

can u guide me please!!

note:i tried it in the bind field in advanced settings in asterisk sip but it ddnt work.

He meant do you have port 5060 and the RTP range properly forwarded on the router.

Can you register a soft phone over the public Internet if you take the 3G out of the equation?

the 5060 port was properly forwarded from the router.
the thing is that my office network which is “the public internet” i m able to register.
on another network from another isp where the voip is not blocked, i cant register.isnt it weird?
does it have to do with the isp dns or gateway?
3G still cant connect.
any thoughts?

anybody help??? still not able to connect remote extensions.
can it be dat my isp is blocking voip? my server is behind a symmetric udp firewall as per the stun.
any help?

ok now after some reading, i thought that using tcp port 5060 instead of udp 5060 mite solve the problem
not that my firewall is disabled, port forwarding on the router for upd/tcp 5060 is on.
how can i configure asterisk freepbx to use the tcp 5060 instead of udp.
can anybody guide me please.

Regards,

update:ok i was able to push transport as tcp for one of my extensions.
this is the dump from tcpdump.
can anybody know wats happening?
im using a virtualbox with bridged network adapter.

05:44:32.291817 IP 86.98.135.41.54620 > 192.168.2.18.sip: . ack 1 win 8030 <nop,nop,timestamp 3809003 2516787>

05:45:02.977211 IP 192.168.2.18.sip > 86.98.135.41.54620: F 1:1(0) ack 1 win 46 <nop,nop,timestamp 2546881 3809003>

(6), length: 52) 2.48.6.242.40039 > 192.168.2.18.sip: ., cksum 0x31f7 (correct), ack 1 win 8030 <nop,nop,timestamp 1513617 2934582>

03:40:03.897535 IP (tos 0x0, ttl 64, id 44992, offset 0, flags [DF], proto: TCP (6), length: 52) 192.168.2.18.sip > 2.48.6.242.49800: F, cksum 0x3c8c (correct), 1:1(0) ack 1 win 46 <nop,nop,timestamp 2947258 1503377>

03:40:21.814893 IP (tos 0x0, ttl 64, id 61697, offset 0, flags [DF], proto: TCP (6), length: 52) 192.168.2.18.sip > 2.48.6.242.40039: F, cksum 0xd9a8 (correct), 1:1(0) ack 1 win 46 <nop,nop,timestamp 2965171 1513617>

03:40:23.567682 IP (tos 0x0, ttl 64, id 61698, offset 0, flags [DF], proto: TCP (6), length: 52) 192.168.2.18.sip > 2.48.6.242.40039: F, cksum 0xd2cf (correct), 1:1(0) ack 1 win 46 <nop,nop,timestamp 2966924 1513617>

03:40:27.074253 IP (tos 0x0, ttl 64, id 61699, offset 0, flags [DF], proto: TCP (6), length: 52) 192.168.2.18.sip > 2.48.6.242.40039: F, cksum 0xc51e (correct), 1:1(0) ack 1 win 46 <nop,nop,timestamp 2970429 1513617>

03:40:34.084069 IP (tos 0x0, ttl 64, id 61700, offset 0, flags [DF], proto: TCP (6), length: 52) 192.168.2.18.sip > 2.48.6.242.40039: F, cksum 0xa9bd (correct), 1:1(0) ack 1 win 46 <nop,nop,timestamp 2977438 1513617>

03:40:48.098276 IP (tos 0x0, ttl 64, id 61701, offset 0, flags [DF], proto: TCP (6), length: 52) 192.168.2.18.sip > 2.48.6.242.40039: F, cksum 0x72fb (correct), 1:1(0) ack 1 win 46 <nop,nop,timestamp 2991456 1513617>

03:41:16.125124 IP (tos 0x0, ttl 64, id 61702, offset 0, flags [DF], proto: TCP (6), length: 52) 192.168.2.18.sip > 2.48.6.242.40039: F, cksum 0x057b (correct), 1:1(0) ack 1 win 46 <nop,nop,timestamp 3019488 1513617>

any idea about whats going on using tcp port? not able to register timeout?