Pular para o conteúdo
Odoo Menu
  • Entrar
  • Experimente grátis
  • Aplicativos
    Finanças
    • Financeiro
    • Faturamento
    • Despesas
    • Planilhas (BI)
    • Documentos
    • Assinar Documentos
    Vendas
    • CRM
    • Vendas
    • PDV Loja
    • PDV Restaurantes
    • Assinaturas
    • Locação
    Websites
    • Criador de Sites
    • e-Commerce
    • Blog
    • Fórum
    • Chat ao Vivo
    • e-Learning
    Cadeia de mantimentos
    • Inventário
    • Fabricação
    • PLM - Ciclo de Vida do Produto
    • Compras
    • Manutenção
    • Qualidade
    Recursos Humanos
    • Funcionários
    • Recrutamento
    • Folgas
    • Avaliações
    • Indicações
    • Frota
    Marketing
    • Redes Sociais
    • Marketing por E-mail
    • Marketing por SMS
    • Eventos
    • Automação de Marketing
    • Pesquisas
    Serviços
    • Projeto
    • Planilhas de Horas
    • Serviço de Campo
    • Central de Ajuda
    • Planejamento
    • Compromissos
    Produtividade
    • Mensagens
    • Aprovações
    • Internet das Coisas
    • VoIP
    • Conhecimento
    • WhatsApp
    Aplicativos de terceiros Odoo Studio Plataforma Odoo Cloud
  • Setores
    Varejo
    • Loja de livros
    • Loja de roupas
    • Loja de móveis
    • Mercearia
    • Loja de ferramentas
    • Loja de brinquedos
    Comida e hospitalidade
    • Bar e Pub
    • Restaurante
    • Fast Food
    • Hospedagem
    • Distribuidor de bebidas
    • Hotel
    Imóveis
    • Imobiliária
    • Escritório de arquitetura
    • Construção
    • Administração de propriedades
    • Jardinagem
    • Associação de proprietários de imóveis
    Consultoria
    • Escritório de Contabilidade
    • Parceiro Odoo
    • Agência de marketing
    • Escritório de advocacia
    • Aquisição de talentos
    • Auditoria e Certificação
    Fabricação
    • Têxtil
    • Metal
    • Móveis
    • Alimentação
    • Cervejaria
    • Presentes corporativos
    Saúde e Boa forma
    • Clube esportivo
    • Loja de óculos
    • Academia
    • Profissionais de bem-estar
    • Farmácia
    • Salão de cabeleireiro
    Comércio
    • Handyman
    • Hardware e Suporte de TI
    • Sistemas de energia solar
    • Sapataria
    • Serviços de limpeza
    • Serviços de climatização
    Outros
    • Organização sem fins lucrativos
    • Agência Ambiental
    • Aluguel de outdoors
    • Fotografia
    • Aluguel de bicicletas
    • Revendedor de software
    Navegar por todos os setores
  • Comunidade
    Aprenda
    • Tutoriais
    • Documentação
    • Certificações
    • Treinamento
    • Blog
    • Podcast
    Empodere a Educação
    • Programa de educação
    • Scale Up! Jogo de Negócios
    • Visite a Odoo
    Obtenha o Software
    • Baixar
    • Comparar edições
    • Releases
    Colaborar
    • Github
    • Fórum
    • Eventos
    • Traduções
    • Torne-se um parceiro
    • Serviços para parceiros
    • Cadastre seu escritório contábil
    Obtenha os serviços
    • Encontre um parceiro
    • Encontre um Contador
    • Conheça um consultor
    • Serviços de Implementação
    • Referências de Clientes
    • Suporte
    • Upgrades
    Github YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Faça uma demonstração
  • Preços
  • Ajuda

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Financeiro
  • Inventário
  • PoS
  • Projeto
  • MRP
All apps
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
odoo accounting v14 pos v15
Sobre este fórum
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
odoo accounting v14 pos v15
Sobre este fórum
Ajuda

Here is the error: py-Asterisk action failed: Extension does not exist

Inscrever

Seja notificado quando houver atividade nesta publicação

Esta pergunta foi sinalizada
asteriskodooV8Click2Dial
3 Respostas
14276 Visualizações
Avatar
Milan Thakkar

I had installed the Asterisk server in my local and installed all asterisk modules. When I press the 'Test connection to Asterisk' button in asterisk server record under Telephony menu under settings shows '

Connection Test Successfull!

Odoo can successfully login to the Asterisk Manager Interface.

Then I move to customer record and Dial a phone, It shows the warning

