From 96292233603c0e0186edd5ec4e8e116e22a32b68 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 8 Dec 2020 19:21:13 +0000 Subject: [PATCH] inbound calls accepted by sip --- sip.conf | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/sip.conf b/sip.conf index 7971b64..7488415 100644 --- a/sip.conf +++ b/sip.conf @@ -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