Difference between revisions of "User talk:Jonas Oestman/Howto/Asterisk"
Jump to navigation
Jump to search
(working sip config, i think) |
|||
Line 35: | Line 35: | ||
insecure=very | insecure=very | ||
allow=all | allow=all | ||
</pre> | |||
'''extensions.conf''' | |||
<pre> | |||
[general] | |||
static=yes | |||
writeprotect=no | |||
autofallthrough=yes | |||
clearglobalvars=no | |||
priorityjumping=no | |||
CONSOLE=Console/dsp | |||
[globals] | |||
CONSOLE=Console/dsp ; Console interface for demo | |||
IAXINFO=guest ; IAXtel username/password | |||
TRUNK=Zap/g2 ; Trunk interface | |||
TRUNKMSD=1 ; MSD digits to strip (usually 1 | |||
[incomming] | |||
exten => s,1,Dial(SIP/hardphone) | |||
[outgoing] | |||
exten => _X.,1,Dial(SIP/${EXTEN}@RixTelecom) | |||
</pre> | </pre> |
Revision as of 22:39, 14 May 2010
bubba1 sarge etc/asterisk/sip.conf
[general] context=incomming bindport=5060 bindaddr=0.0.0.0 ;srvlookup=yes realm=PUTSOMETHINGHERE.org ;realm=asterisk externhost=UTSOMETHINGHERE.org localnet=192.168.0.0/255.255.254.0 register => 0123456789:PUTSOMETHINGHERE@sipserver.alltele.se [gahron] type=friend secret=hmm context=internal host=dynamic Callerid=User Name qualify=3000 [RixTelecom] type=peer fromuser=0123456789 username=0123456789 authname=0123456789 authuser=0123456789 secret=PUTSOMETHINGHERE password=PUTSOMETHINGHERE host=int.sipserver.alltele.se fromdomain=cx-cust-shg02.rixtelecom.se insecure=very allow=all
extensions.conf
[general] static=yes writeprotect=no autofallthrough=yes clearglobalvars=no priorityjumping=no CONSOLE=Console/dsp [globals] CONSOLE=Console/dsp ; Console interface for demo IAXINFO=guest ; IAXtel username/password TRUNK=Zap/g2 ; Trunk interface TRUNKMSD=1 ; MSD digits to strip (usually 1 [incomming] exten => s,1,Dial(SIP/hardphone) [outgoing] exten => _X.,1,Dial(SIP/${EXTEN}@RixTelecom)