[asterisk-users] How can I assigned an specific port of the T1 to an extension
Juan Cardoza
jcardoza at tpmex.com
Wed Sep 9 14:32:25 CDT 2009
Thanks Steve
Just to complete the information, do I need to load this to the
extensions.conf file, right?
-----Mensaje original-----
De: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] En nombre de Steve Edwards
Enviado el: Miércoles, 09 de Septiembre de 2009 12:45 p.m.
Para: Asterisk Users Mailing List - Non-Commercial Discussion
Asunto: Re: [asterisk-users] How can I assigned an specific port of the T1
to an extension
On Wed, 9 Sep 2009, Juan Cardoza wrote:
> I need to assigned an specific port of a T1 (TE121 card) to an specific
> extension.
Does this mean
1) I want all calls made from extension x to be sent out over channel y?
or
2) I want all calls coming in on channel y to be sent to extension x?
For #1, try
if ("x" = "${EXTEN}")
{
dial(zap/y/55555555555);
};
For #2, try
if ("Zap/y" = "${CHANNEL}")
{
dial(sip/x);
};
(Both examples intended as suggestions, not literal, tested code.)
--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Teleperformance values: Integrity - Respect - Professionalism - Innovation - Commitment
The information contained in this communication is privileged and confidential. The content is intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify me immediately by telephone or e-mail, and delete this message from your systems.
Please consider the environmental impact of needlessly printing this e-mail.
More information about the asterisk-users
mailing list