Re: [asterisk-users] Fax Problem on direct FXO port

2012-05-17 Thread Steve Underwood

Hi Sebastian,

"has still some issues that not all faxes pass ok, but does the work" == 
still badly broken


Your log doesn't seem to show a spandsp error. It looks more like a bad 
signal. Did you change anything else when you installed FFA? Usually 
people move the other way to improve their results.


Steve


On 05/18/2012 09:38 AM, Sebastian Gutierrez wrote:

Rusty,

thanks for the reply, the issue seems a spandsp issue, I changed to 
digium free asterisk fax and works much better, has still some issues 
that not all faxes pass ok, but does the work.


thanks!



On May 17, 2012, at 1:06 PM, Rusty Newton wrote:


Sebastian,

 Seeing as this an issue related to faxing using the SpanDSP library; 
if you do not get an answer leading to a solution here, then you may 
try asking on the SpanDSP mailing list 
http://lists.soft-switch.org/mailman/listinfo


It's likely that the Asterisk users, specifically using SpanDSP, may 
be on that list.


Thanks,

Rusty Newton
Open Source Community Support Manager
Digium, Inc |www.digium.com  |www.asterisk.org

On 5/16/2012 12:44 PM, Sebastian Gutierrez wrote:

Hi,


I´m with asterisk 1.6.2.20
DAHDI Version: 2.5.0.2 Echo Canceller: HWEC, MG2
SpanDSP: spandsp-0.0.6pre20.tgz 



FXO lines.

Sending faxes works ok.

but receiving gives me error:

here is the debug:

http://pastebin.com/qfFeXWQW


any idea??


Thanks!





--
_
-- 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 Problem on direct FXO port

2012-05-17 Thread Sebastian Gutierrez
Rusty,

thanks for the reply, the issue seems a spandsp issue, I changed to digium free 
asterisk fax and works much better, has still some issues that not all faxes 
pass ok, but does the work.

thanks!



On May 17, 2012, at 1:06 PM, Rusty Newton wrote:

> Sebastian,
> 
>  Seeing as this an issue related to faxing using the SpanDSP library; if you 
> do not get an answer leading to a solution here, then you may try asking on 
> the SpanDSP mailing list http://lists.soft-switch.org/mailman/listinfo
> 
> It's likely that the Asterisk users, specifically using SpanDSP, may be on 
> that list.
> 
> Thanks,
> 
> Rusty Newton
> Open Source Community Support Manager
> Digium, Inc | www.digium.com | www.asterisk.org
> 
> On 5/16/2012 12:44 PM, Sebastian Gutierrez wrote:
>> 
>> Hi,
>> 
>> 
>> I´m with asterisk 1.6.2.20
>> DAHDI Version: 2.5.0.2 Echo Canceller: HWEC, MG2
>> SpanDSP: spandsp-0.0.6pre20.tgz
>> 
>> FXO lines.
>> 
>> Sending faxes works ok.
>> 
>> but receiving gives me error: 
>> 
>> here is the debug:
>> 
>> http://pastebin.com/qfFeXWQW
>> 
>> 
>> any idea??
>> 
>> 
>> Thanks!
>> 
>> 
>> 
>> --
>> _
>> -- 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
> --
> _
> -- 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

--
_
-- 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] how to set iaxmodem receiving speed

2012-05-17 Thread Tim Nelson
- Original Message -
> On 05/17/2012 07:53 AM, Andrew Furey wrote:
> > we use ActiveFax for sending (interfaced from an ERP package) and
> > often get Comm Error 283 and incomplete faxes. If it's just making
> > a
> > bad situation worse, how is it that our solution of turning off ECM
> > mode fixes it 98% of the time? I'm curious.
> 
> Because apparently the ECM protocol in ActiveFax is broken.
> 
> If disabling a feature that is designed to *improve* fax reliability
> and
> performance actually does the opposite, then there's no other
> explanation than to conclude that the implementation of that feature
> is
> broken in the product you're using.
> 

I was about to write a response to this, you nailed it on the head. :)

--Tim

--
_
-- 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] how to set iaxmodem receiving speed

2012-05-17 Thread Tim Nelson
- Original Message -
> Hi guys, thanks for answers.
> 
> That could seem counter-intuitive but it is not. Not to mention the
> fact
> that information technology is not science, 

Huh? It is indeed very much a science. You have known established facts, 
processes, concepts, methods for testing and implementing those elements.

