Asterisk Zentrale mit Aussenstellen: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(→idefix) |
|||
| Zeile 1: | Zeile 1: | ||
| − | =Versuchsaufbau= | + | = Versuchsaufbau = |
| − | *Ziel ist es das die PBX asterisk den Pseudo Provider stellt | + | * Ziel ist es das die PBX asterisk den Pseudo Provider stellt |
| − | *Über ihn sollen alle nicht lokalen Gespräche laufen. | + | * Über ihn sollen alle nicht lokalen Gespräche laufen. |
| − | *Er hat die Vorwahl 00 | + | * Er hat die Vorwahl 00 |
| − | *Die anderen die Vorwahl 01 bis 12 | + | * Die anderen die Vorwahl 01 bis 12 |
| + | |||
{{#drawio:asterisk-zentrale-1}} | {{#drawio:asterisk-zentrale-1}} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | = asterix = | |
| − | + | ||
| − | + | * '''cat sip.conf''' | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | [ | + | ;asterix sip.conf |
| − | type=friend | + | [general] |
| − | context=default | + | |
| − | disallow=all | + | [idefix] |
| − | allow=ulaw | + | type=friend |
| − | allow=gsm | + | context=default |
| − | + | ;type=peer | |
| − | + | insecure=port,invite | |
| − | + | host=dynamic | |
| − | + | disallow=all | |
| − | + | allow=ulaw | |
| − | + | allow=gsm | |
| − | + | secret=mysupersecret | |
| − | + | qualify=yes | |
| − | + | ||
| − | + | [0001] | |
| + | type=friend | ||
| + | context=default | ||
| + | disallow=all | ||
| + | allow=ulaw | ||
| + | allow=gsm | ||
| + | host=dynamic | ||
| + | secret=pass1 | ||
| − | + | * '''cat extentions.conf''' | |
| − | + | ;asterix extention.conf | |
| − | + | [default] | |
| − | + | exten => _00XX,1,Dial(SIP/${EXTEN},30,r) | |
| − | + | exten => _01XX,1,Dial(SIP/${EXTEN}@idefix) | |
| − | [ | ||
| − | |||
| − | + | = idefix = | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | * '''cat sip.conf''' | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | ;idefix sip.conf | |
| + | [general] | ||
| + | register => idefix:mysupersecret@asterix.lab.intra/asterix | ||
| + | |||
| + | [asterix] | ||
| + | ;type=friend | ||
| + | type=peer | ||
| + | insecure=port,invite | ||
| + | context=default | ||
| + | host=asterix.lab.intra | ||
| + | disallow=all | ||
| + | allow=ulaw | ||
| + | allow=gsm | ||
| + | secret=mysupersecret | ||
| + | |||
| + | [0101] | ||
| + | type=friend | ||
| + | context=default | ||
| + | disallow=all | ||
| + | allow=ulaw | ||
| + | allow=gsm | ||
| + | host=dynamic | ||
| + | secret=pass1 | ||
| − | *cat extensions.conf | + | * '''cat extensions.conf''' |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | ;idefix extention.conf | |
| + | [default] | ||
| + | exten => _0101,1,Dial(SIP/${EXTEN},30,r) | ||
| + | exten => _0XXX,1,Dial(SIP/${EXTEN}@asterix,30,r) | ||
Version vom 20. Juni 2023, 06:52 Uhr
Versuchsaufbau
- Ziel ist es das die PBX asterisk den Pseudo Provider stellt
- Über ihn sollen alle nicht lokalen Gespräche laufen.
- Er hat die Vorwahl 00
- Die anderen die Vorwahl 01 bis 12
asterix
- cat sip.conf
;asterix sip.conf [general] [idefix] type=friend context=default ;type=peer insecure=port,invite host=dynamic disallow=all allow=ulaw allow=gsm secret=mysupersecret qualify=yes [0001] type=friend context=default disallow=all allow=ulaw allow=gsm host=dynamic secret=pass1
- cat extentions.conf
;asterix extention.conf
[default]
exten => _00XX,1,Dial(SIP/${EXTEN},30,r)
exten => _01XX,1,Dial(SIP/${EXTEN}@idefix)
idefix
- cat sip.conf
;idefix sip.conf [general] register => idefix:mysupersecret@asterix.lab.intra/asterix [asterix] ;type=friend type=peer insecure=port,invite context=default host=asterix.lab.intra disallow=all allow=ulaw allow=gsm secret=mysupersecret [0101] type=friend context=default disallow=all allow=ulaw allow=gsm host=dynamic secret=pass1
- cat extensions.conf
;idefix extention.conf
[default]
exten => _0101,1,Dial(SIP/${EXTEN},30,r)
exten => _0XXX,1,Dial(SIP/${EXTEN}@asterix,30,r)
