phone answered but no contact

hjm

New Member
Joined
Dec 7, 2007
Messages
18
Reaction score
0
I have a weird problem since two weeks. Searched everywhere and checked firewall etc.
Outgoing calls are going fine, but on incoming calls when the phone is picked up the line is dead and the caller keeps hearing the "phone is ringing" sound.:banghead:
I've tested over and over and reset my router so often that dyndns banned me, but i'm still not able to get sound on incoming calls.
Everything seems to be okay till the phone gets answered. Then i get retransmissions untill i get "Maximum retries exceeded"
Could someone please look at the log and tell me what's going wrong: http://hjm.nu/problem.htm
Thanks
 
It sounds like one way audio and a firewall is port translating (PAT). You do have port 5060 open and ports 10000 - 20000 open? You may need to do a virtual server to point to your asterisk server. I picked up this info on the Net but don't remember where so I can't give proper credit:

I would open ports UDP 5060-5082 and UDP 10000-20000 on your router and point them to your PIAF server.

On the server, modify the Sip_nat.conf file and add the following:

externip=Your External IP
localnet=192.168.1.0/255.255.255.0 ; substitute your subnet info here
nat=yes

or if you have a dynamic IP:

externhost=your.dyndns.name
localhost=192.168.1.0/255.255.255.0 ; substitute your subnet info here
externrefresh=300 ; refreshes DNS every 5 minutes
nat=yes

When you set up the extension, I usually set qualify=yes and nat=yes.

Configure your phone with the extension credentials, go outside your network and see if it registers.
 
Thanks Blanchae,

All these things are as they should be. That's the problem. Everything registers okay. Doublechecked and rechecked the firewall. And still not able to find what is wrong. And the worst part is that it all used to work fine. As you can see in the log, it is sending my IP, so that works. Only when the phone gets picked up, i keep seeing those retransmissins. I also have two iax phones outside my network and they register and i can talk to them and they to me.
 
IAX uses a different protocol and is easier to pass through the firewall. So back to basic troubleshooting. What's changed and what hasn't changed since they stopped working? Any new modules added, configurations, updates, etc..?
 
Strange iP addresses. Have you been changing your IP addresses? First it seems that you had:
69.90.155.70 for the server
69.90.168.5 for the phone

At this point, the server didn't recognize user AMPUSER or extension 513 which is [email protected]

Then the IP addresses changed to

192.168.1.120 server?
192.168.1.21 phone?

Then you are using IP address 111.111.111.111 ? That isn't even in the same subnet. Did you make that up? with user 1111111?

And there is a extension [email protected] which looks like the internal extension that you are testing with.

Later the server IP changes again to
192.168.1.20

I would doublecheck your IP addresses, expecially 111.111.111.111 - that one doesn't make any sense.
 
192.168.1.21 is the Asterisk server
192.168.1.120 is the iax phone ( 1060 )
69.90.155.70 should be FWD
69.90.168.5 also FWD?
111.111.111.111 is my external ip ( i changed this for privacy reasons )
513 = [email protected] ( The O_ is the CID name prefix and the rest is wat FWD sends as CID when you click the call me button.

In the mean time i have done a fresh install, with just one trunk and two extensions. It still does not work. :banghead:
I even checked with nmap and i see those pachets reaching the router ( from outside my own network ) But i'm still not able to see what's happening on my private network. I 've tried to get logging going in IPtables, but it failed.
 
I'm getting pretty desperate now. I've bee trying for 4 weekt to get it going again. I've bought another router, reinstalled piaf several times, tried everything with or without fierewall, tried everything from every forum and still i've got the same problem. My phone rings, but the other side does not seem to get the message that the phone is answered.
I've made another log from what happens when i press the "call me" butten from FreeWorldDialup
. It was made with sip debug an rtp debug on. It is at http://hjm.nu/problem.htm . I hope some expert will have a look. Thanks
 
hjm

I'm having the exact same problem with Asterisk 1.4.20.1. Everything works except incoming calls. External extensions can register and could be called from the internal extensions and they work perfectly, however, external extensions or incoming DID calls keep ringing from the outside then eventually gets a busy signal after about 25 seconds.

Please let me know if and when you find a solution to this problem.

If the only solution is giving the box a public IP then I'll have to do that.

Thanks in advance.

Rob.
 
angoyr,

As of today my problem is solved. I have tried everything for eight weeks. Asked my provider ( alice.nl ) several times if they where blocking somethng. The answer was no. Today my new adsl line ( xs4all.nl ) was delivered and PIAF started working again.:smile5:

Henk
 

Members online

Forum statistics

Threads
26,688
Messages
174,412
Members
20,259
Latest member
Fadeek86
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top