mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-20 08:40:16 +00:00
make pick-up extension configurable. update ChangeLog
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3843 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
5
CHANGES
5
CHANGES
@@ -1,3 +1,8 @@
|
|||||||
|
-- Fix inband PRI indication detection
|
||||||
|
-- Fix for MGCP - always request digits if no RTP stream
|
||||||
|
-- Fixed seg fault for ast_control_streamfile
|
||||||
|
-- Added AGI over TCP support
|
||||||
|
-- Make pick-up extension configurable via features.conf
|
||||||
Asterisk 1.0.0
|
Asterisk 1.0.0
|
||||||
-- Use Q.931 standard cause codes for asterisk cause codes
|
-- Use Q.931 standard cause codes for asterisk cause codes
|
||||||
-- Bug fixes from the bug tracker
|
-- Bug fixes from the bug tracker
|
||||||
|
|||||||
@@ -12,3 +12,4 @@ context => parkedcalls ; Which context parked calls are in
|
|||||||
;courtesytone = beep ; Sound file to play to the parked caller
|
;courtesytone = beep ; Sound file to play to the parked caller
|
||||||
; when someone dials a parked call
|
; when someone dials a parked call
|
||||||
;adsipark = yes ; if you want ADSI parking announcements
|
;adsipark = yes ; if you want ADSI parking announcements
|
||||||
|
;pickupexten = *8 ; Configure the pickup extension. Default is *8
|
||||||
|
|||||||
@@ -911,6 +911,8 @@ int load_module(void)
|
|||||||
transferdigittimeout = transferdigittimeout * 1000;
|
transferdigittimeout = transferdigittimeout * 1000;
|
||||||
} else if (!strcasecmp(var->name, "courtesytone")) {
|
} else if (!strcasecmp(var->name, "courtesytone")) {
|
||||||
strncpy(courtesytone, var->value, sizeof(courtesytone) - 1);
|
strncpy(courtesytone, var->value, sizeof(courtesytone) - 1);
|
||||||
|
} else if (!strcasecmp(var->name, "pickupexten")) {
|
||||||
|
strncpy(pickup_ext, var->value, sizeof(pickup_ext) - 1);
|
||||||
}
|
}
|
||||||
var = var->next;
|
var = var->next;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user