Trunk takes 8 seconds to pickup

fireman603
Posts: 4
Member Since:
2009-05-12

Has anyone experienced any delays when dialing 9 to pick up an outbound trunk? When I dial 9 for the outside line, it litterally takes 8 seconds before I hear the dialtone.
I have searched and searched and have yet to find any problem like this. I am wondering if this is a hardware issue (old computer) or is it a configuration issue?
The hardware I am using is a 1 GHz machine with 256k of ram. This is the system info page stats.

Type Percent Capacity Free Used Size
- Kernel + applications 58% 127.37 MB
- Buffers 14% 31.02 MB
- Cached 23% 50.89 MB
Disk Swap 0% 760.69 MB 200.00 KB 760.88 MB

File System
Mount Type Partition Percent Capacity Free Used Size
/ ext3 /dev/hda2 4% (1%) 31.96 GB 1.50 GB 35.28 GB
/boot ext3 /dev/hda1 11% (1%) 82.87 MB 10.75 MB 98.72 MB
/dev/shm tmpfs tmpfs 0% (1%) 108.93 MB 0.00 KB 108.93 MB
Totals : 4% 32.15 GB 1.51 GB 35.49 GB

Any body have any suggestions?

Thanks
Mark



badhat
Posts: 18
Member Since:
2009-04-26
Not an expert

When I did my initial testing I used a 2.4ghz Celeron with 1gig PC3200 ram and every time whether it was just calling extensions or making outbound calls over trunk I would notice the CPU would jump to 100% during these processes. So I would think your hardware is definitely your main issue. I would suggest more horsepower!



fireman603
Posts: 4
Member Since:
2009-05-12
Replaced machine, still 8 second pause.

I am still having an 8 seconds delay when dialing 9 to pick up a pots. I replaced my old 1 GHz machine with a 2.8 dual core, with 2 gig of ram. I really don't think it should take it should take 8 seconds to pick up an outside line.

What is the average time does a trunk take to pickup for everyone else?



SkykingOH
Posts: 9540
Member Since:
2007-12-17
I just tested to an analog

I just tested to an analog trunk. I had 1/2 a local ring then it switched to telco ring. The whole process took less than 3 seconds. Nothing special on the configuration.

You might have a bad FXO board.

--

Scott

aka "Skyking"



johnf
Posts: 51
Member Since:
2008-02-16
Zap delays

I found 2 or 3 different reasons why this can happen.

1 Try tightening up your outdial rules, don't just use 9|. Use masks that match the number of digits you actually have to dial. Otherwise asterisk will wait until it thinks you have finished inputting digits.

2 You don't mention the type of analog hardware you use but check that atas etc don't have their own internal dialplan adding delays.

3 Finally this is what really worked for me, but your mileage may vary :

http://www.freepbx.org/forum/freepbx/users/freepbx-2-3-adds-post-...
I was also seeing a 5-second delay dialing between zap extensions that was being caused caused by the bad-number context that this cured.

After frigging around with the above I got pstn out down to 3 secs which as I understand it is as good as asterisk gets and internal zap calls ring as quickly as sip calls.



fireman603
Posts: 4
Member Since:
2009-05-12
TDM400

I am using the TDM400 with one FXO and one FXS. I am only using the 9|. as my dialing rules, so I will tighten it up a bit. I also have 2 spare FXO's that I can try as well, just in case it is a bad board. Thanks for the directional finders, I will give them all a go.

Mark



fireman603
Posts: 4
Member Since:
2009-05-12
Problem Solved

I installed 2 additional FXO modules thinking that might be the issue. It still didn't work. So I tried modifying my outbound rules and it did help a little. That change reduced it from 8 seconds to 6 seconds. I then followed the link http://www.freepbx.org/forum/freepbx/users/freepbx-2-3-adds-post-... and made the change in amportal.conf. I changed the the key AMPBADNUMBER=true to AMPBADNUMBER=false and then rebooted the server. BAM, 2.5 seconds which is totally acceptable in my book. I want to thank SkykingOH and johnf for helping me through this annoying issue that I have had for 2 weeks now. Again, thanks

Mark



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.