mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
Do not dial digits when none were specified for sig_pri based calls
(closes issue #15524) Reported by: elguero Patches: pri-sig-no-dest-set.patch uploaded by elguero (license 37) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@207950 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1789,10 +1789,11 @@ int sig_pri_call(struct sig_pri_chan *p, struct ast_channel *ast, char *rdest, i
|
||||
p->outgoing = 1;
|
||||
|
||||
c = strchr(dest, '/');
|
||||
if (c)
|
||||
if (c) {
|
||||
c++;
|
||||
else
|
||||
c = dest;
|
||||
} else {
|
||||
c = "";
|
||||
}
|
||||
|
||||
l = NULL;
|
||||
n = NULL;
|
||||
|
Reference in New Issue
Block a user