Foniva Contact Center Software
Asterisk Experts Support

How to show all asterisk command during build

Since asterisk 1.4.X, you may notice that when building, it shows something like :

[CC] app_dial.c -> app_dial.o

Somes may want to see the asterisk full command and see what is being linked. To do so, run

NOISY_BUILD=on make install

You do not appear to have the sources for the `uname -r` kernel installed.

So, this maybe the first error you have when trying to build dahdi.

On CentOS, to fix it, it is simple.

First update yum

yum update

yum upgrade

Know your kernel version

uname -r

Search the package kernel-devel right for your version and install it

yum install kernel-devel kernel-headers

Goto to /lib/modules/ directory

cd /lib/modules/`uname -r`

ls -l

If you see a broken build link out there. Point it to the new installed kernel source in /usr/src/

ln -s /usr/src/kernels/(your-kernel-source-dir) build

Reboot your machine

Now, you should be able to build your dahdi sources.

Enjoy

Foniva just launch a new call center software

Try and check their call center CTI at www.foniva.com

Asterisk configuration templates. Use the (+) option

Hi All

Today we will review the (+) sign in the asterisk configuration files.

This can be applied to any file under the /etc/asterisk directory.

[mycontext]

option1=value1

—- many others stuff —-

[mycontext] (+)

option2=value2

So, basically, in the same file, you can have the same context twice. If the two contexts have the same name and the second one is followed by the (+) options, then both context will be merge.

Notice: If the first context does not exists, the load will fail.

This can be useful if you include one configuration file in another and need to refer to a context in another configuration file.

Enjoy !

Asterisk : spy a conversation

Hi everybody

Today, we will look at the ChanSpy application.

Let say you have channels coming on our asterisk and you want to be able

to hear what people are doing without them knowing that.

Then, Chanspy is for you.

ChanSpy

Synopsis

Listen in on a call. Useful in a call center to monitor agents on the phone.

Description

This adds the ability to spy on any bridged call, this includes VoIP only calls where ZapScan/ZapBarge couldn’t this can.

Chanspy([<chanprefix>][,<options>])

Valid Options:
- b: Only spy on channels involved in a bridged call.
- g(grp): Match only channels where their ${SPYGROUP} variable is set to contain ’grp’ in an optional : delimited list.
- q: Don’t play a beep when beginning to spy on a channel, or speak the selected channel name.
- r[(basename)]: Record the session to the monitor spool directory. An optional base for the filename may be specified.
The default is ’chanspy’.
- v([value]): Adjust the initial volume in the range from -4 to 4. A negative value refers to a quieter setting.

Since 1.4:
- w Enable ’whisper’ mode, so the spying channel can talk to the spied-on channel.
- W Enable ’private whisper’ mode, so the spying channel can talk to the spied-on
channel but cannot listen to that channel.

Since 1.6:
- o: Only listen to audio coming from this channel.
- X: Allow the user to exit ChanSpy to a valid single digit numeric extension in the current context or
the context specified by the SPY_EXIT_CONTEXT channel variable. The name of the last channel
that was spied on will be stored in the SPY_CHANNEL variable.
- e(ext): Enable ’enforced’ mode, so the spying channel can only monitor extensions whose name
is in the ’ext’ : delimited list.

If <chanprefix> is specified, only channel names *beginning* with that string will be scanned.
(’all’ or an empty string are also both valid <chanprefix>)

While spying, the following actions may be performed:

Dialing # cycles the volume level.
Dialing * will stop spying and look for another channel to spy on.
Dialing a series of digits followed by # builds a channel name to append to <chanprefix>
(e.g. run ChanSpy(Agent) and dial 1234# while spying to jump to channel Agent/1234)

Install asterisk on ubuntu (apt-get)

If you don’t want to compile asterisk on ubuntu and you are already using a debian based system like ubuntu,

you can just apt-get asterisk

sudo apt-get update

sudo apt-get upgrade

sudo apt-get install asterisk

Asterisk security : ACL not respected on SIP INVITE

A missing ACL check for handling SIP INVITEs allows a device to make calls on networks intended to be prohibited as defined by the “deny” and “permit” lines in sip.conf. The ACL check for handling SIP  registrations was not affected.

http://www.asterisk.org/security

Asterisk and others PBX monitoring

Here is a great tool to monitor your web services as well as your public phone services

http://www.sysmonitors.com

Asterisk: send and receive fax

You may have search all over the internet about a reliable way to send and receive fax using

asterik and a voip connection or your TDM/T1 card you already have.

Digium have a solution for you.

http://store.digium.com/productview.php?product_code=804-00007

Check their free fax product. Register and install it.

You can use it for free if you need only one conccurent channel. This may be all you need if you have only one outbound line anyway or expect only on fax at the time.

For multiple channels, the pricing is as low as 39.99$

asterisk : Run linux command from asterisk cli

This feature can help you with you want to stay in the asterisk cli while running others linux commands.

To do so, you can prefix the command by ! (exclamation point).

Example :

ouidah*CLI> !date
Wed Aug  5 20:48:22 EDT 2009
ouidah*CLI>

← Previous PageNext Page →


Our sponsors


Asterisk Experts Support