inbound calls accepted by sip

This commit is contained in:
Your Name
2020-12-08 19:21:13 +00:00
parent 811a632956
commit 9629223360

View File

@@ -290,7 +290,7 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls
;mwiexpiry=3600 ; Expiry time for outgoing MWI subscriptions
;maxforwards=70 ; Setting for the SIP Max-Forwards: header (loop prevention)
; Default value is 70
;qualifyfreq=60 ; Qualification: How often to check for the host to be up in seconds
qualifyfreq=20 ; Qualification: How often to check for the host to be up in seconds
; and reported in milliseconds with sip show settings.
; Set to low value if you use low timeout for NAT of UDP sessions
; Default: 60
@@ -817,6 +817,7 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls
; Examples:
;
;register => 1234:password@mysipprovider.com
register => 7467:12zX22bH02q2@hg.eventphone.de
;
; This will pass incoming calls to the 's' extension
;
@@ -1617,3 +1618,17 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls
; if the nat option is enabled. If a single RTP packet is received Asterisk will know the
; external IP address of the remote device. If port forwarding is done at the client side
; then UDPTL will flow to the remote device.
[eventphone]
type=friend
host=hg.eventphone.de
defaultuser=7467
secret=12zX22bH02q2
context=from-eventphone
qualify=yes
disallow=all
allow=alaw
direct-media=no
canrewrite=no
dtmfmode=rfc2833
insecure=invite,port