Error:
Click to dial with Asterisk failed.
Here is the error: 'py-Asterisk action failed: Extension does not exist.'             


Is anybody know the exact configuration of asterisk odoo connector

1
Avatar
Cancelar
Avatar
Kamil Gałdzicki
Melhor resposta

Hi, 

I had the same problem using our provider - the configuration that worked for me in extension is as follows: 

[provider-in]
exten => account_nb,1, Dial(SIP/101)                       ;

[provider-out]
exten => _XXX,1,Dial(SIP/${EXTEN}) ;
exten => _XXX.,1,Dial(SIP/${EXTEN}@account_nb)             ; 
exten => _+XX.,1,Dial(SIP/${EXTEN}@account_nb)             ; 
​

so this last extension _+XX. actually worked for us,

Best Regards

0
Avatar
Cancelar
Avatar
Tuxane
Melhor resposta

I don't agree on this. "From-internal"  is very likely the right context for originating calls .

If you compare with /etc/asterisk/extensions.conf it is clearly stated, that "from trunk" is for calls entering the dialplan from the outside world .

; from-trunk:
;
; Context is really just an aliax of from-pstn
;
[from-trunk]
include => from-pstn
;-------------------------------------------------------------------------------

;-------------------------------------------------------------------------------
; from-pstn:
;
; Entry context for calls from the outside world to hit FreePBX


Of course you need to make sure that the extension in the odoo users setting is the same internal extention number as the phone  to send the call to e.g. if the  odoo users Internal Number   is 160 , the extension 160 has to be the users internal desk phone number  (The phone which is supposed to ring after you click dial in Odoo)


The problem in newer versions of Asterisk ( from v12 on I guess) is that the AMI interface had been restricted and there a new security things in place which stop the CTD funtionality in Odoo from working like before.

For me the solution is to change the Asterisk Channel Type from SIP to LOCAL

 At least in freepbx thing started to work again without problems .

https://issues.asterisk.org/jira/browse/ASTERISK-22905

0
Avatar
Cancelar
Avatar
Pravitha
Melhor resposta

Hello Milan Thakkar,


Error:
Click to dial with Asterisk failed.
Here is the error: 'py-Asterisk action failed: Extension does not exist.'   

From the above error I think the problem is with the Dialplan Parameters  under settings-->Telephony--> Asterisk servers -->create a server --> Dialplan Parameters.

Under Dialplan parameters you can see Dialplan Context . You can enter 3 types of dialplan contexts.

1. from-internal : Originate an internal call

2. from-trunk  : Originate an external call via trunk

3. ext-local

From the above three I prefer you to try the "from-trunk" option in the dialplan context  and give Extension Priority =1 and then test it.



-1
Avatar
Cancelar
Está gostando da discussão? Não fique apenas lendo, participe!

Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!

Inscreva-se
Publicações relacionadas Respostas Visualizações Atividade
Click to dial with Asterisk failed.
asterisk odooV8 Click2Dial
Avatar
Avatar
Avatar
4
mai. 17
8244
Odoo V8 Click2Dial with Asterisk
asterisk odooV8 Click2Dial
Avatar
0
ago. 16
4637
Problem in the request from OpenERP to Asterisk. Here is the error message: [Errno 111] Connection refused
asterisk odooV8 Click2Dial
Avatar
Avatar
1
nov. 15
6112
Odoo Asterisk_Click2Dial Module related Issue
asterisk odooV8 Click2Dial
Avatar
0
ago. 24
4755
Installing Click2Dial Modul Failure
asterisk odooV8 Click2Dial
Avatar
0
mar. 15
4654
Comunidade
  • Tutoriais
  • Documentação
  • Fórum
Open Source
  • Baixar
  • Github
  • Runbot
  • Traduções
Serviços
  • Odoo.sh Hosting
  • Suporte
  • Upgrade
  • Desenvolvimentos personalizados
  • Educação
  • Encontre um Contador
  • Encontre um parceiro
  • Torne-se um parceiro
Sobre nós
  • Nossa empresa
  • Ativos da marca
  • Contato
  • Empregos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Legal • Privacidade
  • Segurança
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo é um conjunto de aplicativos de negócios em código aberto que cobre todas as necessidades de sua empresa: CRM, comércio eletrônico, contabilidade, estoque, ponto de venda, gerenciamento de projetos, etc.

A proposta de valor exclusiva Odoo é ser, ao mesmo tempo, muito fácil de usar e totalmente integrado.

Site feito com

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now