Bonjour Sébastien
C'est bien ce que j'avais essayé de faire, mais sans succès, l'extension **1244**500 n'est pas reconnue :
Code:
NOTICE[3653][C-00000007]: chan_sip.c:25704 handle_request_invite: Call from '65vpyg' (192.168.1.223:55430) to extension '**1244**500' rejected because extension not found in context 'internal-entite-1'
Voici comment j'ai procédé :
1. Configuration IPBX > Fichiers de configuration > Fichier : RenvoiGeneral.conf (j'ai enlevé [CheckRenv] dans celui-ci !)
2. Configuration IPBX > Contextes > Nouveau : renvoigeneral
Nom : renvoigeneral
Nom affiché : RenvoiGeneral
Entité : TEST
Type de contexte : Interne
Include des contextes : Appels internes (internal-entité-1)
J'ai même essayé de rajouter le contexte "renvoigeneral" dans "internal-entite-1), le problème reste identique...
Le CLI du dialplan show :
Code:
voip2*CLI> dialplan show renvoigeneral
[ Context 'renvoigeneral' created by 'pbx_config' ]
'i' => 1. Playback(no-user-find) [pbx_config]
2. Hangup() [pbx_config]
't' => 1. Hangup() [pbx_config]
Include => 'xivo-features' [pbx_config]
Include => 'xivo-extrafeatures' [pbx_config]
Include => 'parkedcalls' [pbx_config]
Include => 'internal-entite-1' [pbx_config]
-= 2 extensions (3 priorities) in 1 context. =-
voip2*CLI> dialplan show RenvoiGeneral
[ Context 'RenvoiGeneral' created by 'pbx_config' ]
'**1244**500' => hint: Custom:lampRenvGen [pbx_config]
1. Answer() [pbx_config]
2. GotoIf($[${DB(Renvoi/General)} = 1]?Actif:PasActif) [pbx_config]
3. Hangup() [pbx_config]
[Actif] 4. Set(DB(Renvoi/General)=0) [pbx_config]
5. Set(DEVSTATE(Custom:lampRenvGen)=NOT _INUSE) [pbx_config]
6. Playback(RenvoiDesactive) [pbx_config]
7. Hangup() [pbx_config]
[PasActif] 8. Set(DB(Renvoi/General)=1) [pbx_config]
9. Set(DEVSTATE(Custom:lampRenvGen)=BUS Y) [pbx_config]
10. Playback(RenvoiActive) [pbx_config]
11. Hangup() [pbx_config]
'_**1244**XXXXXXXXXX' => 1. NoOp(Enregistrement Numero) [pbx_config]
2. Set(DB(Renvoi/Extension)=${EXTEN:8}) [pbx_config]
3. Hangup() [pbx_config]
-= 2 extensions (15 priorities) in 1 context. =-
OU je me plante dans la configuration ?