> the solution to broken faxes
> is to lower down speed. This works even with normal telco lines even

*Sometimes* lowering speeds can help get faxes through, but you're missing the 
big picture. Fax is sensitive to latency, jitter, timing, interference, audio 
clipping, etc. Simply lowering your speed will not magically make all of those 
issues go away. You need to be looking at finding a solution to the root cause 
of the problem, not throwing some odd ideas at the symptoms.

> if
> you DO NOT have a pbx (telco technicians even say not to make faxes
> pass
> thru your PBX). I could ask my customer's telco to lower the speed
> down

How would the telco lower the speed of your customer's fax gear? Unless they 
have direct control of it, or are providing some sort of T.38<->T.30 service, 
the only way I can think of is they would have to introduce a problem on the 
line that would force the fax sender/receiver to force a lower speed during 
normal negotiation. Someone please correct me if I'm wrong?

> but it depends on the guy working at the call-center...sometime you
> talk
> to dummy people who ARE sure it is impossible. But it is not. So, I
> do
> not want to spend days to convince people working at that telco
> call-center that what I'm asking is feasible and I do not want to
> tell
> my customer to tell their customer to lower their faxes speed (before
> installing our PBX they were able to send perfect faxes so, why
> should
> they?).

Again, your PBX/equipment/whatever can be 100% the best, most reliable system 
ever to be installed. BUT, if you have senders that are on poor lines, running 
over VoIP, or have a multitude of other issues, the problem lies with them. 
There is not much you can do to solve this.

> 
> My idea was to tell iaxmodem not to accept fast speed rates so the
> fax
> machine on the other side should be forced to negotiate a slower
> speed
> as if my customer fax weren't virtual as iaxmodem is but a real one.
> 
> I suspect that the problem is about the primary lines because I
> tested
> iaxmodem many times on my LAN and it is (surprisingly :) ) working
> fine

Yes, performance *can* be good on an unloaded LAN. But again, it is fax over 
VoIP which means tomorrow it may not work because Jim Bob over in accounting is 
updating Windows, watching Youtube, downloading some music via Bittorrent, and 
backing up his machine to the fileserver. Point being, network performance is 
100% responsible for your local IAXmodem experience over the LAN. :)

> (10 good received faxes out of 10 sent!!!) but, as you may know,
> talking
> to telco technician is a nightmarethey always say problems are
> always on the PBX side... :(

I'm sure that is standard procedure. If you were in their shoes, would you want 
to deal with every possible PBX issue that comes around? I'm not saying it's 
right, just that's the way it is. 

> 
> Moreover, after sending a fax, the fax machine beeps correctly as the
> fax was correctly sent without corruption. :o

No, the fax machine beeps to say the fax was *SENT*. Whether or not there was 
any corruption is entirely up to the sender/receiver to determine, typically 
with copy quality checking or ECM.

> 
> I hope I have made my point but I'll try do dig deeper inside the
> problem as you suggested me.
> 

A point was indeed made.

--Tim

--
_
-- 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] dlz-ldap-enum - expose LDAP data to Asterisk via ENUM

2012-05-17 Thread Daniel Pocock


I've recently released a dlz ENUM module for the bind9 nameserver:

   http://www.opentelecoms.org/dlz-ldap-enum

Basically, it handles ENUM queries from Asterisk, FreeSWITCH, repro,
Kamailio, Lumicall, searches for the phone number in ENUM, and if found,
returns the email address as both a SIP address and Jabber address

This should make it even easier than ever before to get federated VoIP
up and running using email addresses interchangeably with phone numbers.
 If the data already exists in LDAP as an address book, then just
install bind9, install the module and you're up and running.

Regards,

Daniel

--
_
-- 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 Problem on direct FXO port

2012-05-17 Thread Rusty Newton

Sebastian,

 Seeing as this an issue related to faxing using the SpanDSP library; 
if you do not get an answer leading to a solution here, then you may try 
asking on the SpanDSP mailing list 
http://lists.soft-switch.org/mailman/listinfo


It's likely that the Asterisk users, specifically using SpanDSP, may be 
on that list.


Thanks,

Rusty Newton
Open Source Community Support Manager
Digium, Inc | www.digium.com | www.asterisk.org


On 5/16/2012 12:44 PM, Sebastian Gutierrez wrote:

Hi,


