Re: [asterisk-users] Call drop weirdness

2012-10-23 Thread Brett Lehrer
 I'm running Asterisk 10.7.0 with three sip trunks to my call termination 
 provider. For the most part everything works great.

However, at apparently random times and usually about 20 mins or so into the 
call, the outbound audio stream dies.
The call stays connected and the inbound audio works fine. The thing is, it 
happens on such an irregular basis

(once or twice per day) that I can't get a data dump to see what actually 
happens. Some times there is a bit of artifacting

which takes place just prior to the drop, but mostly

nothing: it just drops.



I've checked and rechecked firewall settings. Bandwidth consumption on the 
Inet link varies, but the dropped audio

happens even on off-peak times.



I'm considering giving the Asterisk box a public IP on one IF and bypassing 
the FW to rule out NAT weirdness.



Any thoughts on things to look at would be greatly appreciated.



Kind Regards,

Chris

I'm not sure if this is any help, but I had a familiar issue to this, except it 
involved transferring to another internal extension.
The symptoms were the same though.  Only outbound audio would cut out and it 
was very sporadic (~10% of transfers).

The issue ended up being with the trunking service and their spotty support 
with UPDATE messages.  We had to disable
rpid_update in sip.conf and a couple other bits that I can't offhand remember.  
I'd check with the trunk provider on the issue.

Best of luck,
Brett Lehrer
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Fax for Asterisk success rates?

2012-10-08 Thread Brett Lehrer
How many fax and voice calls (which codecs for tha latter ones ?) are on
average using your DSL line ?

1. Previously, I experienced failures during the process of converting
incoming PDF documents into ready-to-send fax image files while the reverse
process (from a fax file into a PDF or whatever document) never failed.

I would be curious to check if a greater failure rate for outbound faxing
(greater than inbound faxing failure rate) could simply comes from image
processing, before any transmission.

2. Though your DSL line may have enough bandwidth from your location to its
DSLAM, chances are packets are dropped or delivered too late for T.38
faxing.
An interesting test would be to use an Asterisk PBX hosted somewhere at
close range from netVortex fax gateways : that would remove most
networking issues out of the equation.

I'll have to look more closely into what codecs we traditionally use, but g.722 
up and ulaw down is common.  Generally don't have more than 2-3 calls active at 
once.  At most, 5, and that's a rarity.  Record for fax is 4 simultaneous 
send/receive, but typically just 1, maybe 2.  I imagine that's encroaching on 
the upper limits of the 768 kbps upspeed.  I've wondered about how lag might 
impact the problem but I just don't know how I'd go about testing it properly 
without spending a bunch of money on hosting.  

I do my PDF - TIFF conversion on another machine with ghostscript.  Here's the 
line:

gs -q -dNOPAUSE -dBATCH -dSAFER -sDEVICE=tiffg4 -sOutputFile=TIFF_FILENAME -f 
PDF_FILENAME

I changed from tiffg3 to tiffg4 because the filesize got cut in half assuming 
that the less time spent transmitting, the less chance there was to run into a 
problem that might stop the fax.  However, most failures that I've looked at 
seem to occur immediately or fail to connect at all, rather than get cut off 
due to a hiccup in the connection.

Brett Lehrer


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Fax for Asterisk success rates?

2012-10-04 Thread Brett Lehrer
I'm running Asterisk 1.8.11.1 and am connected to the nexVortex trunking 
service over a DSL line solely dedicated to VoIP usage.  For both incoming and 
outgoing faxes, I'm getting a failure rate of just over 25%, and over a handful 
of reasons.  

Is it natural to have this many problems on a completely digital configuration? 
 I'm trying to cut our analog phone line (because it's so expensive), but some 
fax machines just don't seem to ever accept a fax.  Many of the failures are on 
the same numbers, forcing me to fall back to an old analog fax machine just to 
make sure it actually gets through.

Has anyone else had any similar experiences, or is this indicative of a failure 
in the setup on my end (or even the trunking service)?

Brett Lehrer


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Fax for Asterisk success rates?

2012-10-04 Thread Brett Lehrer
What is the setup you're talking about ?
Is it something like this ?
PSTN  nexVortex T.38 gateway - Internet - DSL modem ---
Asterisk  Fax machine
Olivier,

Sorry, I did a poor job explaining that.  That's basically correct, with the 
receiving end first and our originating end last in your diagram.  For outgoing 
faxes only, this is the setup:

Fax interface (LAN website, in short) - Asterisk PBX - DSL modem - Internet 
- nexVortex trunk - [recipient]

Incoming faxes are generally more reliable, but I still get small number of 
failures.  I've mistakenly overestimated the incoming failure rate.  Don't have 
clean statistics on that, though.


 Unexplainable FAX call failures (i.e. not wrong numbers of other 
obviously wrong things) should be well below 1%. On a dedicated DSL 
line, if everything is set up properly you should be getting that kind 
of rate. This is especially true if you are using T.38 and the provider 
at the far end uses a decent T.38 platform. Across the open internet 
results are much more variable.

Depending what causes your 25% failures, you may get better results with 
spandsp than with FFA.

Steve
I see, thanks.  All of these faxes are going out to unknown, external machines. 
 I have no control over anything on their ends, and the hardware/connection is 
as variable as you could imagine.  I'll definitely look into SpanDSP.  FWIW, 
the dedicated DSL line is just a 6 Mbps up/768 Kbps down Internet connection 
that is solely used by our in-house PBX to connect to the trunk.


However I'd just suggest that you look at the business case for screwing 
around with fax at all.
Oh man, if only...  I'd LOVE to just drop fax completely and use email instead.

Brett Lehrer

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users