abalashov at evaristes... Guest
|
Posted: Thu May 22, 2008 2:18 am Post subject: [asterisk-users] Fwd: - Asterisk Local channel |
|
|
aby azid wrote:
Quote: | Hi,
I have question regarding Asterisk Local channel. Is it possible to
define codec used in Local channel as like in SIP channel?. If it's
possible, how do i do it?
|
Because a local channel is a pseudochannel that just refers to a
particular dial-plan extension, it does not necessarily include a call
leg (such as the kind initiated by Dial()), and thus there is no
inherent conceptual association between a Local channel and a codec.
If you have a Dial() or other command in the dial plan extension
referenced by a local channel, codec rules will apply based on the
technology used - i.e. SIP channels will use a codec according to the
rules for that peer as defined in sip.conf.
But a dial plan extension can do many other things, such as, for
instance, call an AGI script or set an AstDB value or something. In
that case, there is no call being placed through the Local channel, so a
codec is not applicable.
--
Alex Balashov
Evariste Systems
Web : http://www.evaristesys.com/
Tel : (+1) (678) 954-0670
Direct : (+1) (678) 954-0671
Mobile : (+1) (706) 338-8599 |
|