Entries Tagged as 'Voice'

Asterisk Channel Variables and the Asterisk::AGI Perl Module

When calling an AGI from inside your dialplan, you can pass variables to your AGI via the AGI() application call. The AGI() application takes parameters in the following format (note the ‘;’ is only necessary in AEL):

AGI(command|ARG1|ARG2|ARGn);

The additional arguments are useful when passing in non-channel variables such as those you set in your dialplan [...]

Categories: Voice

Debugging AGIs In Asterisk

Trying to debug an AGI in Asterisk can be a frustrating experience. The main problem is that STDERR only outputs to the terminal Asterisk was started from. In most cases, this means the terminal is the server console. If your Asterisk server is sitting in the room you are coding in, that’s [...]

Categories: Voice

VoIP Hairpinning Issues

When using Asterisk and a remote bank of PRIs (or any other form of PSTN connectivity for that matter), you may encounter an issue known as hairpinning. Hairpinning describes what happens when a call coming from the PSTN is routed by the access server (a Cisco AS5300, for example) back out through the PSTN. [...]

Categories: Voice