AsteriskNOW Install - 10 Second disconnect extension to extension

Posted at 11:22:14 PM in Installations (49) | Read count: 3193

I discovered more important information on the proper network setup. I was getting disconnected on calls to voice mail, attempting to record greetings, echo test or just calling another extension. I believed it was caused by one of the upgrades to FreePBX or Asterisk addons. I ended up installing AsteriskNOW 3 times before I found the problem.

1. VERBOSE settings in CLI will not give the error. I also discovered that the extra v's you see after the -r sets the level of verbosity. The default is level 3. By typing asterisk -rvvvvv you will see a message on the CLI screen that indicates the old verbosity and the new level which I believe the above would give level 4. But again, it doesn't show the problem in CLI. 

What I saw was "Spawn extension (from-internal, *43, 4) exited non-zero on 'SIP/1014-00000000" and then the steps to hang up the call. These fired about 10 seconds after the call was started.

I finally ran tail -f /var/log/asterisk/full which added two lines just before this spawn from hell.


[Feb 12 00:30:29] WARNING[4357] chan_sip.c: Maximum retries exceeded on transmission 50ac34bf-32b2571f@ for seqno 102 (Critical Response) -- See doc/sip-retransmit.txt

[Feb 12 00:30:29] WARNING[4357] chan_sip.c: Hanging up call 50ac34bf-32b2571f@ - no reply to our critical packet (see doc/sip-retransmit.txt).

I did a Google search on chan_sip Maximum retries exceeded on transmission and found the solution. ( This guy actually had to come back an answer his own question after much searching. His solution was to edit the sip.conf file which I had already explained in a separate entry that FreePBX maintain that file so we can't put anything in it if we don't want it to be overwritten. So I had to find how to do it in FreePBX.

In order to get to the SIP settings in FreePBX, the Asterisk SIP settings Module needs to be installed from the Module menu.

Then you should have a screen like this: 


What I didn't realize was the need to include all of the subnets that my phones have to pass through. I also mentioned before that the outside address is Nat'd through a IPCOP firewall, and that's the local network address I originally used. However, my office is on the GREEN network which has a different subnet and I'm also behind a router. Each subnet needed to be added by clicking the Add Local Network Field. Once it was submitted at applied, the disconnects on my calls ceased!



Written by Leonard Rogers on Saturday, February 11, 2012 | Comments (0)

    Email address is not published
    Remember Me

    CAPTCHA Reload
    Write the characters in the image above