Louis-David Mitterrand
2005-Sep-29 06:13 UTC
[Asterisk-Users] chan_cap-cm-0.6 deflect support
Hi, I've recently reinstalled a Diva in my asterisk server (alongside a QuadBRI :-) to test the nice features Armin has been adding in chan_capi. The capi.conf format has changed, so my question is how do I define a deflect= statement for different incoming MSN's? I've tried to define a section for each (group of) MSN with a different "deflect". Is that correct? [DIVA1] isdnmode=msn incomingmsn=146472130 controller=1 group=5 accountcode=diva context=default deflect=0612110618 devices=2 [DIVA2] isdnmode=msn controller=1 group=5 incomingmsn=146472131,146472132,146472133,146472134,146472136 accountcode=diva context=default deflect=0187174173 devices=2 [DIVA3] isdnmode=msn controller=1 group=5 incomingmsn=146472135 accountcode=diva context=default deflect=0780350669 devices=2 Also, is there a way to detect that a SIP phone has an active forward number and capi-deflect any incoming calls to that number?
Hi there: Is there any way to change the language in asterisk to Spanish...I mean I want to change all the dialogs to Spanish in my * box can u help me pls. Hector
hi Hector. Just use the * command "SetLanguage(), passing as argument "es" http://www.voip-info.org/tiki-index.php?page=Asterisk+cmd+SetLanguage for more info check the link, and other related links at the bottom of that page. best regards On 9/29/05, Hector Elias Menjivar <emenjivar@gmail.com> wrote:> > Hi there: > > Is there any way to change the language in asterisk to Spanish...I > mean I want to change all the dialogs to Spanish in my * box can u help me > pls. > > Hector > > _______________________________________________ > --Bandwidth and Colocation sponsored by Easynews.com <http://Easynews.com>-- > > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- "Su nombre es GNU/Linux, no solamente Linux, mas info en http://www.gnu.org" -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050929/8a88ea5d/attachment.htm
Hi thanks.. Where can i find this variable. Hector -----Mensaje original----- De: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] En nombre de Moises Silva Enviado el: Jueves, 29 de Septiembre de 2005 08:03 a.m. Para: Asterisk Users Mailing List - Non-Commercial Discussion Asunto: Re: [Asterisk-Users] Change language to spanish hi Hector. Just use the * command "SetLanguage(), passing as argument "es" http://www.voip-info.org/tiki-index.php?page=Asterisk+cmd+SetLanguage for more info check the link, and other related links at the bottom of that page. best regards On 9/29/05, Hector Elias Menjivar <emenjivar@gmail.com> wrote: Hi there: Is there any way to change the language in asterisk to Spanish...I mean I want to change all the dialogs to Spanish in my * box can u help me pls. Hector _______________________________________________ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- "Su nombre es GNU/Linux, no solamente Linux, mas info en http://www.gnu.org" -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.11.8/114 - Release Date: 28/09/2005 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050929/1d56cea1/attachment.htm
On Thu, 29 Sep 2005, Louis-David Mitterrand wrote:> Hi, > > I've recently reinstalled a Diva in my asterisk server (alongside a > QuadBRI :-) to test the nice features Armin has been adding in > chan_capi. > > The capi.conf format has changed, so my question is how do I define a > deflect= statement for different incoming MSN's? > > I've tried to define a section for each (group of) MSN with a different > "deflect". Is that correct? > > [DIVA1] > isdnmode=msn > incomingmsn=146472130 > controller=1 > group=5 > accountcode=diva > context=default > deflect=0612110618 > devices=2... What exactly do you want to do? You can use capicommand(deflect|xxxx) in extensions.conf to use call deflection.> Also, is there a way to detect that a SIP phone has an active forward > number and capi-deflect any incoming calls to that number?If you can retrieve this information from extensions.conf, then you can use my example above. Anyway, I noticed that the original implementation of deflect specified in capi.conf does not work in all cases. I plan to remove that and to allow capicommand(deflect|...) only. It's not necessary to do that in capi.conf and using different MSNs is difficult too. My idea is provide information about 'this is a call-waiting call, no b-channel' to extensions.conf via a variable. And the user then can decide what to do with that call using all features of the dialplan. I plan to do this for version 0.6.1. Armin