X-Git-Url: http://git.auf.org/?p=asterisk-config-auf.git;a=blobdiff_plain;f=etc-asterisk%2Fsip.conf;h=9e062a5eeeec17affc54f393a7e32a6ae71e53e0;hp=16f8a6b91aaaae216b77ca1e6f34121225ef80e4;hb=f26dc05fa7ec546a7970a96a5e966782e4857b00;hpb=adb2451a45cc8461c0e26516d94db891f368fbcf diff --git a/etc-asterisk/sip.conf b/etc-asterisk/sip.conf index 16f8a6b..9e062a5 100644 --- a/etc-asterisk/sip.conf +++ b/etc-asterisk/sip.conf @@ -209,15 +209,15 @@ rtpkeepalive=60 ; Send keepalives in the RTP stream to keep NAT open ; Note: Subscriptions does not work if you have a realtime dialplan and use the ; realtime switch. ; -;allowsubscribe=no ; Disable support for subscriptions. (Default is yes) -;subscribecontext = default ; Set a specific context for SUBSCRIBE requests +allowsubscribe = yes ; Disable support for subscriptions. (Default is yes) +subscribecontext = AUF-local ; Set a specific context for SUBSCRIBE requests ; Useful to limit subscriptions to local extensions ; Settable per peer/user also -;notifyringing = yes ; Notify subscriptions on RINGING state (default: no) -;notifyhold = yes ; Notify subscriptions on HOLD state (default: no) +notifyringing = yes ; Notify subscriptions on RINGING state (default: no) +notifyhold = yes ; Notify subscriptions on HOLD state (default: no) ; Turning on notifyringing and notifyhold will add a lot ; more database transactions if you are using realtime. -;limitonpeers = yes ; Apply call limits on peers only. This will improve +limitonpeers = yes ; Apply call limits on peers only. This will improve ; status notification when you are using type=friend ; Inbound calls, that really apply to the user part ; of a friend will now be added to and compared with @@ -592,7 +592,19 @@ allow=h261 dtmfmode=info ; -; AUF +; Sortie vers SIPBroker http://www.sipbroker.com +; + +[sipbroker-out] +type=peer +fromuser=voip +fromdomain=auf.org +host=sipbroker.com +port=5060 +canreinvite=yes + +; +; ; ; Comptes pour postes clients locaux SIP