* You are viewing the archive for May 3rd, 2012

Fax .pdf from Asterisk

Hello,

I want to send out 1000 faxes. I have an excel sheet of numbers and I have
Asterisk 1.8 installed from repository. I don’t want to use a fax machine
or any ATAs or analogue equipment. How would Asterisk help me with faxing
these? and what add-ons do I need to make this possible?

I can work my way around doing bash script and do Asterisk spool files, but
I am unclear as to what happens from that point on to getting the result of
fax sent or not. Some guidance is much appreciated.

Thanks,
Bruce

AMI disconnects

On 12-05-03 01:45 PM, Mike Diehl wrote:
> Hi all.
>
> I’ve got a perl script that connects to Asterisk’s management interface using Asterisk::AMI. So far, its proven to be very useful.
>
> I’m hoping to use this to detect and respond to asterisk restarts and sip reloads.
>
> However, my script gets disconnected quite frequently, causing false alarms in my monitoring.
>
> Here’s what the code looks like:
>
> =========================================================
> while ($more) {
> $change = 0;
>
> while (!$ami->connected(5)) {
> Event::Shutdown(Event=>”Shutdown”);
> send_to_subscribers( {“Event” => “Shutdown”, “customer_id” => 0}, “Connection to Asterisk lost on $server”);
>
> $change++;
> sleep(1);
>
> ami_connect();
>
> next;
> }
>
> $watchdog = 10;
> while ($ami->get_event(1)&& $watchdog–) {
> if ($watchdog< 2) { print "Watchdog timer too short.n"; }
> $change++;
> }
>
> Do other stuff from here.
>
> if ($change == 0) {
> sleep(2);
> }
>
> }
>
> exit 1;
> =========================================================
>
> When this scrip disconnects, the asterisk console simply says that the manager logged off from 127.0.0.1 and got logged back on. No reall
> error indication given.
>
> Any suggestions on how to make this script keep it’s connection?
>
This belongs on the asterisk-users list. However, something like StarPY
(Python) has this functionality by using the Twisted. It simply
monitors events on the AMI, and if the connect break, can be setup to
re-connect.

Asterisk Capacity

Hello,

We are currently working on a project where using .call file on asterisk
spool, outbound calls will be made from a pri line and a voice clip will be
played.

We know that pri has a capacity of handling only 30 channels at a time.
Therefore, my worry is what happens if we write 100 files at a time on the
spool. Will asterisk manage the queue or how exactly will it behave.

Regards,

Ashish

End-To-End Secured Communications

Hi,

I’m analyzing how to make Asterisk communications secured End-To-End,
and not sure which is the best approach, SRTP + TLS seems to be secured
but.. at least by default, doesn’t appear to be End-To-End allowing
Asterisk administrators to wiretap communications.. some sites I’ve hear
that with SRTP is also possible End Points exchange keys between them
directly avoiding Man in the Middle, is it possible with asterisk ? how

On the other hand I’ve found ZRTP seems to be secured end-to-end, but we
couldn’t find any IP phones with support for it.. just SoftPhones

Could someone please point me to the right direction ?

Thanks,
Fernando