Asterisk Zentrale mit Aussenstellen: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
| Zeile 39: | Zeile 39: | ||
exten => _1XXX,1,Dial(SIP/${EXTEN},30,r) | exten => _1XXX,1,Dial(SIP/${EXTEN},30,r) | ||
exten => _2XXX,1,Dial(SIP/${EXTEN}@idefix) | exten => _2XXX,1,Dial(SIP/${EXTEN}@idefix) | ||
| + | </pre> | ||
| + | =idefix= | ||
| + | *cat sip.conf | ||
| + | <pre> | ||
| + | ;idefix sip.conf | ||
| + | [general] | ||
| + | register => idefix:mysupersecret@asterix.lab.intra/asterix | ||
| + | |||
| + | [asterix] | ||
| + | ;type=friend | ||
| + | type=peer | ||
| + | insecure=port,invite | ||
| + | context=default | ||
| + | host=dynamic | ||
| + | disallow=all | ||
| + | allow=ulaw | ||
| + | allow=gsm | ||
| + | secret=mysupersecret | ||
| + | |||
| + | [2000] | ||
| + | type=friend | ||
| + | context=default | ||
| + | disallow=all | ||
| + | allow=ulaw | ||
| + | allow=gsm | ||
| + | host=dynamic | ||
| + | secret=pass1 | ||
| + | <pre> | ||
| + | |||
| + | *cat extensions.conf | ||
| + | <pre> | ||
| + | ;idefix extention.conf | ||
| + | [default] | ||
| + | exten => _2XXX,1,Dial(SIP/${EXTEN},30,r) | ||
| + | exten => _1XXX,1,Dial(SIP/${EXTEN}@asterix,30,r) | ||
</pre> | </pre> | ||
Version vom 19. Juni 2023, 16:32 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 ;ontext=default type=peer insecure=port,invite host=dynamic disallow=all allow=ulaw allow=gsm secret=mysupersecret [1000] type=friend context=default disallow=all allow=ulaw allow=gsm host=dynamic secret=pass1
- cat extentions.conf
cat extensions.conf
;asterix extention.conf
[default]
exten => _1XXX,1,Dial(SIP/${EXTEN},30,r)
exten => _2XXX,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=dynamic
disallow=all
allow=ulaw
allow=gsm
secret=mysupersecret
[2000]
type=friend
context=default
disallow=all
allow=ulaw
allow=gsm
host=dynamic
secret=pass1
<pre>
*cat extensions.conf
<pre>
;idefix extention.conf
[default]
exten => _2XXX,1,Dial(SIP/${EXTEN},30,r)
exten => _1XXX,1,Dial(SIP/${EXTEN}@asterix,30,r)