I´m with asterisk 1.6.2.20
DAHDI Version: 2.5.0.2 Echo Canceller: HWEC, MG2
SpanDSP: spandsp-0.0.6pre20.tgz 



FXO lines.

Sending faxes works ok.

but receiving gives me error:

here is the debug:

http://pastebin.com/qfFeXWQW


any idea??


Thanks!



--
_
-- 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
--
_
-- 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] how to set iaxmodem receiving speed

2012-05-17 Thread Lee Howard

On 05/17/2012 07:53 AM, Andrew Furey wrote:
we use ActiveFax for sending (interfaced from an ERP package) and 
often get Comm Error 283 and incomplete faxes. If it's just making a 
bad situation worse, how is it that our solution of turning off ECM 
mode fixes it 98% of the time? I'm curious.


Because apparently the ECM protocol in ActiveFax is broken.

If disabling a feature that is designed to *improve* fax reliability and 
performance actually does the opposite, then there's no other 
explanation than to conclude that the implementation of that feature is 
broken in the product you're using.


Thanks,

Lee.

--
_
-- 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] how to set iaxmodem receiving speed

2012-05-17 Thread Lee Howard

On 05/17/2012 07:40 AM, gincantalupo wrote:
That could seem counter-intuitive but it is not. Not to mention the 
fact that information technology is not science, the solution to 
broken faxes is to lower down speed.


The DSP algorithms change slightly between bitrates and considerably 
between modulations.  Changing the modulation/demodulation algorithms 
can many times avoid problems caused by some type of line audio 
disturbance.  This is why fax machines and fax applications are 
programmed to try various bitrates and modulations when training is 
failing at the default settings.


Because historically most fax machines have supported V.17 14400 bps as 
a default it became customary for support technicians to suggest 
"slowing" it down to 9600 bps.  (I think that the real intent here was 
to switch to V.29 9600 bps, but in practice it often results in V.17 
9600 bps.)  The purpose in this isn't really so that the communication 
takes longer (you can imagine that stretching-out data over a longer 
period would increase the likelihood of some audio disturbance affecting 
the demodulation), but instead I believe that the purpose in this 
recommendation is to cause a change in the DSP algorithms.


Now, disabling ECM (error correction) is just plain wrong as long as the 
ECM protocol is implemented properly on both ends.  If ECM protocol is 
implemented properly on both ends (and most are implemented well-enough 
that this applies to them) then ECM should be left enabled.  By 
disabling a well-implemented ECM feature you're essentially making the 
claim that the remote-side ECM protocol is broken.


If disabling ECM actually makes things work and you never get a 
corrupted fax image come through after that then it only means that one 
or both of the endpoints had faulty ECM protocol.


Some technicians (including those working for fax machine manufacturers) 
will recommend disabling ECM if faxes aren't getting through.  While 
this may have originated with the purpose of avoiding problems in faulty 
ECM protocol I think that any regular use of this suggestion is simply 
to get the customer to go away.  The customer will see a page come 
through with streaks and lines, but it will be "successful", and so 
they'll unfortunately be happy with that enough to let the technician 
off-the-hook with the "disable ECM" advice instead of actually fixing 
the real problem (either getting the line audio quality problem 
corrected or fixing the broken ECM protocol).


My idea was to tell iaxmodem not to accept fast speed rates so the fax 
machine on the other side should be forced to negotiate a slower speed 


And what you were doing with the HylaFAX modem config file for the 
iaxmodem should have worked to do this.  Why it wasn't working can only 
be determined by investigating your installation.


Thanks,

Lee.


--
_
-- 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] realtime configuration for /etc/dahdi/system.conf

2012-05-17 Thread Rusty Newton

Kamlesh,

 Out of curiosity, what was your driving reason for wanting to do this?

Thanks,

Rusty Newton
Open Source Community Support Manager | Digium, Inc | www.digium.com
Desk/Cell/Fax : 256-428-6200


On 5/17/2012 7:38 AM, Kamlesh Kumar wrote:

Hi,

can we load the settings of /etc/dahdi/system.conf from database table 
in real time.


thanks,
Kamlesh


--
_
-- 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
--
_
-- 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] how to set iaxmodem receiving speed

