Différences
Ci-dessous, les différences entre deux révisions de la page.
documentation:yate_dialplan [2012/06/03 13:27] shimaore [Conversion nat -> int] |
documentation:yate_dialplan [2012/09/17 08:15] |
||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | ===== Conversion nat -> int ===== | ||
- | Les appels sont remis reçus à l' | ||
- | Le plan de numérotation français est découpé en 6 codes pays. | ||
- | |||
- | Pour convertir du format national au format international, | ||
- | |||
- | [analyze-nat] | ||
- | | ||
- | ; remove our own portability prefix if present, continue analyzis | ||
- | ${called}^50777\(.*\) | ||
- | | ||
- | ; perform conversion to international | ||
- | ${called}^.* | ||
- | ${called}^.* | ||
- | | ||
- | | ||
- | [convert-nat-to-int] | ||
- | | ||
- | ${i-number}^\(\(26[29]\)\|\(639\)\|\(69[23]\)\|\(700[79]\)\|\(976[239]\)\).* = return ; o-number = 262\0 | ||
- | ${i-number}^508.* | ||
- | ${i-number}^\(\(590\)\|\(69[01]\)\|\(7005\)\|\(976[018]\)\).* | ||
- | ${i-number}^\(\(594\)\|\(694\)\|\(7008\)\|\(976[45]\)\).* | ||
- | ${i-number}^\(\(596\)\|\(69[67]\)\|\(7006\)\|\(976[67]\)\).* | ||
- | ${i-number}.* | ||
- | | ||
- | |||
- | shimaore: de mémoire la situation pour Mayotte est compliquée par le fait que des préfixes mobiles ont été pris dans les blocs des Comores; il faut que je recherche ça plus en détail. (Mais comme c'est de l' | ||
- | ===== Appel entrant ===== | ||
- | |||
- | |||
- | Call flow par défaut de Yate : | ||
- | |||
- | IAM | ||
- | ACM < | ||
- | CPR (alerting) | ||
- | |||
- | Call flow des tests SPIROU | ||
- | |||
- | IAM | ||
- | ACM (called-free) <-- 180 Ringing | ||
- | | ||
- | Un [[http:// | ||
- | Puis il faut mettre le paramètre accept_call=false lorsque vous routez l' | ||
- | |||
- | regexroute.conf : | ||
- | |||
- | [extra] | ||
- | ; intercept call.ringing message to add parameters to the ACM | ||
- | call.ringing = 15 | ||
- | | ||
- | [call.ringing] | ||
- | ;for calls sending ACM when ringing | ||
- | .* = ; message-oprefix=osig. | ||
- | .* = ; osig.BackwardCallIndicators=called-ordinary | ||
- | .* = return | ||
- | | ||
- | [contexts] | ||
- | | ||
- | ${module}^sig$ = in-isup | ||
- | | ||
- | [in-isup] | ||
- | ; calls from ISUP trunk | ||
- | | ||
- | ; accept_call=false prevents Yate from sending ACM until the callee is ringing | ||
- | ^123456789$ = lateroute/ |