Hi How do i set up so that everyone can dial, for example *21* to forward all calls to a cellphone or another extension and how do I enable so that cals can be transferd between extentions. I use asterisk 1.6 and have my phones in unistim.conf and my extensions in extensions.conf. Regards /ralf ________________________________________________ Ralf Tr?skman, IT AdLibris AB, Odengatan 106, 113 22 Stockholm, Sweden Dir: +46-(0)707548074, vxl: +46-(0)85460 60 00, fax: +46-(0)85460 60 99 ralf at adlibris.com<mailto:ralf at adlibris.com> www.adlibris.com<http://www.adlibris.com/> P Please consider the environment before printing this e-mail -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090120/f0fc630c/attachment.htm
features.conf 2009/1/20 Ralf Tr?skman <ralf at adlibris.com>> Hi > > > > How do i set up so that everyone can dial, for example **21** to forward > all calls to a cellphone or another extension and how do I enable so that > cals can be transferd between extentions. > > > > I use asterisk 1.6 and have my phones in unistim.conf and my extensions in > extensions.conf. > > > > Regards > > /ralf > > > > ________________________________________________ > > Ralf Tr?skman, IT > AdLibris AB, Odengatan 106, 113 22 Stockholm, Sweden > Dir: +46-(0)707548074, vxl: +46-(0)85460 60 00, fax: +46-(0)85460 60 99 > ralf at adlibris.com www.adlibris.com > P *Please consider the environment before printing this e-mail* > > > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- (\__/) (='.'=)This is Bunny. Copy and paste bunny into your (")_(")signature to help him gain world domination. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090120/09091485/attachment.htm
features.conf for transfers
for call forwardin you need some application logic.
e.g.
_**21**. => {
Set(NUM=${EXTEN:6}); // contains the new target
// now store this number somewhere, e.g. astdb, odbc ...
...
}
context fromPstn {
1234 => {
// check if user has actived forwarding
// retrieve NUM from astdb or ODBC
if(${EXISTS(${NUM})}) {
Dial(DAHDI/g1/${NUM});
} else {
Dial(SIP/${EXTEN});
}
}
}
regards
klaus
Ralf Tr?skman schrieb:> Hi
>
>
>
> How do i set up so that everyone can dial, for example **21** to forward
> all calls to a cellphone or another extension and how do I enable so
> that cals can be transferd between extentions.
>
>
>
> I use asterisk 1.6 and have my phones in unistim.conf and my extensions
> in extensions.conf.
>
>
>
> Regards
>
> /ralf
>
>
>
> ________________________________________________
>
> Ralf Tr?skman, IT
> AdLibris AB, Odengatan 106, 113 22 Stockholm, Sweden
> Dir: +46-(0)707548074, vxl: +46-(0)85460 60 00, fax: +46-(0)85460 60 99
> ralf at adlibris.com <mailto:ralf at adlibris.com> www.adlibris.com
> <http://www.adlibris.com/>
> P *Please consider the environment before printing this e-mail*
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
Hi
Where do i put this, and what shall i change do make it work for me?
/ralf
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces
at lists.digium.com] On Behalf Of Klaus Darilion
Sent: den 20 januari 2009 18:17
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Forwarding calls and trasfer calls
features.conf for transfers
for call forwardin you need some application logic.
e.g.
_**21**. => {
Set(NUM=${EXTEN:6}); // contains the new target
// now store this number somewhere, e.g. astdb, odbc ...
...
}
context fromPstn {
1234 => {
// check if user has actived forwarding
// retrieve NUM from astdb or ODBC
if(${EXISTS(${NUM})}) {
Dial(DAHDI/g1/${NUM});
} else {
Dial(SIP/${EXTEN});
}
}
}
regards
klaus
Ralf Tr?skman schrieb:> Hi
>
>
>
> How do i set up so that everyone can dial, for example **21** to forward
> all calls to a cellphone or another extension and how do I enable so
> that cals can be transferd between extentions.
>
>
>
> I use asterisk 1.6 and have my phones in unistim.conf and my extensions
> in extensions.conf.
>
>
>
> Regards
>
> /ralf
>
>
>
> ________________________________________________
>
> Ralf Tr?skman, IT
> AdLibris AB, Odengatan 106, 113 22 Stockholm, Sweden
> Dir: +46-(0)707548074, vxl: +46-(0)85460 60 00, fax: +46-(0)85460 60 99
> ralf at adlibris.com <mailto:ralf at adlibris.com> www.adlibris.com
> <http://www.adlibris.com/>
> P *Please consider the environment before printing this e-mail*
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users