mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
use set_callerid to update callerid with prefix
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24177 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1508,9 +1508,7 @@ static int read_config(struct chan_list *ch, int orig) {
|
||||
ast_copy_string(ast->exten, bc->dad, sizeof(ast->exten));
|
||||
}
|
||||
|
||||
if ( !ast->cid.cid_num) {
|
||||
ast_set_callerid(ast, bc->oad, NULL, bc->oad);
|
||||
}
|
||||
ast_set_callerid(ast, bc->oad, NULL, bc->oad);
|
||||
|
||||
if ( !ast_strlen_zero(bc->rad) ) {
|
||||
if (ast->cid.cid_rdnis)
|
||||
|
Reference in New Issue
Block a user