2012-05-17 Thread Andrew Furey
On 17 May 2012 22:40, gincantalupo  wrote:
> That could seem counter-intuitive but it is not. Not to mention the fact
> that information technology is not science, the solution to broken faxes is
> to lower down speed. This works even with normal telco lines even if you DO
> NOT have a pbx (telco technicians even say not to make faxes pass thru your
> PBX). I could ask my customer's telco to lower the speed down but it depends
> on the guy working at the call-center...sometime you talk to dummy people
> who ARE sure it is impossible. But it is not. So, I do not want to spend
> days to convince people working at that telco call-center that what I'm
> asking is feasible and I do not want to tell my customer to tell their
> customer to lower their faxes speed (before installing our PBX they were
> able to send perfect faxes so, why should they?).
>
> My idea was to tell iaxmodem not to accept fast speed rates so the fax
> machine on the other side should be forced to negotiate a slower speed as if
> my customer fax weren't virtual as iaxmodem is but a real one.
>
> I suspect that the problem is about the primary lines because I tested
> iaxmodem many times on my LAN and it is (surprisingly :) ) working fine (10
> good received faxes out of 10 sent!!!) but, as you may know, talking to
> telco technician is a nightmarethey always say problems are always on
> the PBX side... :(
>
> Moreover, after sending a fax, the fax machine beeps correctly as the fax
> was correctly sent without corruption. :o

And as a matching data point, we use ActiveFax for sending (interfaced
from an ERP package) and often get Comm Error 283 and incomplete
faxes. If it's just making a bad situation worse, how is it that our
solution of turning off ECM mode fixes it 98% of the time? I'm
curious. (We know it's fixed as often we're the receiver, and we can
see the correct fax come through.)

Sometimes we lower the speed too (to 9600) but often simply disabling
ECM is the solution.

Regards,
Andrew

-- 
Linux supports the notion of a command line or a shell for the same
reason that only children read books with only pictures in them.
Language, be it English or something else, is the only tool flexible
enough to accomplish a sufficiently broad range of tasks.
                          -- Bill Garrett

--
_
-- 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] how to set iaxmodem receiving speed

2012-05-17 Thread gincantalupo

Hi guys, thanks for answers.

That could seem counter-intuitive but it is not. Not to mention the fact 
that information technology is not science, the solution to broken faxes 
is to lower down speed. This works even with normal telco lines even if 
you DO NOT have a pbx (telco technicians even say not to make faxes pass 
thru your PBX). I could ask my customer's telco to lower the speed down 
but it depends on the guy working at the call-center...sometime you talk 
to dummy people who ARE sure it is impossible. But it is not. So, I do 
not want to spend days to convince people working at that telco 
call-center that what I'm asking is feasible and I do not want to tell 
my customer to tell their customer to lower their faxes speed (before 
installing our PBX they were able to send perfect faxes so, why should 
they?).


My idea was to tell iaxmodem not to accept fast speed rates so the fax 
machine on the other side should be forced to negotiate a slower speed 
as if my customer fax weren't virtual as iaxmodem is but a real one.


I suspect that the problem is about the primary lines because I tested 
iaxmodem many times on my LAN and it is (surprisingly :) ) working fine 
(10 good received faxes out of 10 sent!!!) but, as you may know, talking 
to telco technician is a nightmarethey always say problems are 
always on the PBX side... :(


Moreover, after sending a fax, the fax machine beeps correctly as the 
fax was correctly sent without corruption. :o


I hope I have made my point but I'll try do dig deeper inside the 
problem as you suggested me.


Thank you. :)

Giorgio

On 05/17/2012 04:02 PM, Tim Nelson wrote:

- Original Message -

- Original Message -

Hi Steve,

you are telling me there is no way to set a particular speed on my
iaxmodem in order to force the sender speed?
I have some problems with a customer who gets malformed faxes even
if
no
error occurs. Since I cannot tell the sender to lower its fax
speed,
my
idea is to force my iaxmodem to a lower fixed speed so the sender
is
oblidged to negotiate at that speed (or lower, of course) without
the
customer could realize it, at least at first. :)
There is no ATA in the middle (I'm using it for my tests but my
customer
does not have any), all faxes are received thru a primary channel
to
a
bunch of iaxmodems. Sometimes some faxes are corrupted, that's why
I
thought to lower the speed. I could try to disable ECM but that's
even
harder to do (found nothing on internet).


You're getting corrupted fax data and want to solve that problem by
*disabling* ECM? That seems counter-intuitive to me...

