Affichage des résultats 1 à 10 sur 12

Discussion: Attribuer le numéro de ligne à une FXO pour la gérer en appel entrant SDA

Mode arborescent

Message précédent Message précédent   Message suivant Message suivant
  1. #4
    Membre Junior
    Date d'inscription
    novembre 2015
    Messages
    8
    Downloads
    0
    Uploads
    0
    root@xivo:~# cat /etc/asterisk/extensions.conf
    Code:
    #include pbxconfig.conf
    #include /etc/xivo/asterisk/xivo_globals.conf
    
    [from-fxo-orange]
    exten=s,1,Goto(default,101,1)
    exten=s,2,Hangup()
    
    [from-fxo-sfr]
    
    exten=>s,1,Dial(101,30)
    exten=s,2,Hangup()
    
    [from-fxo-ovha]
    exten=>s,1,Dial(101,30)
    exten=s,2,Hangup()
    
    [from-fxo-ovhb]
    exten=s,1,Goto(default,121,1)
    exten=s,2,Hangup()
    
    
    
    [xivo-callbackdisa]
    exten = s,1,DISA(no-password,${XIVO_DISACONTEXT})
    same  =   n,Hangup()
    
    ; Forged contexts and macros are included here.
    #exec /usr/bin/xivo-confgen asterisk/extensions.conf
    
    ; Various subroutines.
    #include extensions_extra.d/*
    #include /usr/share/xivo-config/dialplan/asterisk/*

    root@xivo:~# cat /etc/asterisk/chan_dahdi.conf
    Code:
    [channels]
    callerid = asreceived
     
    echocancel = 1
    hidecallerid = 0
    internationalprefix = 00
    language = fr_FR
    nationalprefix = 0
    pridialplan = unknown
    priindication = outofband
    prilocaldialplan = dynamic
    relaxdtmf = 1
    restrictcid = 0
    threewaycalling = 1
    transfer = 1
    usecallerid = 1
    usecallingpres = 1
    
    #include dahdi-channels.conf
    ;General options
    usecallerid = yes
    hidecallerid = no
    callwaiting = yes
    threewaycalling = yes
    transfer = yes
    echocancel = yes
    echocancelwhenbridged = yes
    rxgain = 0.0
    txgain = 0.0
    
    ;FXO Modules
    group = 1
    echocancel = yes
    signalling = fxs_ks
    context = from-fxo-orange
    channel = 1
    
    group = 1
    echocancel = yes
    signalling = fxs_ks
    context = from-fxo-sfr
    channel = 2  
    
    group = 1
    echocancel = yes
    signalling = fxs_ks
    context = from-fxo-ovha
    channel = 3  
    
    group = 1
    echocancel = yes
    signalling = fxs_ks
    context = from-fxo-ovhb
    channel = 4  
    
    
    
    ;FXS Modules
    group = 2
    signalling = fxo_ks
    context = default
    channel = 5-8
    root@xivo:~# cat /etc/asterisk/dahdi-channels.conf
    Code:
    ; Autogenerated by /usr/sbin/dahdi_genconf on Fri Nov 27 14:36:43 2015
    ; If you edit this file and execute /usr/sbin/dahdi_genconf again,
    ; your manual changes will be LOST.
    ; Dahdi Channels Configurations (chan_dahdi.conf)
    ;
    ; This is not intended to be a complete chan_dahdi.conf. Rather, it is intended
    ; to be #include-d by /etc/chan_dahdi.conf that will include the global settings
    ;
    
    ; Span 1: WCTDM/0 "Wildcard AEX800" (MASTER) 
    ;;; line="1 WCTDM/0/0 FXSKS  (In use)"
    signalling=fxs_ks
    callerid=asreceived
    group=0
    context=from-fxo-orange
    channel => 1
    callerid=
    group=
    context=default
    
    ;;; line="2 WCTDM/0/1 FXSKS  (In use)"
    signalling=fxs_ks
    callerid=asreceived
    group=0
    context=from-fxo-sfr
    channel => 2
    callerid=
    group=
    context=default
    
    ;;; line="3 WCTDM/0/2 FXSKS  (In use)"
    signalling=fxs_ks
    callerid=asreceived
    group=0
    context=from-fxo-ovha
    channel => 3
    callerid=
    group=
    context=default
    
    ;;; line="4 WCTDM/0/3 FXSKS  (In use)"
    signalling=fxs_ks
    callerid=asreceived
    group=0
    context=from-fxo-ovhb
    channel => 4
    ;callerid=
    ;group=
    context=default
    
    ;;; line="5 WCTDM/0/4 FXOKS  (In use)"
    signalling=fxo_ks
    callerid="Channel 5" <111>
    mailbox=4005
    group=5
    context=default
    channel => 5
    callerid=
    mailbox=
    group=
    context=default
    
    ;;; line="6 WCTDM/0/5 FXOKS  (In use)"
    signalling=fxo_ks
    callerid="Channel 6" <112>
    mailbox=4006
    group=5
    context=default
    channel => 6
    callerid=
    mailbox=
    group=
    context=default
    
    ;;; line="7 WCTDM/0/6 FXOKS  (In use)"
    signalling=fxo_ks
    callerid="Channel 7" <113>
    mailbox=4007
    group=5
    context=default
    channel => 7
    callerid=
    mailbox=
    group=
    context=default
    
    ;;; line="8 WCTDM/0/7 FXOKS  (In use)"
    signalling=fxo_ks
    callerid="Channel 8" <114>
    mailbox=4008
    group=5
    context=default
    channel => 8
    callerid=
    mailbox=
    group=
    context=default
    A force de chercher et de faire des essais, ça marchouille plus ou moins, mais je suppose qu'il y a des choses en doublons qui se mordent la queue et mettent le bordel.

    Est ce que tout cela est censé se faire dans le gui directement ?
    Cordialement.
    Est-ce le bon choix de multiplier les contextes ?
    Le but a terme est d'arriver sur des IVR Jour différents des IVR Nuit et week-end. Est-ce faisable hors gui puisque les horaire sont gérés par elle ?
    Dernière modification par Dav57 ; 09/12/2015 à 15h17.

Règles de messages

  • Vous ne pouvez pas créer de nouvelles discussions
  • Vous ne pouvez pas envoyer des réponses
  • Vous ne pouvez pas envoyer des pièces jointes
  • Vous ne pouvez pas modifier vos messages
  •