EasyManua.ls Logo

SunComm SC-385 - extensions.conf Configuration for Asterisk

SunComm SC-385
43 pages
Print Icon
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
-41-
type=friend
username=103
fromuser=103
regexten=103 ; When they register, create extension 401
secret=xxxxxxx ; Asterisk extension password
context=gateway ; Incoming calls context
dtmfmode=inband ; Very important for DISA to work
call-limit=1 ; Limit to 1 call max
callerid=GSM Gateway <103>
host=dynamic
nat=no ; Gateway is not behind a NAT router
canreinvite=no ; Typically set to NO if behind NAT
insecure=very
qualify=yes
disallow=all
allow=ulaw ; prefered codec for DTMF detection
allow=alaw
20.6 extensions.conf
; ******* GSM Gateway incoming calls **********
[gateway]
exten => _103,1,Answer()
exten => _103,2,DigitTimeout(3) ; give enough time to do second stage
dialing
exten => _103,3,ResponseTimeout(5)
exten => _103,4,DISA(no-password|outgoing) ; here 'outgoing' is the
normal context to deal with the dial plan
[outgoing]
...
; example of LAN to GSM call
; call the SC-385 sim card mail box thru GSM
exten => _888,1,SetCallerID("xxxxxxxxxx")
exten => _888,2,Dial(SIP/${EXTEN}@103,60,r)
exten => _888,3,Hangup()

Related product manuals