How are your fax calls coming into your system
(PSTN->???->Asterisk->IAXmodem->Hylafax)? If you have VoIP somewhere
in the call path, you'll likely keep bashing your head on the table
trying to fix problems that will never go away. Also, don't be
afraid to recognize sometimes your side (as the receiver) is working
perfectly well, and sometimes there just isn't anything you can do
about senders on bad lines/sending over VoIP/etc. The quality of a
fax session is only as good as the weakest link contained within
that session, including the call path from sender to receiver.

Also, while there are some brilliant experienced people here on the Asterisk 
lists, you may have better luck and traction by heading over to the iaxmodem 
and hylafax mailing lists. Or, at least you may get a different audience with 
different ideas/experience.

--Tim

--
_
-- 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




--
_
-- 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] how to set iaxmodem receiving speed

2012-05-17 Thread Tim Nelson
- Original Message -
> - Original Message -
> > Hi Steve,
> > 
> > you are telling me there is no way to set a particular speed on my
> > iaxmodem in order to force the sender speed?
> > I have some problems with a customer who gets malformed faxes even
> > if
> > no
> > error occurs. Since I cannot tell the sender to lower its fax
> > speed,
> > my
> > idea is to force my iaxmodem to a lower fixed speed so the sender
> > is
> > oblidged to negotiate at that speed (or lower, of course) without
> > the
> > customer could realize it, at least at first. :)
> > There is no ATA in the middle (I'm using it for my tests but my
> > customer
> > does not have any), all faxes are received thru a primary channel
> > to
> > a
> > bunch of iaxmodems. Sometimes some faxes are corrupted, that's why
> > I
> > thought to lower the speed. I could try to disable ECM but that's
> > even
> > harder to do (found nothing on internet).
> > 
> 
> You're getting corrupted fax data and want to solve that problem by
> *disabling* ECM? That seems counter-intuitive to me...
> 
> How are your fax calls coming into your system
> (PSTN->???->Asterisk->IAXmodem->Hylafax)? If you have VoIP somewhere
> in the call path, you'll likely keep bashing your head on the table
> trying to fix problems that will never go away. Also, don't be
> afraid to recognize sometimes your side (as the receiver) is working
> perfectly well, and sometimes there just isn't anything you can do
> about senders on bad lines/sending over VoIP/etc. The quality of a
> fax session is only as good as the weakest link contained within
> that session, including the call path from sender to receiver.

Also, while there are some brilliant experienced people here on the Asterisk 
lists, you may have better luck and traction by heading over to the iaxmodem 
and hylafax mailing lists. Or, at least you may get a different audience with 
different ideas/experience.

--Tim

--
_
-- 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] how to set iaxmodem receiving speed

2012-05-17 Thread Steve Underwood

On 05/17/2012 02:47 PM, gincantalupo wrote:

Hi Steve,

you are telling me there is no way to set a particular speed on my 
iaxmodem in order to force the sender speed?
I have some problems with a customer who gets malformed faxes even if 
no error occurs. Since I cannot tell the sender to lower its fax 
speed, my idea is to force my iaxmodem to a lower fixed speed so the 
sender is oblidged to negotiate at that speed (or lower, of course) 
without the customer could realize it, at least at first. :)
There is no ATA in the middle (I'm using it for my tests but my 
customer does not have any), all faxes are received thru a primary 
channel to a bunch of iaxmodems. Sometimes some faxes are corrupted, 
that's why I thought to lower the speed. I could try to disable ECM 
but that's even harder to do (found nothing on internet).
You have a broken installation, and your response is to try to break it 
even more. Does that make sense?


Steve


--
_
-- 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] how to set iaxmodem receiving speed

2012-05-17 Thread Tim Nelson
- Original Message -
> Hi Steve,
> 
> you are telling me there is no way to set a particular speed on my
> iaxmodem in order to force the sender speed?
> I have some problems with a customer who gets malformed faxes even if
> no
> error occurs. Since I cannot tell the sender to lower its fax speed,
> my
> idea is to force my iaxmodem to a lower fixed speed so the sender is
> oblidged to negotiate at that speed (or lower, of course) without the
> customer could realize it, at least at first. :)
> There is no ATA in the middle (I'm using it for my tests but my
> customer
> does not have any), all faxes are received thru a primary channel to
> a
> bunch of iaxmodems. Sometimes some faxes are corrupted, that's why I
> thought to lower the speed. I could try to disable ECM but that's
> even
> harder to do (found nothing on internet).
> 

