]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
automerge commit
authorAutomerge script <automerge@asterisk.org>
Tue, 21 Mar 2006 19:06:07 +0000 (19:06 +0000)
committerAutomerge script <automerge@asterisk.org>
Tue, 21 Mar 2006 19:06:07 +0000 (19:06 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2-netsec@13999 65c4cc65-6c06-0410-ace0-fbb531ad65f3

configs/features.conf.sample
res/res_features.c

index 346d6519289b7f7f9421615ded0dc72e9be614c9..9fb94ff18d89934609b23c346754a5a87fa2f315 100644 (file)
@@ -3,7 +3,7 @@
 ;
 
 [general]
-parkext => 700                 ; What ext. to dial to park
+parkext => 700                 ; What extension to dial to park
 parkpos => 701-720             ; What extensions to park calls on
 context => parkedcalls         ; Which context parked calls are in
 ;parkingtime => 45             ; Number of seconds a call can be parked for 
@@ -27,6 +27,11 @@ context => parkedcalls               ; Which context parked calls are in
 ;atxfer => *2                  ; Attended transfer
 
 [applicationmap]
+; Note that the DYNAMIC_FEATURES channel variable must be set to use the features
+; defined here.  The value of DYNAMIC_FEATURES should be the names of the features
+; to allow the channel to use separated by '#'.  For example:
+;    Set(DYNAMIC_FEATURES=myfeature1#myfeature2#myfeature3)
+;
 ;testfeature => #9,callee,Playback,tt-monkeys  ;Play tt-monkeys to 
                                                ;callee if #9 was pressed
 
index bf23129ae41cfd4d37ad781cc59de792cc409289..bf248b5f44f9cfe5b5025e4bb82f47ad5ab79a3e 100644 (file)
@@ -362,7 +362,7 @@ int ast_park_call(struct ast_channel *chan, struct ast_channel *peer, int timeou
                "Timeout: %ld\r\n"
                "CallerID: %s\r\n"
                "CallerIDName: %s\r\n"
-               ,pu->parkingnum, pu->chan->name, peer->name
+               ,pu->parkingnum, pu->chan->name, peer ? peer->name : ""
                ,(long)pu->start.tv_sec + (long)(pu->parkingtime/1000) - (long)time(NULL)
                ,(pu->chan->cid.cid_num ? pu->chan->cid.cid_num : "<unknown>")
                ,(pu->chan->cid.cid_name ? pu->chan->cid.cid_name : "<unknown>")