[AsteriskBrasil] features

Rodrigo Lang rodrigoferreiralang em gmail.com
Terça Junho 22 14:51:20 BRT 2010


Daviramos, utilize a opção peer no ActiveOn:

; The syntax for declaring a dynamic feature is the following:
;
;<FeatureName> => <DTMF_sequence>,<ActivateOn>[/
<ActivatedBy>],<Application>[,<AppArguments>[,MOH_Class]]
;
;  FeatureName   -> This is the name of the feature used in when setting the
;                   DYNAMIC_FEATURES variable to enable usage of this
feature.
;  DTMF_sequence -> This is the key sequence used to activate this feature.
;  ActivateOn    -> This is the channel of the call that the application
will be executed
;                   on. Valid values are "self" and "peer". "self" means run
the
;                   application on the same channel that activated the
feature.* "peer"
;                   means run the application on the opposite channel from
the one that
;                   has activated the feature.*
;  ActivatedBy   -> This is which channel is allowed to activate this
feature. Valid
;                   values are "caller", "callee", and "both". "both" is the
default.
;                   The "caller" is the channel that executed the Dial
application, while
;                   the "callee" is the channel called by the Dial
application.
;  Application   -> This is the application to execute.
;  AppArguments  -> These are the arguments to be passed into the
application.
;  MOH_Class     -> This is the music on hold class to play while the idle
;                   channel waits for the feature to complete. If left
blank,
;                   no music will be played.


Assim resolveria seu problema:
teste => 123,peer,AGI,ura.agi,default

Vai na fé que funfa! :D


Ats,
Rodrigo Lang.


Em 22 de junho de 2010 14:33, Daviramos Roussenq Fortunato <
daviramosrf em gmail.com> escreveu:

> Rodrigo, meu problema não é a musica em espera, mas sim a features se
> executada para o CHANNEL contrario ao que fez o pressionamento do DTMF
> pré-configurado.
>
> Em 22 de junho de 2010 14:26, Rodrigo Lang <rodrigoferreiralang em gmail.com>escreveu:
>
> Daviramos, achei o que você precisa (pelo menos na versão 1.6, não sei se
>> possui em versões anteriores):
>>
>>
>> ; The syntax for declaring a dynamic feature is the following:
>> ;
>> ;<FeatureName> =>
>> <DTMF_sequence>,<ActivateOn>[/<ActivatedBy>],<Application>[,<AppArguments>[,MOH_Class]]
>> ;
>> ;  FeatureName   -> This is the name of the feature used in when setting
>> the
>> ;                   DYNAMIC_FEATURES variable to enable usage of this
>> feature.
>> ;  DTMF_sequence -> This is the key sequence used to activate this
>> feature.
>> ;  ActivateOn    -> This is the channel of the call that the application
>> will be executed
>> ;                   on. Valid values are "self" and "peer". "self" means
>> run the
>> ;                   application on the same channel that activated the
>> feature. "peer"
>> ;                   means run the application on the opposite channel from
>> the one that
>> ;                   has activated the feature.
>> ;  ActivatedBy   -> This is which channel is allowed to activate this
>> feature. Valid
>> ;                   values are "caller", "callee", and "both". "both" is
>> the default.
>> ;                   The "caller" is the channel that executed the Dial
>> application, while
>> ;                   the "callee" is the channel called by the Dial
>> application.
>> ;  Application   -> This is the application to execute.
>> ;  AppArguments  -> These are the arguments to be passed into the
>> application.
>> *;  MOH_Class     -> This is the music on hold class to play while the
>> idle
>> ;                   channel waits for the feature to complete. If left
>> blank,
>> ;                   no music will be played.*
>>
>>
>>
>> Então é só montar seu applicationmap e colocar a opção MOH_Class.   :D
>>
>>
>> Ats,
>> Rodrigo Lang.
>>
>>
>> Em 19 de junho de 2010 09:32, Daviramos Roussenq Fortunato <
>> daviramosrf em gmail.com> escreveu:
>>
>>> Bom dia Lista
>>>
>>>   Tenho o seguinte em minhas features:
>>>
>>>      minhafeatures => 13,self,AGI,agi.php
>>>
>>> O que preciso fazer é o seguinte:
>>>
>>>   Quando for pressionado numero 13, o ramal que pressionou fica na espera
>>> e o outro vai para uma URA, após a execução da URA a ligação volta a normal
>>> entre os dois, como proceder?
>>>
>>>   Dá pra fazer com um AGI ou consigo fazer com uma Macro? Fazer a URA
>>> funcionar para quem discou é fácil, mas preciso que seja para quem está na
>>> outra ponta.
>>>
>>> --
>>> Atenciosamente
>>> Daviramos Roussenq Fortunato
>>>
>>> _______________________________________________
>>> KHOMP: qualidade em placas de E1, GSM, FXS e FXO para Asterisk.
>>> - Hardware com alta disponibilidade de recursos e qualidade KHOMP
>>> - Suporte técnico local qualificado e gratuito
>>> Conheça a linha completa de produtos KHOMP em www.khomp.com.br
>>> _______________________________________________
>>> Temos tudo para seu projeto VoIP com Asterisk!
>>> Descontos especiais para assinantes da AsteriskBrasil.org.
>>> Registre-se e receba um cupom exclusivo de desconto!
>>> Acesse agora www.voipmania.com.br
>>> ______________________________________________
>>> Lista de discussões AsteriskBrasil.org
>>> AsteriskBrasil em listas.asteriskbrasil.org
>>> http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil
>>>
>>
>>
>> _______________________________________________
>> KHOMP: qualidade em placas de E1, GSM, FXS e FXO para Asterisk.
>> - Hardware com alta disponibilidade de recursos e qualidade KHOMP
>> - Suporte técnico local qualificado e gratuito
>> Conheça a linha completa de produtos KHOMP em www.khomp.com.br
>> _______________________________________________
>> Temos tudo para seu projeto VoIP com Asterisk!
>> Descontos especiais para assinantes da AsteriskBrasil.org.
>> Registre-se e receba um cupom exclusivo de desconto!
>> Acesse agora www.voipmania.com.br
>> ______________________________________________
>> Lista de discussões AsteriskBrasil.org
>> AsteriskBrasil em listas.asteriskbrasil.org
>> http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil
>>
>
>
>
> --
> Atenciosamente
> Daviramos Roussenq Fortunato
>
> _______________________________________________
> KHOMP: qualidade em placas de E1, GSM, FXS e FXO para Asterisk.
> - Hardware com alta disponibilidade de recursos e qualidade KHOMP
> - Suporte técnico local qualificado e gratuito
> Conheça a linha completa de produtos KHOMP em www.khomp.com.br
> _______________________________________________
> Temos tudo para seu projeto VoIP com Asterisk!
> Descontos especiais para assinantes da AsteriskBrasil.org.
> Registre-se e receba um cupom exclusivo de desconto!
> Acesse agora www.voipmania.com.br
> ______________________________________________
> Lista de discussões AsteriskBrasil.org
> AsteriskBrasil em listas.asteriskbrasil.org
> http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil
>
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: http://listas.asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20100622/5055a0b3/attachment.htm 


Mais detalhes sobre a lista de discussão AsteriskBrasil