You're getting corrupted fax data and want to solve that problem by *disabling* 
ECM? That seems counter-intuitive to me...

How are your fax calls coming into your system 
(PSTN->???->Asterisk->IAXmodem->Hylafax)? If you have VoIP somewhere in the 
call path, you'll likely keep bashing your head on the table trying to fix 
problems that will never go away. Also, don't be afraid to recognize sometimes 
your side (as the receiver) is working perfectly well, and sometimes there just 
isn't anything you can do about senders on bad lines/sending over VoIP/etc. The 
quality of a fax session is only as good as the weakest link contained within 
that session, including the call path from sender to receiver.

--Tim

--
_
-- 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] realtime configuration for /etc/dahdi/system.conf

2012-05-17 Thread Kevin P. Fleming

On 05/17/2012 07:38 AM, Kamlesh Kumar wrote:


can we load the settings of /etc/dahdi/system.conf from database table
in real time.


No. Since these settings are associated with physical connections on the 
server, it seems quite unlikely that being able to change them in 
realtime would ever be useful.


--
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
Jabber: kflem...@digium.com | SIP: kpflem...@digium.com | Skype: kpfleming
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at www.digium.com & www.asterisk.org

--
_
-- 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] realtime configuration for /etc/dahdi/system.conf

2012-05-17 Thread Kamlesh Kumar




Hi, can we load the settings of /etc/dahdi/system.conf from database table in 
real time.  thanks,Kamlesh  --
_
-- 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] how to set iaxmodem receiving speed

2012-05-17 Thread Larry Moore

On 17/05/2012 2:47 PM, gincantalupo wrote:

Hi Steve,

you are telling me there is no way to set a particular speed on my 
iaxmodem in order to force the sender speed?
I have some problems with a customer who gets malformed faxes even if 
no error occurs. Since I cannot tell the sender to lower its fax 
speed, my idea is to force my iaxmodem to a lower fixed speed so the 
sender is oblidged to negotiate at that speed (or lower, of course) 
without the customer could realize it, at least at first. :)
There is no ATA in the middle (I'm using it for my tests but my 
customer does not have any), all faxes are received thru a primary 
channel to a bunch of iaxmodems. Sometimes some faxes are corrupted, 
that's why I thought to lower the speed. I could try to disable ECM 
but that's even harder to do (found nothing on internet).




Hi Giorgio,

You may want to try these settings to set the most basic form of 
transmission on your receiving modems, I would however have thought, ECM 
being on would be better for you as it could then deal with lost frames.


Class1MRSupport:no
Class1MMRSupport:   no
Class1ECMSupport:   no

To set the ECM frame size to a lower value than the default of 64, you 
would set the following


Class1PersistentECM:yes
Class1ECMFrameSize: 64

Perhaps the corruption is occurring at the senders end before the data 
is pushed through the modem.


Cheers,

Larry.

--
_
-- 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] groups and categories

2012-05-17 Thread Julian Lyndon-Smith
I know that I should know this. But I'm having serious brain farts at the
moment.

I want to have a call be counted in a number of ways

outbound
inbound
potential

so, for example, a call comes into my  dialplan, I want to add it to

TotalCalls (all calls inbound + outbound)
InboundCalls (all inbound calls)
Potenial (all inbound  calls that may potentially enter a conference)
Potenial (all inbound  calls that may potentially enter a conference by
conference name)

the potential category needs to be decremented when the call actually
enters a conference

so, I have

exten => _[0-9A-Za-z].,n,Set(GROUP(conference)=TotalCalls)
exten => _[0-9A-Za-z].,n,Set(GROUP(conference)=Inbound)
exten => _[0-9A-Za-z].,n,Set(GROUP(conference)= Potenial)
exten => _[0-9A-Za-z].,n,Set(GROUP()= Potenial_${CONFNAME})

group_count(inbound)
group_count(inbound@conference)
group_count(potential@conference)
group_count(potential_${CONFNAME} )

however, when the call enters the conference, I need to unset the potential
calls groups

how do I do this ?

/me feels very very stupid

Julian

-- 
Julian Lyndon-Smith
IT Director, Dot R Limited

"I don’t care if it works on your machine!  We are not shipping your
machine!”

The kangaroo dances: http://www.youtube.com/watch?v=MAWl5iYOaUg
--
_
-- 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